/usr/include/gwenhywfar4/gwenhywfar/gwen_sar_fileheader.h is in libgwenhywfar-core-dev 4.20.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 | /**********************************************************
* 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);
/** Constructor. */
GWENHYWFAR_API GWEN_SAR_FILEHEADER *GWEN_SarFileHeader_new(void);
/** Destructor. */
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);
/** Getter.
* Use this function to get the member "status"
*/
GWENHYWFAR_API int GWEN_SarFileHeader_GetStatus(const GWEN_SAR_FILEHEADER *p_struct);
/** Getter.
* Use this function to get the member "flags"
*/
GWENHYWFAR_API uint32_t GWEN_SarFileHeader_GetFlags(const GWEN_SAR_FILEHEADER *p_struct);
/** Getter.
* Use this function to get the member "path"
*/
GWENHYWFAR_API const char *GWEN_SarFileHeader_GetPath(const GWEN_SAR_FILEHEADER *p_struct);
/** Getter.
* Use this function to get the member "fileType"
*/
GWENHYWFAR_API int GWEN_SarFileHeader_GetFileType(const GWEN_SAR_FILEHEADER *p_struct);
/** Getter.
* Use this function to get the member "permissions"
*/
GWENHYWFAR_API uint32_t GWEN_SarFileHeader_GetPermissions(const GWEN_SAR_FILEHEADER *p_struct);
/** Getter.
* Use this function to get the member "atime"
*/
GWENHYWFAR_API const GWEN_TIME *GWEN_SarFileHeader_GetAtime(const GWEN_SAR_FILEHEADER *p_struct);
/** Getter.
* Use this function to get the member "mtime"
*/
GWENHYWFAR_API const GWEN_TIME *GWEN_SarFileHeader_GetMtime(const GWEN_SAR_FILEHEADER *p_struct);
/** Getter.
* Use this function to get the member "ctime"
*/
GWENHYWFAR_API const GWEN_TIME *GWEN_SarFileHeader_GetCtime(const GWEN_SAR_FILEHEADER *p_struct);
/** Getter.
* Use this function to get the member "fileSize"
*/
GWENHYWFAR_API uint64_t GWEN_SarFileHeader_GetFileSize(const GWEN_SAR_FILEHEADER *p_struct);
/** Setter.
* Use this function to set the member "status"
*/
GWENHYWFAR_API void GWEN_SarFileHeader_SetStatus(GWEN_SAR_FILEHEADER *p_struct, int p_src);
/** Add flags.
* Use this function to add flags to the member "status"
*/
GWENHYWFAR_API void GWEN_SarFileHeader_AddStatus(GWEN_SAR_FILEHEADER *p_struct, int p_src);
/** Sub flags.
* Use this function to sub flags to the member "status"
*/
GWENHYWFAR_API void GWEN_SarFileHeader_SubStatus(GWEN_SAR_FILEHEADER *p_struct, int p_src);
/** Setter.
* Use this function to set the member "flags"
*/
GWENHYWFAR_API void GWEN_SarFileHeader_SetFlags(GWEN_SAR_FILEHEADER *p_struct, uint32_t p_src);
/** Add flags.
* Use this function to add flags to the member "flags"
*/
GWENHYWFAR_API void GWEN_SarFileHeader_AddFlags(GWEN_SAR_FILEHEADER *p_struct, uint32_t p_src);
/** Sub flags.
* Use this function to sub flags to the member "flags"
*/
GWENHYWFAR_API void GWEN_SarFileHeader_SubFlags(GWEN_SAR_FILEHEADER *p_struct, uint32_t p_src);
/** Setter.
* Use this function to set the member "path"
*/
GWENHYWFAR_API void GWEN_SarFileHeader_SetPath(GWEN_SAR_FILEHEADER *p_struct, const char *p_src);
/** Setter.
* Use this function to set the member "fileType"
*/
GWENHYWFAR_API void GWEN_SarFileHeader_SetFileType(GWEN_SAR_FILEHEADER *p_struct, int p_src);
/** Setter.
* Use this function to set the member "permissions"
*/
GWENHYWFAR_API void GWEN_SarFileHeader_SetPermissions(GWEN_SAR_FILEHEADER *p_struct, uint32_t p_src);
/** Add flags.
* Use this function to add flags to the member "permissions"
*/
GWENHYWFAR_API void GWEN_SarFileHeader_AddPermissions(GWEN_SAR_FILEHEADER *p_struct, uint32_t p_src);
/** Sub flags.
* Use this function to sub flags to the member "permissions"
*/
GWENHYWFAR_API void GWEN_SarFileHeader_SubPermissions(GWEN_SAR_FILEHEADER *p_struct, uint32_t p_src);
/** Setter.
* Use this function to set the member "atime"
*/
GWENHYWFAR_API void GWEN_SarFileHeader_SetAtime(GWEN_SAR_FILEHEADER *p_struct, GWEN_TIME *p_src);
/** Setter.
* Use this function to set the member "mtime"
*/
GWENHYWFAR_API void GWEN_SarFileHeader_SetMtime(GWEN_SAR_FILEHEADER *p_struct, GWEN_TIME *p_src);
/** Setter.
* Use this function to set the member "ctime"
*/
GWENHYWFAR_API void GWEN_SarFileHeader_SetCtime(GWEN_SAR_FILEHEADER *p_struct, GWEN_TIME *p_src);
/** Setter.
* Use this function to set the member "fileSize"
*/
GWENHYWFAR_API void GWEN_SarFileHeader_SetFileSize(GWEN_SAR_FILEHEADER *p_struct, uint64_t p_src);
GWENHYWFAR_API GWEN_SAR_FILEHEADER_LIST *GWEN_SarFileHeader_List_dup(const GWEN_SAR_FILEHEADER_LIST *p_src);
#ifdef __cplusplus
}
#endif
#endif
|