Searched refs:allowed_vals (Results 1 – 1 of 1) sorted by relevance
887 LIBMTP_filetype_t const filetype, LIBMTP_allowed_values_t *allowed_vals) in LIBMTP_Get_Allowed_Property_Values() argument901 allowed_vals->is_range = 0; in LIBMTP_Get_Allowed_Property_Values()902 allowed_vals->num_entries = opd.FORM.Enum.NumberOfValues; in LIBMTP_Get_Allowed_Property_Values()907 allowed_vals->i8vals = malloc(sizeof(int8_t) * opd.FORM.Enum.NumberOfValues); in LIBMTP_Get_Allowed_Property_Values()908 allowed_vals->datatype = LIBMTP_DATATYPE_INT8; in LIBMTP_Get_Allowed_Property_Values()911 allowed_vals->u8vals = malloc(sizeof(uint8_t) * opd.FORM.Enum.NumberOfValues); in LIBMTP_Get_Allowed_Property_Values()912 allowed_vals->datatype = LIBMTP_DATATYPE_UINT8; in LIBMTP_Get_Allowed_Property_Values()915 allowed_vals->i16vals = malloc(sizeof(int16_t) * opd.FORM.Enum.NumberOfValues); in LIBMTP_Get_Allowed_Property_Values()916 allowed_vals->datatype = LIBMTP_DATATYPE_INT16; in LIBMTP_Get_Allowed_Property_Values()919 allowed_vals->u16vals = malloc(sizeof(uint16_t) * opd.FORM.Enum.NumberOfValues); in LIBMTP_Get_Allowed_Property_Values()[all …]