mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Add missing srv.c and srv.h files
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
20
include/asterisk/srv.h
Executable file
20
include/asterisk/srv.h
Executable file
@@ -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
|
Reference in New Issue
Block a user