axl_bool myqtt_storage_set_path ( MyQttCtx ctx,
const char *  storage_path,
int  hash_size 

Allows to configure the storage location for the provided MyQtt context.

ctxThe context where the operation takes place. It cannot be NULL.
storage_pathThe storage dir to configure. It cannot be NULL or empty.
hash_sizeHashing size for the storage path used. This value will be used to split internal storage in the given values. Recomended value is 4096.
axl_true if the path was correctly set, otherwise axl_false is returned.

References myqtt_mutex_lock(), and myqtt_mutex_unlock().