aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/srv.h
blob: df8a411c5a0911b7accf5e311c3a37457031f846 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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