gwenhywfar 5.12.0
phc.c File Reference
#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>
Include dependency graph for phc.c:

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)

Function Documentation

◆ write_h_elem_c()

int write_h_elem_c ( GWEN_UNUSED ARGUMENTS * args,
GWEN_XMLNODE * node,
GWEN_SYNCIO * sio )

◆ write_h_func_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(), GWEN_UNUSED, and GWEN_XMLNode_GetProperty().

Referenced by write_hp_group_c().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write_h_struct_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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write_hp_file_c()

◆ 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write_hp_group_c()

int write_hp_group_c ( ARGUMENTS * args,
GWEN_XMLNODE * node,
GWEN_SYNCIO * sio )