| 1 | /* |
| 2 | * AIDE (Advanced Intrusion Detection Environment) |
| 3 | * |
| 4 | * Copyright (C) 1999-2002,2006,2010-2011,2019,2022,2023,2025 Rami Lehti, Pablo |
| 5 | * 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 _DO_MD_H_INCLUDED |
| 23 | #define _DO_MD_H_INCLUDEDcxx . . $ `include/do_md.h:23:9`! |
| 24 | |
| 25 | #include "config.h"cxx . . $ `<file>/include/config.h`/ |
| 26 | #include <stdbool.h> |
| 27 | #include <stdio.h> |
| 28 | #include "db_disk.h"cxx . . $ `<file>/include/db_disk.h`/ |
| 29 | #include "list.h"cxx . . $ `<file>/include/list.h`/ |
| 30 | #include "db_config.h"cxx . . $ `<file>/include/db_config.h`/ |
| 31 | #include "md.h"cxx . . $ `<file>/include/md.h`/ |
| 32 | |
| 33 | listcxx . . $ list#* do_mdcxx . . $ do_md(88cc64b6a1719dc0).(listcxx . . $ list#* file_lst,db_configcxx . . $ db_config#* conf); |
| 34 | int stat_cmpcxx . . $ stat_cmp(5f41c328ced4dd81).(struct statcxx . . $ stat#*, struct statcxx . . $ stat#*, boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`!); |
| 35 | md_hashsumscxx . . $ md_hashsums# calc_hashsumscxx . . $ calc_hashsums(e5558d7452ce5e04).(disk_entrycxx . . $ disk_entry# *, DB_ATTR_TYPEcxx . . $ `include/attributes.h:25:9`!, ssize_tcxx . . $ ssize_t#, boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`!, const char *); |
| 36 | |
| 37 | #ifdef WITH_ACL |
| 38 | void acl2line(db_line* line, int, const char *); |
| 39 | #endif |
| 40 | |
| 41 | #ifdef WITH_XATTR |
| 42 | void xattrs2line(db_line *line, int, const char *); |
| 43 | #endif |
| 44 | |
| 45 | #ifdef WITH_SELINUX |
| 46 | void selinux2line(db_line *line, int, const char *); |
| 47 | #endif |
| 48 | |
| 49 | #ifdef WITH_E2FSATTRS |
| 50 | void e2fsattrs2line(db_line* line, int, const char *); |
| 51 | #endif |
| 52 | |
| 53 | #ifdef WITH_CAPABILITIES |
| 54 | void capabilities2line(db_line* line, int, const char *); |
| 55 | #endif |
| 56 | |
| 57 | #endif /* _DO_MD_H_INCLUDED */ |