summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tpsip/util.c7
-rw-r--r--tpsip/util.h2
2 files changed, 9 insertions, 0 deletions
diff --git a/tpsip/util.c b/tpsip/util.c
index ee7642c..0072fac 100644
--- a/tpsip/util.c
+++ b/tpsip/util.c
@@ -18,10 +18,17 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "config.h"
+
#include "util.h"
#include <string.h>
+gchar const *
+tpsip_version_string (void)
+{
+ return "Telepathy-SofiaSIP/" TELEPATHY_SIP_VERSION;
+}
static const guchar escape_table[256] =
{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1,
diff --git a/tpsip/util.h b/tpsip/util.h
index 10960e2..135caab 100644
--- a/tpsip/util.h
+++ b/tpsip/util.h
@@ -31,6 +31,8 @@ gchar * tpsip_unquote_string (const gchar *src, gssize len);
void tpsip_string_append_quoted (GString *buf, const gchar *text);
+gchar const *tpsip_version_string ();
+
G_END_DECLS
#endif /* !TPSIP_UTIL_H_ */