summaryrefslogtreecommitdiffstats
path: root/package/tapi_sip/src/stun.h
blob: 2cd61c9f16c9375cfcad0c194fb2d35c38ab5c74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef __STUN_H__
#define __STUN_H__

#include <stdint.h>

struct stun_client;

struct stun_client *stun_client_alloc(const char *hostname, uint16_t port);
void stun_client_free(struct stun_client *);
int stun_client_resolve(struct stun_client *stun, int sockfd, struct sockaddr *addr);

#endif