summaryrefslogtreecommitdiffstats
path: root/bindings/_common/Msrp.i
blob: 9d32cc4b32d7c27db9f757d8625a77e3e53de421 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
%{
#include "Msrp.h"
%}

/* Callbacks */
%feature("director") MsrpCallback;


%nodefaultctor;
%include "Msrp.h"
%clearnodefaultctor;

/* From tinyMSRP/tmsrp_message.h */
typedef enum tmsrp_request_type_e
{
	tmsrp_NONE = 0,

	tmsrp_SEND,
	tmsrp_REPORT,
	tmsrp_AUTH
	//... 
}
tmsrp_request_type_t;


/* From tinyMSRP/tmsrp_event.h */
typedef enum tmsrp_event_type_e
{
	tmsrp_event_type_none,
	tmsrp_event_type_connected,
	tmsrp_event_type_disconnected,
	tmsrp_event_type_message,
}
tmsrp_event_type_t;
OpenPOWER on IntegriCloud