axl_bool myqtt_support_file_test ( const char *  path,
MyQttFileTest  test 
)

Allows to perform a set of test for the provided path.

Parameters
pathThe path that will be checked.
testThe set of test to be performed. Separate each test with "|" to perform several test at the same time.
Returns
axl_true if all test returns axl_true. Otherwise axl_false is returned.

References FILE_EXISTS, FILE_IS_DIR, FILE_IS_LINK, and FILE_IS_REGULAR.

Referenced by myqtt_mkdir(), myqtt_storage_clear_offline(), myqtt_storage_get_retained_topics(), myqtt_storage_init_offline(), myqtt_storage_queued_messages_offline(), myqtt_storage_queued_messages_quota_offline(), myqtt_storage_retain_msg_set(), myqtt_storage_sub_offline(), myqtt_support_domain_find_data_file(), myqttd_file_test_v(), and myqttd_run_load_modules_from_path().