mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-21 04:46:29 +00:00
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2986 65c4cc65-6c06-0410-ace0-fbb531ad65f3
24 lines
775 B
C
Executable File
24 lines
775 B
C
Executable File
/*
|
|
* 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);
|
|
extern int ast_get_txt(struct ast_channel *chan, const char *number, char *location, int maxloc, char *technology, int maxtech, char *txt, int maxtxt);
|
|
|
|
extern int ast_enum_init(void);
|
|
extern int ast_enum_reload(void);
|
|
#endif
|