1 |
int getType (struct Event* pEv)
-
returns type of message (DATA or CONTROL)
|
2 |
int getLen (struct Event* pEv)
|
3 |
char* getData (struct Event* pEv)
-
returns pointer to data
-
returned pointer points to newly allocated buffer, this buffer should be freed using C free(...) function
|