Added MQTTPacket_Read() in MQTTPacket.h
Fork of MQTTPacket by
Revision 10:8af5cf98e0cb, committed 2014-07-01
- Comitter:
- rajathishere
- Date:
- Tue Jul 01 19:08:13 2014 +0000
- Parent:
- 9:3893bc7343f4
- Commit message:
- Added signature of MTTPacket_Read() to MQTTPacket.h
Changed in this revision
MQTTPacket.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 3893bc7343f4 -r 8af5cf98e0cb MQTTPacket.h --- a/MQTTPacket.h Fri May 09 23:00:25 2014 +0000 +++ b/MQTTPacket.h Tue Jul 01 19:08:13 2014 +0000 @@ -84,6 +84,8 @@ int MQTTSerialize_ack(char* buf, int buflen, int type, int dup, int packetid); int MQTTDeserialize_ack(int* type, int* dup, int* packetid, char* buf, int buflen); +int MQTTPacket_read(char* buf, int buflen, int (*getfn)(char*, int)); + int MQTTPacket_len(int rem_len); int MQTTPacket_equals(MQTTString* a, char* b);