diff options
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/srv.h | 20 |
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 |