Files
asterisk/include/asterisk/srv.h
Mark Spencer 615a463e23 Add missing srv.c and srv.h files
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-06-12 22:14:03 +00:00

21 lines
539 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_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