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

binary_graphics_data.h

Go to the documentation of this file.
00001 
00035 #ifndef LIBDXF_SRC_BINARY_GRAPHICS_DATA_H
00036 #define LIBDXF_SRC_BINARY_GRAPHICS_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_binary_graphics_data_struct
00052 {
00053         char *data_line;
00058         int length;
00060         struct DxfBinaryGraphicsData *next;
00063 } DxfBinaryGraphicsData;
00064 
00065 
00066 DxfBinaryGraphicsData *
00067 dxf_binary_graphics_data_new ();
00068 DxfBinaryGraphicsData *
00069 dxf_binary_graphics_data_init
00070 (
00071         DxfBinaryGraphicsData *data
00072 );
00073 int
00074 dxf_binary_graphics_data_write
00075 (
00076         DxfFile *fp,
00077         DxfBinaryGraphicsData *data
00078 );
00079 int
00080 dxf_binary_graphics_data_free
00081 (
00082         DxfBinaryGraphicsData *data
00083 );
00084 void
00085 dxf_binary_graphics_data_free_chain
00086 (
00087         DxfBinaryGraphicsData *data
00088 );
00089 char *
00090 dxf_binary_graphics_data_get_data_line
00091 (
00092         DxfBinaryGraphicsData *data
00093 );
00094 DxfBinaryGraphicsData *
00095 dxf_binary_graphics_data_set_data_line
00096 (
00097         DxfBinaryGraphicsData *data,
00098         char *data_line
00099 );
00100 int
00101 dxf_binary_graphics_data_get_length
00102 (
00103         DxfBinaryGraphicsData *data
00104 );
00105 DxfBinaryGraphicsData *
00106 dxf_binary_graphics_data_set_length
00107 (
00108         DxfBinaryGraphicsData *data,
00109         int length
00110 );
00111 DxfBinaryGraphicsData *
00112 dxf_binary_graphics_data_get_next
00113 (
00114         DxfBinaryGraphicsData *data
00115 );
00116 DxfBinaryGraphicsData *
00117 dxf_binary_graphics_data_set_next
00118 (
00119         DxfBinaryGraphicsData *data,
00120         DxfBinaryGraphicsData *next
00121 );
00122 DxfBinaryGraphicsData *
00123 dxf_binary_graphics_data_get_last
00124 (
00125         DxfBinaryGraphicsData *data
00126 );
00127 
00128 
00129 #ifdef __cplusplus
00130 }
00131 #endif
00132 
00133 
00134 #endif /* LIBDXF_SRC_BINARY_GRAPHICS_DATA_H */
00135 
00136 
00137 /* EOF */