diff options
author | Mark Spencer <markster@digium.com> | 2003-06-12 22:14:03 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-06-12 22:14:03 +0000 |
commit | 615a463e231c4ffa014819f636f06609237f1f6a (patch) | |
tree | 89ffdc901f8078451e4078c82195d1b44d623cef /include | |
parent | fc8d3631b4c00d3e5c5ccd6843c47c549e964a24 (diff) |
Add missing srv.c and srv.h files
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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 |