diff options
author | lmadsen <lmadsen@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-01-20 21:00:59 +0000 |
---|---|---|
committer | lmadsen <lmadsen@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-01-20 21:00:59 +0000 |
commit | bcc72e4d4f05b7c16923e84ce712f2ac1904fa24 (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /include/asterisk/enum.h | |
parent | 54e7ce21ed74a5d5513cfb0880c93c2847d82e62 (diff) |
Creating tag for the asterisk-1.4.23 release
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.23@169569 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/enum.h')
-rw-r--r-- | include/asterisk/enum.h | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/include/asterisk/enum.h b/include/asterisk/enum.h deleted file mode 100644 index c2fe3b592..000000000 --- a/include/asterisk/enum.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Asterisk -- An open source telephony toolkit. - * - * Copyright (C) 1999 - 2005, Digium, Inc. - * - * Mark Spencer <markster@digium.com> - * - * See http://www.asterisk.org for more information about - * the Asterisk project. Please do not directly contact - * any of the maintainers of this project for assistance; - * the project provides a web site, mailing lists and IRC - * channels for your use. - * - * This program is free software, distributed under the terms of - * the GNU General Public License Version 2. See the LICENSE file - * at the top of the source tree. - */ - -/*! \file enum.h - \brief DNS and ENUM functions -*/ - -#ifndef _ASTERISK_ENUM_H -#define _ASTERISK_ENUM_H - -#include "asterisk/channel.h" - -/*! \brief Lookup entry in ENUM Returns 1 if found, 0 if not found, -1 on hangup - \param chan Channel - \param number E164 number with or without the leading + - \param location Number returned (or SIP uri) - \param maxloc Max length - \param technology Technology (from url scheme in response) - You can set it to get particular answer RR, if there are many techs in DNS response, example: "sip" - If you need any record, then set it to empty string - \param maxtech Max length - \param suffix Zone suffix (if is NULL then use enum.conf 'search' variable) - \param options Options ('c' to count number of NAPTR RR) - \param record The position of required RR in the answer list -*/ -int ast_get_enum(struct ast_channel *chan, const char *number, char *location, int maxloc, char *technology, - int maxtech, char* suffix, char* options, unsigned int record); - -/*! \brief Lookup DNS TXT record (used by app TXTCIDnum - \param chan Channel - \param number E164 number with or without the leading + - \param location Number returned (or SIP uri) - \param maxloc Max length of number - \param technology Technology (not used in TXT records) - \param maxtech Max length - \param txt Text string (return value) - \param maxtxt Max length of "txt" -*/ -int ast_get_txt(struct ast_channel *chan, const char *number, char *location, int maxloc, char *technology, int maxtech, char *txt, int maxtxt); - -int ast_enum_init(void); -int ast_enum_reload(void); - -#endif /* _ASTERISK_ENUM_H */ |