summaryrefslogtreecommitdiffstats
path: root/package/tapi_sip/src/session.h
blob: 7403785f5f7cbdb65b21d827ed250bb2f17bacec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __SESSION_H__
#define __SESSION_H__

struct agent;
struct session;
struct tapi_device;

struct session *session_alloc(struct tapi_device *, struct agent *caller,
	struct agent *callee, void (*release)(struct session *));
void session_hangup(struct session *, struct agent *);
void session_accept(struct session *, struct agent *);
void session_free(struct session *);

#endif