static void sml_prof_obj_header_entry_free_( void * p ) { sml_prof_obj_header_entry * entry = p; if (entry) { sml_octet_string_free(entry->obj_name); sml_unit_free(entry->unit); sml_number_free(entry->scaler); free(entry); } }
void sml_period_entry_free(sml_period_entry *period) { if (period) { sml_octet_string_free(period->obj_name); sml_unit_free(period->unit); sml_number_free(period->scaler); sml_value_free(period->value); sml_octet_string_free(period->value_signature); free(period); } }
void sml_tupel_entry_free(sml_tupel_entry *tupel) { if (tupel) { sml_octet_string_free(tupel->server_id); sml_time_free(tupel->sec_index); sml_number_free(tupel->status); sml_unit_free(tupel->unit_pA); sml_number_free(tupel->scaler_pA); sml_number_free(tupel->value_pA); sml_unit_free(tupel->unit_R1); sml_number_free(tupel->scaler_R1); sml_number_free(tupel->value_R1); sml_unit_free(tupel->unit_R4); sml_number_free(tupel->scaler_R4); sml_number_free(tupel->value_R4); sml_octet_string_free(tupel->signature_pA_R1_R4); sml_unit_free(tupel->unit_mA); sml_number_free(tupel->scaler_mA); sml_number_free(tupel->value_mA); sml_unit_free(tupel->unit_R2); sml_number_free(tupel->scaler_R2); sml_number_free(tupel->value_R2); sml_unit_free(tupel->unit_R3); sml_number_free(tupel->scaler_R3); sml_number_free(tupel->value_R3); sml_octet_string_free(tupel->signature_mA_R2_R3); free(tupel); } }