Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
MQTTUnsubscribe.h
00001 /******************************************************************************* 00002 * Copyright (c) 2014 IBM Corp. 00003 * 00004 * All rights reserved. This program and the accompanying materials 00005 * are made available under the terms of the Eclipse Public License v1.0 00006 * and Eclipse Distribution License v1.0 which accompany this distribution. 00007 * 00008 * The Eclipse Public License is available at 00009 * http://www.eclipse.org/legal/epl-v10.html 00010 * and the Eclipse Distribution License is available at 00011 * http://www.eclipse.org/org/documents/edl-v10.php. 00012 * 00013 * Contributors: 00014 * Ian Craggs - initial API and implementation and/or initial documentation 00015 * Xiang Rong - 442039 Add makefile to Embedded C client 00016 *******************************************************************************/ 00017 00018 #ifndef MQTTUNSUBSCRIBE_H_ 00019 #define MQTTUNSUBSCRIBE_H_ 00020 00021 #if !defined(DLLImport) 00022 #define DLLImport 00023 #endif 00024 #if !defined(DLLExport) 00025 #define DLLExport 00026 #endif 00027 00028 DLLExport int MQTTSerialize_unsubscribe(unsigned char* buf, int buflen, unsigned char dup, unsigned short packetid, 00029 int count, MQTTString topicFilters[]); 00030 00031 DLLExport int MQTTDeserialize_unsubscribe(unsigned char* dup, unsigned short* packetid, int max_count, int* count, MQTTString topicFilters[], 00032 unsigned char* buf, int len); 00033 00034 DLLExport int MQTTSerialize_unsuback(unsigned char* buf, int buflen, unsigned short packetid); 00035 00036 DLLExport int MQTTDeserialize_unsuback(unsigned short* packetid, unsigned char* buf, int len); 00037 00038 #endif /* MQTTUNSUBSCRIBE_H_ */
Generated on Thu Jul 14 2022 12:58:42 by
