123
MQTTSNUnsubscribe.h@2:573d544b5d3c, 2019-01-03 (annotated)
- Committer:
- m_ahsan
- Date:
- Thu Jan 03 05:49:15 2019 +0000
- Revision:
- 2:573d544b5d3c
- Parent:
- 0:c524a894b5e8
test
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
icraggs | 0:c524a894b5e8 | 1 | /******************************************************************************* |
icraggs | 0:c524a894b5e8 | 2 | * Copyright (c) 2014 IBM Corp. |
icraggs | 0:c524a894b5e8 | 3 | * |
icraggs | 0:c524a894b5e8 | 4 | * All rights reserved. This program and the accompanying materials |
icraggs | 0:c524a894b5e8 | 5 | * are made available under the terms of the Eclipse Public License v1.0 |
icraggs | 0:c524a894b5e8 | 6 | * and Eclipse Distribution License v1.0 which accompany this distribution. |
icraggs | 0:c524a894b5e8 | 7 | * |
icraggs | 0:c524a894b5e8 | 8 | * The Eclipse Public License is available at |
icraggs | 0:c524a894b5e8 | 9 | * http://www.eclipse.org/legal/epl-v10.html |
icraggs | 0:c524a894b5e8 | 10 | * and the Eclipse Distribution License is available at |
icraggs | 0:c524a894b5e8 | 11 | * http://www.eclipse.org/org/documents/edl-v10.php. |
icraggs | 0:c524a894b5e8 | 12 | * |
icraggs | 0:c524a894b5e8 | 13 | * Contributors: |
icraggs | 0:c524a894b5e8 | 14 | * Ian Craggs - initial API and implementation and/or initial documentation |
icraggs | 0:c524a894b5e8 | 15 | *******************************************************************************/ |
icraggs | 0:c524a894b5e8 | 16 | |
icraggs | 0:c524a894b5e8 | 17 | #if !defined(MQTTSNUNSUBSCRIBE_H_) |
icraggs | 0:c524a894b5e8 | 18 | #define MQTTSNUNSUBSCRIBE_H_ |
icraggs | 0:c524a894b5e8 | 19 | |
icraggs | 0:c524a894b5e8 | 20 | int MQTTSNSerialize_unsubscribe(unsigned char* buf, int buflen, |
icraggs | 0:c524a894b5e8 | 21 | unsigned short packetid, MQTTSN_topicid* topicFilter); |
icraggs | 0:c524a894b5e8 | 22 | int MQTTSNDeserialize_unsubscribe(unsigned short* packetid, MQTTSN_topicid* topicFilter, |
icraggs | 0:c524a894b5e8 | 23 | unsigned char* buf, int buflen); |
icraggs | 0:c524a894b5e8 | 24 | |
icraggs | 0:c524a894b5e8 | 25 | int MQTTSNSerialize_unsuback(unsigned char* buf, int buflen, unsigned short packetid); |
icraggs | 0:c524a894b5e8 | 26 | int MQTTSNDeserialize_unsuback(unsigned short* packetid, unsigned char* buf, int buflen); |
icraggs | 0:c524a894b5e8 | 27 | |
icraggs | 0:c524a894b5e8 | 28 | #endif /* MQTTSNUNSUBSCRIBE_H_ */ |
icraggs | 0:c524a894b5e8 | 29 |