mbed OS5に対応したMilkcocoaライブラリのテストバージョンです。
Fork of mbed-os-example-mbed5-blinky by
Milkcocoa/MQTT/MQTTPacket/MQTTUnsubscribe.h@24:6ba1245bf049, 2017-01-24 (annotated)
- Committer:
- jksoft
- Date:
- Tue Jan 24 13:41:36 2017 +0000
- Revision:
- 24:6ba1245bf049
??????????
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jksoft | 24:6ba1245bf049 | 1 | /******************************************************************************* |
jksoft | 24:6ba1245bf049 | 2 | * Copyright (c) 2014 IBM Corp. |
jksoft | 24:6ba1245bf049 | 3 | * |
jksoft | 24:6ba1245bf049 | 4 | * All rights reserved. This program and the accompanying materials |
jksoft | 24:6ba1245bf049 | 5 | * are made available under the terms of the Eclipse Public License v1.0 |
jksoft | 24:6ba1245bf049 | 6 | * and Eclipse Distribution License v1.0 which accompany this distribution. |
jksoft | 24:6ba1245bf049 | 7 | * |
jksoft | 24:6ba1245bf049 | 8 | * The Eclipse Public License is available at |
jksoft | 24:6ba1245bf049 | 9 | * http://www.eclipse.org/legal/epl-v10.html |
jksoft | 24:6ba1245bf049 | 10 | * and the Eclipse Distribution License is available at |
jksoft | 24:6ba1245bf049 | 11 | * http://www.eclipse.org/org/documents/edl-v10.php. |
jksoft | 24:6ba1245bf049 | 12 | * |
jksoft | 24:6ba1245bf049 | 13 | * Contributors: |
jksoft | 24:6ba1245bf049 | 14 | * Ian Craggs - initial API and implementation and/or initial documentation |
jksoft | 24:6ba1245bf049 | 15 | *******************************************************************************/ |
jksoft | 24:6ba1245bf049 | 16 | |
jksoft | 24:6ba1245bf049 | 17 | #ifndef MQTTUNSUBSCRIBE_H_ |
jksoft | 24:6ba1245bf049 | 18 | #define MQTTUNSUBSCRIBE_H_ |
jksoft | 24:6ba1245bf049 | 19 | |
jksoft | 24:6ba1245bf049 | 20 | int MQTTSerialize_unsubscribe(unsigned char* buf, int buflen, unsigned char dup, unsigned short packetid, |
jksoft | 24:6ba1245bf049 | 21 | int count, MQTTString topicFilters[]); |
jksoft | 24:6ba1245bf049 | 22 | |
jksoft | 24:6ba1245bf049 | 23 | int MQTTDeserialize_unsubscribe(unsigned char* dup, unsigned short* packetid, int max_count, int* count, MQTTString topicFilters[], |
jksoft | 24:6ba1245bf049 | 24 | unsigned char* buf, int len); |
jksoft | 24:6ba1245bf049 | 25 | |
jksoft | 24:6ba1245bf049 | 26 | int MQTTSerialize_unsuback(unsigned char* buf, int buflen, unsigned short packetid); |
jksoft | 24:6ba1245bf049 | 27 | |
jksoft | 24:6ba1245bf049 | 28 | int MQTTDeserialize_unsuback(unsigned short* packetid, unsigned char* buf, int len); |
jksoft | 24:6ba1245bf049 | 29 | |
jksoft | 24:6ba1245bf049 | 30 | #endif /* MQTTUNSUBSCRIBE_H_ */ |