Type Definition paho_mqtt3as_sys::Persistence_remove [] [src]

type Persistence_remove = Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_char) -> c_int>;

@brief Remove the data for the specified key from the store.

@param handle The handle pointer from a successful call to Persistence_open(). @param key A string that is the key for the data to be removed from the store. This is the same key used to save the data to the store with Persistence_put(). @return Return 0 if the function completes successfully, otherwise return ::MQTTCLIENT_PERSISTENCE_ERROR.