gwen_sar_fileheader.h
Go to the documentation of this file.
/**********************************************************
* This file has been automatically created by "typemaker2"
* from the file "gwen_sar_fileheader.xml".
* Please do not edit this file, all changes will be lost.
* Better edit the mentioned source file instead.
**********************************************************/
#ifndef GWEN_SAR_FILEHEADER_H
#define GWEN_SAR_FILEHEADER_H
#ifdef __cplusplus
extern "C" {
#endif
/* define GWEN_SAR_FILEHEADER_FLAGS */
#define GWEN_SAR_FILEHEADER_FLAGS_SIGNED 0x00000001
/* needed system headers */
#include <gwenhywfar/types.h>
#include <gwenhywfar/list1.h>
#include <gwenhywfar/list2.h>
/* pre-headers */
#include <gwenhywfar/syncio_file.h>
#include <gwenhywfar/gwentime.h>
typedef struct GWEN_SAR_FILEHEADER GWEN_SAR_FILEHEADER;
GWEN_LIST_FUNCTION_LIB_DEFS(GWEN_SAR_FILEHEADER, GWEN_SarFileHeader, GWENHYWFAR_API)
GWEN_LIST2_FUNCTION_LIB_DEFS(GWEN_SAR_FILEHEADER, GWEN_SarFileHeader, GWENHYWFAR_API)
typedef enum {
GWEN_SarFileHeader_FType_Unknown = -1,
GWEN_SarFileHeader_FType_None = 0,
GWEN_SarFileHeader_FType_File,
GWEN_SarFileHeader_FType_Dir,
GWEN_SarFileHeader_FType_SymLink
} GWEN_SAR_FILEHEADER_FTYPE;
typedef enum {
GWEN_SarFileHeader_Status_Unknown = -1,
GWEN_SarFileHeader_Status_Active = 0,
GWEN_SarFileHeader_Status_Deleted
} GWEN_SAR_FILEHEADER_STATUS;
/* post-headers */
GWENHYWFAR_API GWEN_SAR_FILEHEADER_FTYPE GWEN_SarFileHeader_FType_fromString(const char *p_s);
GWENHYWFAR_API GWEN_SAR_FILEHEADER_STATUS GWEN_SarFileHeader_Status_fromString(const char *p_s);
GWENHYWFAR_API const char *GWEN_SarFileHeader_FType_toString(GWEN_SAR_FILEHEADER_FTYPE p_i);
GWENHYWFAR_API const char *GWEN_SarFileHeader_Status_toString(GWEN_SAR_FILEHEADER_STATUS p_i);
GWENHYWFAR_API GWEN_SAR_FILEHEADER *GWEN_SarFileHeader_new(void);
GWENHYWFAR_API void GWEN_SarFileHeader_free(GWEN_SAR_FILEHEADER *p_struct);
GWENHYWFAR_API void GWEN_SarFileHeader_Attach(GWEN_SAR_FILEHEADER *p_struct);
GWENHYWFAR_API GWEN_SAR_FILEHEADER *GWEN_SarFileHeader_dup(const GWEN_SAR_FILEHEADER *p_struct);
GWENHYWFAR_API GWEN_SAR_FILEHEADER *GWEN_SarFileHeader_copy(GWEN_SAR_FILEHEADER *p_struct,
const GWEN_SAR_FILEHEADER *p_src);
GWENHYWFAR_API int GWEN_SarFileHeader_GetStatus(const GWEN_SAR_FILEHEADER *p_struct);
GWENHYWFAR_API uint32_t GWEN_SarFileHeader_GetFlags(const GWEN_SAR_FILEHEADER *p_struct);
GWENHYWFAR_API const char *GWEN_SarFileHeader_GetPath(const GWEN_SAR_FILEHEADER *p_struct);
GWENHYWFAR_API int GWEN_SarFileHeader_GetFileType(const GWEN_SAR_FILEHEADER *p_struct);
GWENHYWFAR_API uint32_t GWEN_SarFileHeader_GetPermissions(const GWEN_SAR_FILEHEADER *p_struct);
GWENHYWFAR_API const GWEN_TIME *GWEN_SarFileHeader_GetAtime(const GWEN_SAR_FILEHEADER *p_struct);
GWENHYWFAR_API const GWEN_TIME *GWEN_SarFileHeader_GetMtime(const GWEN_SAR_FILEHEADER *p_struct);
GWENHYWFAR_API const GWEN_TIME *GWEN_SarFileHeader_GetCtime(const GWEN_SAR_FILEHEADER *p_struct);
GWENHYWFAR_API uint64_t GWEN_SarFileHeader_GetFileSize(const GWEN_SAR_FILEHEADER *p_struct);
GWENHYWFAR_API void GWEN_SarFileHeader_SetStatus(GWEN_SAR_FILEHEADER *p_struct, int p_src);
GWENHYWFAR_API void GWEN_SarFileHeader_AddStatus(GWEN_SAR_FILEHEADER *p_struct, int p_src);
GWENHYWFAR_API void GWEN_SarFileHeader_SubStatus(GWEN_SAR_FILEHEADER *p_struct, int p_src);
GWENHYWFAR_API void GWEN_SarFileHeader_SetFlags(GWEN_SAR_FILEHEADER *p_struct, uint32_t p_src);
GWENHYWFAR_API void GWEN_SarFileHeader_AddFlags(GWEN_SAR_FILEHEADER *p_struct, uint32_t p_src);
GWENHYWFAR_API void GWEN_SarFileHeader_SubFlags(GWEN_SAR_FILEHEADER *p_struct, uint32_t p_src);
GWENHYWFAR_API void GWEN_SarFileHeader_SetPath(GWEN_SAR_FILEHEADER *p_struct, const char *p_src);
GWENHYWFAR_API void GWEN_SarFileHeader_SetFileType(GWEN_SAR_FILEHEADER *p_struct, int p_src);
GWENHYWFAR_API void GWEN_SarFileHeader_SetPermissions(GWEN_SAR_FILEHEADER *p_struct, uint32_t p_src);
GWENHYWFAR_API void GWEN_SarFileHeader_AddPermissions(GWEN_SAR_FILEHEADER *p_struct, uint32_t p_src);
GWENHYWFAR_API void GWEN_SarFileHeader_SubPermissions(GWEN_SAR_FILEHEADER *p_struct, uint32_t p_src);
GWENHYWFAR_API void GWEN_SarFileHeader_SetAtime(GWEN_SAR_FILEHEADER *p_struct, GWEN_TIME *p_src);
GWENHYWFAR_API void GWEN_SarFileHeader_SetMtime(GWEN_SAR_FILEHEADER *p_struct, GWEN_TIME *p_src);
GWENHYWFAR_API void GWEN_SarFileHeader_SetCtime(GWEN_SAR_FILEHEADER *p_struct, GWEN_TIME *p_src);
GWENHYWFAR_API void GWEN_SarFileHeader_SetFileSize(GWEN_SAR_FILEHEADER *p_struct, uint64_t p_src);
/* list1 functions */
GWENHYWFAR_API GWEN_SAR_FILEHEADER_LIST *GWEN_SarFileHeader_List_dup(const GWEN_SAR_FILEHEADER_LIST *p_src);
/* end-headers */
#ifdef __cplusplus
}
#endif
#endif
GWEN_SarFileHeader_copy
GWENHYWFAR_API GWEN_SAR_FILEHEADER * GWEN_SarFileHeader_copy(GWEN_SAR_FILEHEADER *p_struct, const GWEN_SAR_FILEHEADER *p_src)
GWEN_SarFileHeader_GetFlags
GWENHYWFAR_API uint32_t GWEN_SarFileHeader_GetFlags(const GWEN_SAR_FILEHEADER *p_struct)
GWEN_SarFileHeader_GetPath
GWENHYWFAR_API const char * GWEN_SarFileHeader_GetPath(const GWEN_SAR_FILEHEADER *p_struct)
GWEN_SarFileHeader_List_dup
GWENHYWFAR_API GWEN_SAR_FILEHEADER_LIST * GWEN_SarFileHeader_List_dup(const GWEN_SAR_FILEHEADER_LIST *p_src)
GWEN_SarFileHeader_SetPermissions
GWENHYWFAR_API void GWEN_SarFileHeader_SetPermissions(GWEN_SAR_FILEHEADER *p_struct, uint32_t p_src)
GWEN_SarFileHeader_AddStatus
GWENHYWFAR_API void GWEN_SarFileHeader_AddStatus(GWEN_SAR_FILEHEADER *p_struct, int p_src)
GWEN_SarFileHeader_Status_toString
GWENHYWFAR_API const char * GWEN_SarFileHeader_Status_toString(GWEN_SAR_FILEHEADER_STATUS p_i)
GWEN_SAR_FILEHEADER_FTYPE
GWEN_SAR_FILEHEADER_FTYPE
Definition gwen_sar_fileheader.h:129
GWEN_SarFileHeader_FType_Unknown
@ GWEN_SarFileHeader_FType_Unknown
Definition gwen_sar_fileheader.h:130
GWEN_SarFileHeader_FType_None
@ GWEN_SarFileHeader_FType_None
Definition gwen_sar_fileheader.h:131
GWEN_SarFileHeader_FType_Dir
@ GWEN_SarFileHeader_FType_Dir
Definition gwen_sar_fileheader.h:133
GWEN_SarFileHeader_FType_File
@ GWEN_SarFileHeader_FType_File
Definition gwen_sar_fileheader.h:132
GWEN_SarFileHeader_FType_SymLink
@ GWEN_SarFileHeader_FType_SymLink
Definition gwen_sar_fileheader.h:134
GWEN_SarFileHeader_free
GWENHYWFAR_API void GWEN_SarFileHeader_free(GWEN_SAR_FILEHEADER *p_struct)
GWEN_SarFileHeader_SubStatus
GWENHYWFAR_API void GWEN_SarFileHeader_SubStatus(GWEN_SAR_FILEHEADER *p_struct, int p_src)
GWEN_SarFileHeader_GetMtime
GWENHYWFAR_API const GWEN_TIME * GWEN_SarFileHeader_GetMtime(const GWEN_SAR_FILEHEADER *p_struct)
GWEN_SarFileHeader_FType_fromString
GWENHYWFAR_API GWEN_SAR_FILEHEADER_FTYPE GWEN_SarFileHeader_FType_fromString(const char *p_s)
GWEN_SarFileHeader_SetPath
GWENHYWFAR_API void GWEN_SarFileHeader_SetPath(GWEN_SAR_FILEHEADER *p_struct, const char *p_src)
GWEN_SarFileHeader_SetAtime
GWENHYWFAR_API void GWEN_SarFileHeader_SetAtime(GWEN_SAR_FILEHEADER *p_struct, GWEN_TIME *p_src)
GWEN_SarFileHeader_GetCtime
GWENHYWFAR_API const GWEN_TIME * GWEN_SarFileHeader_GetCtime(const GWEN_SAR_FILEHEADER *p_struct)
GWEN_SarFileHeader_new
GWENHYWFAR_API GWEN_SAR_FILEHEADER * GWEN_SarFileHeader_new(void)
GWEN_SAR_FILEHEADER
struct GWEN_SAR_FILEHEADER GWEN_SAR_FILEHEADER
Definition gwen_sar_fileheader.h:123
GWEN_SarFileHeader_FType_toString
GWENHYWFAR_API const char * GWEN_SarFileHeader_FType_toString(GWEN_SAR_FILEHEADER_FTYPE p_i)
GWEN_SarFileHeader_GetStatus
GWENHYWFAR_API int GWEN_SarFileHeader_GetStatus(const GWEN_SAR_FILEHEADER *p_struct)
GWEN_SarFileHeader_GetPermissions
GWENHYWFAR_API uint32_t GWEN_SarFileHeader_GetPermissions(const GWEN_SAR_FILEHEADER *p_struct)
GWEN_SarFileHeader_SetStatus
GWENHYWFAR_API void GWEN_SarFileHeader_SetStatus(GWEN_SAR_FILEHEADER *p_struct, int p_src)
GWEN_SarFileHeader_SetFlags
GWENHYWFAR_API void GWEN_SarFileHeader_SetFlags(GWEN_SAR_FILEHEADER *p_struct, uint32_t p_src)
GWEN_SarFileHeader_AddPermissions
GWENHYWFAR_API void GWEN_SarFileHeader_AddPermissions(GWEN_SAR_FILEHEADER *p_struct, uint32_t p_src)
GWEN_SarFileHeader_Attach
GWENHYWFAR_API void GWEN_SarFileHeader_Attach(GWEN_SAR_FILEHEADER *p_struct)
GWEN_SarFileHeader_SubPermissions
GWENHYWFAR_API void GWEN_SarFileHeader_SubPermissions(GWEN_SAR_FILEHEADER *p_struct, uint32_t p_src)
GWEN_SarFileHeader_SetCtime
GWENHYWFAR_API void GWEN_SarFileHeader_SetCtime(GWEN_SAR_FILEHEADER *p_struct, GWEN_TIME *p_src)
GWEN_SarFileHeader_dup
GWENHYWFAR_API GWEN_SAR_FILEHEADER * GWEN_SarFileHeader_dup(const GWEN_SAR_FILEHEADER *p_struct)
GWEN_SarFileHeader_GetAtime
GWENHYWFAR_API const GWEN_TIME * GWEN_SarFileHeader_GetAtime(const GWEN_SAR_FILEHEADER *p_struct)
GWEN_SarFileHeader_Status_fromString
GWENHYWFAR_API GWEN_SAR_FILEHEADER_STATUS GWEN_SarFileHeader_Status_fromString(const char *p_s)
GWEN_SarFileHeader_SetFileSize
GWENHYWFAR_API void GWEN_SarFileHeader_SetFileSize(GWEN_SAR_FILEHEADER *p_struct, uint64_t p_src)
GWEN_SarFileHeader_GetFileSize
GWENHYWFAR_API uint64_t GWEN_SarFileHeader_GetFileSize(const GWEN_SAR_FILEHEADER *p_struct)
GWEN_SarFileHeader_SetMtime
GWENHYWFAR_API void GWEN_SarFileHeader_SetMtime(GWEN_SAR_FILEHEADER *p_struct, GWEN_TIME *p_src)
GWEN_SarFileHeader_GetFileType
GWENHYWFAR_API int GWEN_SarFileHeader_GetFileType(const GWEN_SAR_FILEHEADER *p_struct)
GWEN_SarFileHeader_SetFileType
GWENHYWFAR_API void GWEN_SarFileHeader_SetFileType(GWEN_SAR_FILEHEADER *p_struct, int p_src)
GWEN_SarFileHeader_AddFlags
GWENHYWFAR_API void GWEN_SarFileHeader_AddFlags(GWEN_SAR_FILEHEADER *p_struct, uint32_t p_src)
GWEN_SAR_FILEHEADER_STATUS
GWEN_SAR_FILEHEADER_STATUS
Definition gwen_sar_fileheader.h:138
GWEN_SarFileHeader_Status_Active
@ GWEN_SarFileHeader_Status_Active
Definition gwen_sar_fileheader.h:140
GWEN_SarFileHeader_Status_Deleted
@ GWEN_SarFileHeader_Status_Deleted
Definition gwen_sar_fileheader.h:141
GWEN_SarFileHeader_Status_Unknown
@ GWEN_SarFileHeader_Status_Unknown
Definition gwen_sar_fileheader.h:139
GWEN_SarFileHeader_SubFlags
GWENHYWFAR_API void GWEN_SarFileHeader_SubFlags(GWEN_SAR_FILEHEADER *p_struct, uint32_t p_src)
GWENHYWFAR_API
#define GWENHYWFAR_API
Definition gwenhywfarapi.h:67
gwentime.h
GWEN_TIME
struct GWEN_TIME GWEN_TIME
Definition gwentime.h:43
list1.h
GWEN_LIST_FUNCTION_LIB_DEFS
#define GWEN_LIST_FUNCTION_LIB_DEFS(t, pr, decl)
Definition list1.h:349
list2.h
This file contains some macros concerning lists.
GWEN_LIST2_FUNCTION_LIB_DEFS
#define GWEN_LIST2_FUNCTION_LIB_DEFS(t, pr, decl)
Definition list2.h:56
GWEN_SAR_FILEHEADER_LIST
Definition listdoc.h:3201
syncio_file.h
types.h