libDXF 0.0.1
A library with DXF related functions written in C.
|
00001 00036 #ifndef LIBDXF_SRC_ENDBLK_H 00037 #define LIBDXF_SRC_ENDBLK_H 00038 00039 00040 #include "global.h" 00041 #include "util.h" 00042 00043 00044 #ifdef __cplusplus 00045 extern "C" { 00046 #endif 00047 00048 00075 typedef struct 00076 dxf_endblk_struct 00077 { 00078 int id_code; 00083 char *layer; 00087 char *dictionary_owner_soft; 00091 } DxfEndblk; 00092 00093 00094 DxfEndblk *dxf_endblk_new (); 00095 DxfEndblk *dxf_endblk_init (DxfEndblk *endblk); 00096 DxfEndblk *dxf_endblk_read (DxfFile *fp, DxfEndblk *endblk); 00097 int dxf_endblk_write (DxfFile *fp, DxfEndblk *endblk); 00098 int dxf_endblk_free (DxfEndblk *endblk); 00099 int dxf_endblk_get_id_code (DxfEndblk *endblk); 00100 DxfEndblk *dxf_endblk_set_id_code (DxfEndblk *endblk, int id_code); 00101 char *dxf_endblk_get_layer (DxfEndblk *endblk); 00102 DxfEndblk *dxf_endblk_set_layer (DxfEndblk *endblk, char *layer); 00103 char *dxf_endblk_get_dictionary_owner_soft (DxfEndblk *endblk); 00104 DxfEndblk *dxf_endblk_set_dictionary_owner_soft (DxfEndblk *endblk, char *dictionary_owner_soft); 00105 00106 00107 #ifdef __cplusplus 00108 } 00109 #endif 00110 00111 00112 #endif /* LIBDXF_SRC_ENDBLK_H */ 00113 00114 00115 /* EOF */