libDXF 0.0.1
A library with DXF related functions written in C.
|
00001 00045 #ifndef LIBDXF_SRC_APPID_H 00046 #define LIBDXF_SRC_APPID_H 00047 00048 00049 #include "global.h" 00050 00051 00052 #ifdef __cplusplus 00053 extern "C" { 00054 #endif 00055 00056 00070 typedef struct 00071 dxf_appid_struct 00072 { 00073 int id_code; 00078 char *application_name; 00081 int flag; 00097 char *dictionary_owner_soft; 00101 char *dictionary_owner_hard; 00105 struct DxfAppid *next; 00108 } DxfAppid; 00109 00110 00111 DxfAppid *dxf_appid_new (); 00112 DxfAppid *dxf_appid_init (DxfAppid *appid); 00113 DxfAppid *dxf_appid_read (DxfFile *fp, DxfAppid *appid); 00114 int dxf_appid_write (DxfFile *fp, DxfAppid* appid); 00115 int dxf_appid_free (DxfAppid *appid); 00116 void dxf_appid_free_chain (DxfAppid *appids); 00117 int dxf_appid_get_id_code (DxfAppid *appid); 00118 DxfAppid *dxf_appid_set_id_code (DxfAppid *appid, int id_code); 00119 char *dxf_appid_get_application_name (DxfAppid *appid); 00120 DxfAppid *dxf_appid_set_application_name (DxfAppid *appid, char *name); 00121 int dxf_appid_get_flag (DxfAppid *appid); 00122 DxfAppid *dxf_appid_set_flag (DxfAppid *appid, int flag); 00123 int dxf_appid_is_xreferenced (DxfAppid *appid); 00124 int dxf_appid_is_xresolved (DxfAppid *appid); 00125 int dxf_appid_is_referenced (DxfAppid *appid); 00126 int dxf_appid_is_no_save_xdata (DxfAppid *appid); 00127 char *dxf_appid_get_dictionary_owner_soft (DxfAppid *appid); 00128 DxfAppid *dxf_appid_set_dictionary_owner_soft (DxfAppid *appid, char *dictionary_owner_soft); 00129 char *dxf_appid_get_dictionary_owner_hard (DxfAppid *appid); 00130 DxfAppid *dxf_appid_set_dictionary_owner_hard (DxfAppid *appid, char *dictionary_owner_hard); 00131 DxfAppid *dxf_appid_get_next (DxfAppid *appid); 00132 DxfAppid *dxf_appid_set_next (DxfAppid *appid, DxfAppid *next); 00133 DxfAppid *dxf_appid_get_last (DxfAppid *appid); 00134 00135 00136 #ifdef __cplusplus 00137 } 00138 #endif 00139 00140 00141 #endif /* LIBDXF_SRC_APPID_H */ 00142 00143 00144 /* EOF */