Msrp.i 532 B

12345678910111213141516171819202122232425262728293031323334
  1. %{
  2. #include "Msrp.h"
  3. %}
  4. /* Callbacks */
  5. %feature("director") MsrpCallback;
  6. %nodefaultctor;
  7. %include "Msrp.h"
  8. %clearnodefaultctor;
  9. /* From tinyMSRP/tmsrp_message.h */
  10. typedef enum tmsrp_request_type_e
  11. {
  12. tmsrp_NONE = 0,
  13. tmsrp_SEND,
  14. tmsrp_REPORT,
  15. tmsrp_AUTH
  16. //...
  17. }
  18. tmsrp_request_type_t;
  19. /* From tinyMSRP/tmsrp_event.h */
  20. typedef enum tmsrp_event_type_e
  21. {
  22. tmsrp_event_type_none,
  23. tmsrp_event_type_connected,
  24. tmsrp_event_type_disconnected,
  25. tmsrp_event_type_message,
  26. }
  27. tmsrp_event_type_t;