aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk')
-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