summaryrefslogtreecommitdiffstats
path: root/bindings/_common/Msrp.i
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/_common/Msrp.i')
-rw-r--r--bindings/_common/Msrp.i34
1 files changed, 34 insertions, 0 deletions
diff --git a/bindings/_common/Msrp.i b/bindings/_common/Msrp.i
new file mode 100644
index 0000000..9d32cc4
--- /dev/null
+++ b/bindings/_common/Msrp.i
@@ -0,0 +1,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; \ No newline at end of file
OpenPOWER on IntegriCloud