libDXF 0.0.1
A library with DXF related functions written in C.
|
00001 00035 #ifndef LIBDXF_SRC_LAYER_NAME_H 00036 #define LIBDXF_SRC_LAYER_NAME_H 00037 00038 00039 #include "global.h" 00040 00041 00042 #ifdef __cplusplus 00043 extern "C" { 00044 #endif 00045 00046 00050 typedef struct 00051 dxf_layer_name_struct 00052 { 00053 char *name; 00057 int length; 00059 struct DxfLayerName *next; 00062 } DxfLayerName; 00063 00064 00065 DxfLayerName *dxf_layer_name_new (); 00066 DxfLayerName *dxf_layer_name_init (DxfLayerName *layer_name); 00067 int dxf_layer_name_free (DxfLayerName *layer_name); 00068 void dxf_layer_name_free_chain (DxfLayerName *layer_names); 00069 char *dxf_layer_name_get_name (DxfLayerName *layer_name); 00070 DxfLayerName *dxf_layer_name_set_name (DxfLayerName *layer_name, char *name); 00071 int dxf_layer_name_get_length (DxfLayerName *layer_name); 00072 DxfLayerName *dxf_layer_name_set_length (DxfLayerName *layer_name, int length); 00073 DxfLayerName *dxf_layer_name_get_next (DxfLayerName *layer_name); 00074 DxfLayerName *dxf_layer_name_set_next (DxfLayerName *layer_name, DxfLayerName *next); 00075 DxfLayerName *dxf_layer_name_get_last (DxfLayerName *layer_name); 00076 00077 00078 #ifdef __cplusplus 00079 } 00080 #endif 00081 00082 00083 #endif /* LIBDXF_SRC_LAYER_NAME_H */ 00084 00085 00086 /* EOF */