libDXF 0.0.1
A library with DXF related functions written in C.

proprietary_data.h

Go to the documentation of this file.
00001 
00035 #ifndef LIBDXF_SRC_PROPRIETARY_DATA_H
00036 #define LIBDXF_SRC_PROPRIETARY_DATA_H
00037 
00038 
00039 #include "global.h"
00040 
00041 
00042 #ifdef __cplusplus
00043 extern "C" {
00044 #endif
00045 
00046 
00050 typedef struct
00051 dxf_proprietary_data_struct
00052 {
00053         int order;
00055         char *line;
00060         int length;
00063         struct DxfProprietaryData *next;
00066 } DxfProprietaryData;
00067 
00068 
00069 DxfProprietaryData *dxf_proprietary_data_new ();
00070 DxfProprietaryData *dxf_proprietary_data_init (DxfProprietaryData *data);
00071 int dxf_proprietary_data_free (DxfProprietaryData *data);
00072 void dxf_proprietary_data_free_chain (DxfProprietaryData *datas);
00073 int dxf_proprietary_data_get_order (DxfProprietaryData *data);
00074 DxfProprietaryData *dxf_proprietary_data_set_order (DxfProprietaryData *data, int order);
00075 char *dxf_proprietary_data_get_line (DxfProprietaryData *data);
00076 DxfProprietaryData *dxf_proprietary_data_set_line (DxfProprietaryData *data, char *line);
00077 int dxf_proprietary_data_get_length (DxfProprietaryData *data);
00078 int dxf_proprietary_data_test_length (DxfProprietaryData *data);
00079 DxfProprietaryData *dxf_proprietary_data_set_length (DxfProprietaryData *data, int length);
00080 DxfProprietaryData *dxf_proprietary_data_get_next (DxfProprietaryData *data);
00081 DxfProprietaryData *dxf_proprietary_data_set_next (DxfProprietaryData *data, DxfProprietaryData *next);
00082 DxfProprietaryData *dxf_proprietary_data_get_last (DxfProprietaryData *data);
00083 
00084 
00085 #ifdef __cplusplus
00086 }
00087 #endif
00088 
00089 
00090 #endif /* LIBDXF_SRC_PROPRIETARY_DATA_H */
00091 
00092 
00093 /* EOF */