summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rwxr-xr-xinclude/asterisk/enum.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/asterisk/enum.h b/include/asterisk/enum.h
new file mode 100755
index 000000000..4f945e95e
--- /dev/null
+++ b/include/asterisk/enum.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_ENUM_H
+#define _ASTERISK_ENUM_H
+#include <asterisk/channel.h>
+/* Lookup entry in ENUM Returns 1 if found, 0 if not found, -1 on hangup */
+extern int ast_get_enum(struct ast_channel *chan, const char *number, char *location, int maxloc, char *technology, int maxtech);
+
+#endif