|
gwenhywfar 5.10.1
|
#include "args.h"#include "typemaker_p.h"#include <gwenhywfar/debug.h>#include <gwenhywfar/logger.h>#include <gwenhywfar/xml.h>#include <gwenhywfar/syncio_file.h>#include <gwenhywfar/syncio_buffered.h>#include <stdlib.h>#include <assert.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <errno.h>#include <string.h>#include <ctype.h>
Go to the source code of this file.
Functions | |
| int | write_h_elem_c (GWEN_UNUSED ARGUMENTS *args, GWEN_XMLNODE *node, GWEN_SYNCIO *sio) |
| int | write_h_func_c (GWEN_UNUSED ARGUMENTS *args, GWEN_XMLNODE *node, GWEN_SYNCIO *sio) |
| int | write_h_struct_c (ARGUMENTS *args, GWEN_XMLNODE *node, GWEN_SYNCIO *sio) |
| int | write_hp_file_c (ARGUMENTS *args, GWEN_XMLNODE *node) |
| int | write_hp_files_c (ARGUMENTS *args, GWEN_XMLNODE *node) |
| int | write_hp_group_c (ARGUMENTS *args, GWEN_XMLNODE *node, GWEN_SYNCIO *sio) |
| int write_h_elem_c | ( | GWEN_UNUSED ARGUMENTS * | args, |
| GWEN_XMLNODE * | node, | ||
| GWEN_SYNCIO * | sio | ||
| ) |
Definition at line 37 of file phc.c.
References DBG_ERROR, DBG_ERROR_ERR, get_property(), get_struct_property(), get_typedef(), GWEN_Buffer_AppendString(), GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_Buffer_new(), GWEN_SyncIo_WriteChar(), GWEN_SyncIo_WriteLine(), GWEN_SyncIo_WriteString(), and GWEN_XMLNode_GetProperty().
Referenced by write_hp_group_c().


| int write_h_func_c | ( | GWEN_UNUSED ARGUMENTS * | args, |
| GWEN_XMLNODE * | node, | ||
| GWEN_SYNCIO * | sio | ||
| ) |
Definition at line 106 of file phc.c.
References DBG_ERROR, get_struct_property(), GWEN_SyncIo_WriteChar(), GWEN_SyncIo_WriteLine(), GWEN_SyncIo_WriteString(), and GWEN_XMLNode_GetProperty().
Referenced by write_hp_group_c().


| int write_h_struct_c | ( | ARGUMENTS * | args, |
| GWEN_XMLNODE * | node, | ||
| GWEN_SYNCIO * | sio | ||
| ) |
Definition at line 147 of file phc.c.
References DBG_ERROR, get_struct_property(), GWEN_SyncIo_WriteLine(), GWEN_SyncIo_WriteString(), GWEN_XMLNode_GetFirstTag(), GWEN_XMLNode_GetNextTag(), write_h_enums(), write_h_funcs(), and write_hp_group_c().
Referenced by write_hp_file_c(), and write_hp_group_c().


| int write_hp_file_c | ( | ARGUMENTS * | args, |
| GWEN_XMLNODE * | node | ||
| ) |
Definition at line 258 of file phc.c.
References DBG_ERROR, DBG_ERROR_ERR, get_struct_property(), GWEN_Buffer_AppendByte(), GWEN_Buffer_AppendString(), GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_Buffer_new(), GWEN_SyncIo_AddFlags(), GWEN_SyncIo_Connect(), GWEN_SyncIo_Disconnect(), GWEN_SyncIo_File_CreationMode_CreateAlways, GWEN_SYNCIO_FILE_FLAGS_GREAD, GWEN_SYNCIO_FILE_FLAGS_GWRITE, GWEN_SYNCIO_FILE_FLAGS_READ, GWEN_SYNCIO_FILE_FLAGS_UREAD, GWEN_SYNCIO_FILE_FLAGS_UWRITE, GWEN_SYNCIO_FILE_FLAGS_WRITE, GWEN_SyncIo_File_new(), GWEN_SyncIo_free(), GWEN_SyncIo_WriteLine(), GWEN_SyncIo_WriteString(), write_h_setget_c(), and write_h_struct_c().
Referenced by write_hp_files_c().


| int write_hp_files_c | ( | ARGUMENTS * | args, |
| GWEN_XMLNODE * | node | ||
| ) |
Definition at line 509 of file phc.c.
References GWEN_XMLNode_FindFirstTag(), GWEN_XMLNode_FindNextTag(), and write_hp_file_c().
Referenced by write_files().


| int write_hp_group_c | ( | ARGUMENTS * | args, |
| GWEN_XMLNODE * | node, | ||
| GWEN_SYNCIO * | sio | ||
| ) |
Definition at line 223 of file phc.c.
References GWEN_XMLNode_GetData(), GWEN_XMLNode_GetFirstTag(), GWEN_XMLNode_GetNextTag(), GWEN_XMLNode_GetType(), GWEN_XMLNodeTypeTag, write_h_elem_c(), write_h_func_c(), write_h_header(), write_h_struct_c(), and write_hp_group_c().
Referenced by write_h_struct_c(), write_ha_file_c(), write_hl_file_c(), and write_hp_group_c().

