aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/srv.h
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-06-12 22:14:03 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-06-12 22:14:03 +0000
commit4e2c1d74ecc1852eeb081095bb875fd20ac7b161 (patch)
tree89ffdc901f8078451e4078c82195d1b44d623cef /include/asterisk/srv.h
parentd73374e107de6c78db4b2b9bdbbad3ed6d2fd484 (diff)
Add missing srv.c and srv.h files
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1086 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/srv.h')
-rwxr-xr-xinclude/asterisk/srv.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/asterisk/srv.h b/include/asterisk/srv.h
new file mode 100755
index 000000000..df8a411c5
--- /dev/null
+++ b/include/asterisk/srv.h
@@ -0,0 +1,20 @@
+/*
+ * Asterisk -- A telephony toolkit for Linux.
+ *
+ * ENUM support
+ *
+ * Copyright (C) 1999, Mark Spencer
+ *
+ * Mark Spencer <markster@linux-support.net>
+ *
+ * This program is free software, distributed under the terms of
+ * the GNU General Public License
+ */
+
+#ifndef _ASTERISK_SRV_H
+#define _ASTERISK_SRV_H
+#include <asterisk/channel.h>
+/* Lookup entry in SRV records Returns 1 if found, 0 if not found, -1 on hangup */
+extern int ast_get_srv(struct ast_channel *chan, char *host, int hostlen, int *port, const char *service);
+
+#endif