aboutsummaryrefslogtreecommitdiffstats
path: root/lib/misc.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2007-02-18 17:48:04 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2007-02-18 17:48:04 +0000
commit0fd8559c4a6ad84ad0852e07c4ba2e50b2fdf0ad (patch)
tree6a1c98dae9b34dc4709274067d3bc7977d43ad32 /lib/misc.h
parent8de63c3fdfb532e85f7d93778e63032f7c84b631 (diff)
parentc7d0f415e0bed09decce7a0503dce2274c9d94d9 (diff)
Merging new Jabber module. See the massive changelog for all the cool
improvements. :-)
Diffstat (limited to 'lib/misc.h')
-rw-r--r--lib/misc.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/misc.h b/lib/misc.h
index b021e642..55dabfc4 100644
--- a/lib/misc.h
+++ b/lib/misc.h
@@ -29,6 +29,14 @@
#include <gmodule.h>
#include <time.h>
+struct ns_srv_reply
+{
+ int prio;
+ int weight;
+ int port;
+ char name[];
+};
+
G_MODULE_EXPORT void strip_linefeed( gchar *text );
G_MODULE_EXPORT char *add_cr( char *text );
G_MODULE_EXPORT char *strip_newlines(char *source);
@@ -53,4 +61,6 @@ G_MODULE_EXPORT void random_bytes( unsigned char *buf, int count );
G_MODULE_EXPORT int is_bool( char *value );
G_MODULE_EXPORT int bool2int( char *value );
+G_MODULE_EXPORT struct ns_srv_reply *srv_lookup( char *service, char *protocol, char *domain );
+
#endif