static int MU_C2()

in inc/sf_c_util/sf_service_config.h [436:453]


    static int MU_C2(name, _read_all_config_values)(SF_SERVICE_CONFIG(name)* handle) \
    { \
        int result; \
        bool error_occurred = false; \
        /*Codes_SRS_SF_SERVICE_CONFIG_42_013: [ For each configuration value with name config_name: ]*/ \
        MU_FOR_EACH_1_KEEP_1(SF_SERVICE_CONFIG_DO_READ, handle, __VA_ARGS__) \
        if (error_occurred) \
        { \
            /*Codes_SRS_SF_SERVICE_CONFIG_42_034: [ If there are any errors then SF_SERVICE_CONFIG_CREATE(name) shall fail and return NULL. ]*/ \
            MU_C2A(SF_SERVICE_CONFIG(name), _cleanup_fields)(handle); \
            result = MU_FAILURE; \
        } \
        else \
        { \
            result = 0; \
        } \
        return result; \
    } \