| 1 | /* |
| 2 | * AIDE (Advanced Intrusion Detection Environment) |
| 3 | * |
| 4 | * Copyright (C) 1999-2002, 2004-2006, 2010-2011, 2019, 2022, 2024 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 _AIDE_H_INCLUDED |
| 23 | #define _AIDE_H_INCLUDED |
| 24 | |
| 25 | #include "config.h" |
| 26 | #include "db_config.h" |
| 27 | |
| 28 | #ifndef O_NOATIME |
| 29 | #if defined(__linux__) && (defined(__i386__) || defined(__PPC__)) |
| 30 | #define O_NOATIME 01000000 |
| 31 | #else |
| 32 | #define O_NOATIME 0 |
| 33 | #endif |
| 34 | #endif |
| 35 | |
| 36 | #ifdef strtoimax |
| 37 | # define HAVE_STRTOIMAX |
| 38 | #endif |
| 39 | |
| 40 | #define ARGUMENT_SIZE 65536 |
| 41 | |
| 42 | /* This is a structure that has all configuration info */ |
| 43 | extern db_config* conf; |
| 44 | |
| 45 | #endif |
| 46 |