Function paho_mqtt3as_sys::MQTTAsync_unsubscribeMany
[−]
[src]
pub unsafe extern "C" fn MQTTAsync_unsubscribeMany(
handle: MQTTAsync,
count: c_int,
topic: *const *const c_char,
response: *mut MQTTAsync_responseOptions
) -> c_int
This function attempts to remove existing subscriptions to a list of topics made by the specified client. @param handle A valid client handle from a successful call to MQTTAsync_create(). @param count The number subscriptions to be removed. @param topic An array (of length count) of pointers to the topics of the subscriptions to be removed, each of which may include wildcards. @param response A pointer to a response options structure. Used to set callback functions. @return ::MQTTASYNC_SUCCESS if the subscriptions are removed. An error code is returned if there was a problem removing the subscriptions.