Searched refs:allowed_vals (Results 1 – 1 of 1) sorted by relevance
964 LIBMTP_filetype_t const filetype, LIBMTP_allowed_values_t *allowed_vals) in LIBMTP_Get_Allowed_Property_Values() argument978 allowed_vals->is_range = 0; in LIBMTP_Get_Allowed_Property_Values()979 allowed_vals->num_entries = opd.FORM.Enum.NumberOfValues; in LIBMTP_Get_Allowed_Property_Values()984 allowed_vals->i8vals = malloc(sizeof(int8_t) * opd.FORM.Enum.NumberOfValues); in LIBMTP_Get_Allowed_Property_Values()985 allowed_vals->datatype = LIBMTP_DATATYPE_INT8; in LIBMTP_Get_Allowed_Property_Values()988 allowed_vals->u8vals = malloc(sizeof(uint8_t) * opd.FORM.Enum.NumberOfValues); in LIBMTP_Get_Allowed_Property_Values()989 allowed_vals->datatype = LIBMTP_DATATYPE_UINT8; in LIBMTP_Get_Allowed_Property_Values()992 allowed_vals->i16vals = malloc(sizeof(int16_t) * opd.FORM.Enum.NumberOfValues); in LIBMTP_Get_Allowed_Property_Values()993 allowed_vals->datatype = LIBMTP_DATATYPE_INT16; in LIBMTP_Get_Allowed_Property_Values()996 allowed_vals->u16vals = malloc(sizeof(uint16_t) * opd.FORM.Enum.NumberOfValues); in LIBMTP_Get_Allowed_Property_Values()[all …]