00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef EPR_FIELD_H_INCL
00019 #define EPR_FIELD_H_INCL
00020
00021 #ifdef __cplusplus
00022 extern "C"
00023 {
00024 #endif
00025
00026 #include <stdio.h>
00027
00032 struct EPR_FieldInfo
00033 {
00037 char* name;
00038
00042 EPR_EDataTypeId data_type_id;
00043
00047 uint num_elems;
00048
00052 char* unit;
00053
00057 char* description;
00058
00064 uint tot_size;
00065 };
00066
00067 EPR_SFieldInfo* epr_create_field_info(EPR_EDataTypeId data_type_id, char* description, char* field_name, uint num_elems, uint num_bytes, uint more_count, char* unit);
00068 EPR_SField* epr_create_field(EPR_SFieldInfo* field_info);
00069 void epr_free_field_info(EPR_SFieldInfo* field_info);
00070 void epr_free_field(EPR_SField* field);
00071
00072 #ifdef __cplusplus
00073 }
00074 #endif
00075
00076 #endif
00077