From e651a9341a241ef5cefc1711d42e3f638aaba9b8 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 7 Feb 2011 21:47:54 +0000 Subject: * drop libtapi and tapi_sip (moved to external git) * add build variants to pjsip * split tapi_dev audio driver out of patch into src/ SVN-Revision: 25412 --- package/tapi_sip/src/sip_client.h | 61 --------------------------------------- 1 file changed, 61 deletions(-) delete mode 100644 package/tapi_sip/src/sip_client.h (limited to 'package/tapi_sip/src/sip_client.h') diff --git a/package/tapi_sip/src/sip_client.h b/package/tapi_sip/src/sip_client.h deleted file mode 100644 index 1c494b6..0000000 --- a/package/tapi_sip/src/sip_client.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef __SIP_CLIENT_H__ -#define __SIP_CLIENT_H__ - -#include -#include - -#include -#include -#include -#include -#include - -#include -#include -#include - -struct stun_client; -struct sip_agent; - -struct sip_client_config { - const char *iface; - - const char *host; - uint16_t port; - const char *username; - const char *password; - - const char *stun_host; - uint16_t stun_port; -}; - -struct sip_client { - const struct sip_client_config *config; - - struct tapi_device *tdev; - struct stun_client *stun; - - struct sockaddr_storage public_addr; - struct sockaddr_storage local_addr; - - int sockfd; - - pj_thread_t *sip_thread; - pj_caching_pool cp; - pj_pool_t *pool; - pjsip_endpoint *sip_endpt; - pjsip_cred_info cred; - pj_str_t local_contact; - pj_str_t server_uri; - - pjsip_regc *regc; - - int (*incoming_call_cb)(struct sip_client *client, struct sip_agent *agent); -}; - -void sip_client_init(struct sip_client *client, struct tapi_device *dev, - const struct sip_client_config *config); - -struct sip_agent *sip_client_alloc_agent(struct sip_client *client, const char *dst_uri); - -#endif -- cgit v1.1