From 4e2c1d74ecc1852eeb081095bb875fd20ac7b161 Mon Sep 17 00:00:00 2001 From: markster Date: Thu, 12 Jun 2003 22:14:03 +0000 Subject: Add missing srv.c and srv.h files git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1086 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/srv.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 include/asterisk/srv.h (limited to 'include') 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 + * + * This program is free software, distributed under the terms of + * the GNU General Public License + */ + +#ifndef _ASTERISK_SRV_H +#define _ASTERISK_SRV_H +#include +/* 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 -- cgit v1.2.3