| 1 | /* |
| 2 | * AIDE (Advanced Intrusion Detection Environment) |
| 3 | * |
| 4 | * Copyright (C) 1999-2002,2004,2006,2019-2020,2021,2023-2025 Rami Lehti, |
| 5 | * Pablo Virolainen, Richard van den Berg, Hannes von Haugwitz |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU General Public License as |
| 9 | * published by the Free Software Foundation; either version 2 of the |
| 10 | * License, or (at your option) any later version. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, but |
| 13 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License along |
| 18 | * with this program; if not, write to the Free Software Foundation, Inc., |
| 19 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 20 | */ |
| 21 | |
| 22 | #ifndef _ATTRIBUTES_H_INCLUDED |
| 23 | #define _ATTRIBUTES_H_INCLUDEDcxx . . $ `include/attributes.h:23:9`! |
| 24 | |
| 25 | #define DB_ATTR_TYPEcxx . . $ `include/attributes.h:25:9`! unsigned long long |
| 26 | #define DB_ATTR_UNDEFcxx . . $ `include/attributes.h:26:9`! ((DB_ATTR_TYPE) -1) |
| 27 | |
| 28 | #define ATTRcxx . . $ `include/attributes.h:28:9`!(attribute) (1LLU<<attribute) |
| 29 | |
| 30 | typedef enumcxx . . $ $anonymous_type_bb8296fff58edf70_0# { |
| 31 | attr_filenamecxx . . $ attr_filename.=0, |
| 32 | attr_linknamecxx . . $ attr_linkname., |
| 33 | attr_permcxx . . $ attr_perm., |
| 34 | attr_uidcxx . . $ attr_uid., |
| 35 | attr_gidcxx . . $ attr_gid., |
| 36 | attr_sizecxx . . $ attr_size., |
| 37 | attr_atimecxx . . $ attr_atime., |
| 38 | attr_ctimecxx . . $ attr_ctime., |
| 39 | attr_mtimecxx . . $ attr_mtime., |
| 40 | attr_inodecxx . . $ attr_inode., |
| 41 | attr_bcountcxx . . $ attr_bcount., |
| 42 | attr_linkcountcxx . . $ attr_linkcount., |
| 43 | attr_md5cxx . . $ attr_md5., |
| 44 | attr_sha1cxx . . $ attr_sha1., |
| 45 | attr_rmd160cxx . . $ attr_rmd160., |
| 46 | attr_tigercxx . . $ attr_tiger., |
| 47 | attr_crc32cxx . . $ attr_crc32., |
| 48 | attr_havalcxx . . $ attr_haval., |
| 49 | attr_gostr3411_94cxx . . $ attr_gostr3411_94., |
| 50 | attr_crc32bcxx . . $ attr_crc32b., |
| 51 | attr_attrcxx . . $ attr_attr., |
| 52 | attr_aclcxx . . $ attr_acl., |
| 53 | attr_bsizecxx . . $ attr_bsize., |
| 54 | attr_rdevcxx . . $ attr_rdev., |
| 55 | attr_devcxx . . $ attr_dev., |
| 56 | attr_allhashsumscxx . . $ attr_allhashsums., |
| 57 | attr_sizegcxx . . $ attr_sizeg., |
| 58 | attr_checkinodecxx . . $ attr_checkinode., |
| 59 | attr_allownewfilecxx . . $ attr_allownewfile., |
| 60 | attr_allowrmfilecxx . . $ attr_allowrmfile., |
| 61 | attr_sha256cxx . . $ attr_sha256., |
| 62 | attr_sha512cxx . . $ attr_sha512., |
| 63 | attr_selinuxcxx . . $ attr_selinux., |
| 64 | attr_xattrscxx . . $ attr_xattrs., |
| 65 | attr_whirlpoolcxx . . $ attr_whirlpool., |
| 66 | attr_ftypecxx . . $ attr_ftype., |
| 67 | attr_e2fsattrscxx . . $ attr_e2fsattrs., |
| 68 | attr_capabilitiescxx . . $ attr_capabilities., |
| 69 | attr_stribog256cxx . . $ attr_stribog256., |
| 70 | attr_stribog512cxx . . $ attr_stribog512., |
| 71 | attr_growingcxx . . $ attr_growing., |
| 72 | attr_compressedcxx . . $ attr_compressed., |
| 73 | attr_sha512_256cxx . . $ attr_sha512_256., |
| 74 | attr_sha3_256cxx . . $ attr_sha3_256., |
| 75 | attr_sha3_512cxx . . $ attr_sha3_512., |
| 76 | attr_fs_typecxx . . $ attr_fs_type., |
| 77 | attr_unknowncxx . . $ attr_unknown. |
| 78 | } ATTRIBUTEcxx . . $ ATTRIBUTE#; |
| 79 | |
| 80 | typedef structcxx . . $ $anonymous_type_bb8296fff58edf70_1# { |
| 81 | DB_ATTR_TYPEcxx . . $ `include/attributes.h:25:9`! attrcxx . . $ $anonymous_type_bb8296fff58edf70_1#attr.; |
| 82 | char *config_namecxx . . $ $anonymous_type_bb8296fff58edf70_1#config_name.; |
| 83 | char *details_stringcxx . . $ $anonymous_type_bb8296fff58edf70_1#details_string.; |
| 84 | char *db_namecxx . . $ $anonymous_type_bb8296fff58edf70_1#db_name.; |
| 85 | char *field_namecxx . . $ $anonymous_type_bb8296fff58edf70_1#field_name.; |
| 86 | char summary_charcxx . . $ $anonymous_type_bb8296fff58edf70_1#summary_char.; |
| 87 | } attributes_tcxx . . $ attributes_t#; |
| 88 | |
| 89 | #define MAX_WIDTH_DETAILS_STRINGcxx . . $ `include/attributes.h:89:9`! 10 |
| 90 | |
| 91 | extern attributes_tcxx . . $ attributes_t# attributescxx . . $ attributes.[]; |
| 92 | extern DB_ATTR_TYPEcxx . . $ `include/attributes.h:25:9`! num_attrscxx . . $ num_attrs.; |
| 93 | |
| 94 | /* memory for the returned string is obtained with malloc(3), and should be freed with free(3). */ |
| 95 | char *diff_attributescxx . . $ diff_attributes(39cd1df6f24d7ad6).(DB_ATTR_TYPEcxx . . $ `include/attributes.h:25:9`!, DB_ATTR_TYPEcxx . . $ `include/attributes.h:25:9`!); |
| 96 | |
| 97 | /* memory for the returned string is obtained with malloc(3), and should be freed with free(3). */ |
| 98 | char *diff_database_attributescxx . . $ diff_database_attributes(39cd1df6f24d7ad6).(DB_ATTR_TYPEcxx . . $ `include/attributes.h:25:9`!, DB_ATTR_TYPEcxx . . $ `include/attributes.h:25:9`!); |
| 99 | #endif |