/usr/include/libprelude/prelude.h is in libprelude-dev 4.1.0-4.
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 | /*****
*
* Copyright (C) 2004-2017 CS-SI. All Rights Reserved.
* Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
*
* This file is part of the Prelude library.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
*****/
#ifndef _LIBPRELUDE_PRELUDE_H
#define _LIBPRELUDE_PRELUDE_H
/*
* LIBPRELUDE_VERSION:
* Version of libprelude this header come from.
*
* This is mostly used by the libprelude detection routine in libprelude.m4
* to make sure that the header version is consistant with the linked library.
*/
#define LIBPRELUDE_VERSION "4.1.0"
#define LIBPRELUDE_RELEASE_LEVEL_ALPHA 0xa
#define LIBPRELUDE_RELEASE_LEVEL_BETA 0xb
#define LIBPRELUDE_RELEASE_LEVEL_RC 0xc
#define LIBPRELUDE_RELEASE_LEVEL_FINAL 0xf
#define LIBPRELUDE_MAJOR_VERSION 4
#define LIBPRELUDE_MINOR_VERSION 1
#define LIBPRELUDE_MICRO_VERSION 0
#define LIBPRELUDE_LEVEL_VERSION LIBPRELUDE_RELEASE_LEVEL_FINAL
#define LIBPRELUDE_SERIAL_VERSION 0
#define LIBPRELUDE_HEXVERSION ((LIBPRELUDE_MAJOR_VERSION << 24) | \
(LIBPRELUDE_MINOR_VERSION << 16) | \
(LIBPRELUDE_MICRO_VERSION << 8) | \
(LIBPRELUDE_LEVEL_VERSION << 4) | \
(LIBPRELUDE_SERIAL_VERSION << 0))
#include "prelude-inttypes.h"
#include "prelude-macros.h"
#include "common.h"
#include "prelude-client.h"
#include "prelude-connection.h"
#include "prelude-connection-pool.h"
#include "prelude-error.h"
#include "prelude-io.h"
#include "prelude-option.h"
#include "prelude-async.h"
#include "prelude-error.h"
#include "prelude-plugin.h"
#include "prelude-msg.h"
#include "prelude-msgbuf.h"
#include "prelude-timer.h"
#include "idmef.h"
#ifdef __cplusplus
extern "C" {
#endif
int prelude_init(int *argc, char **argv);
void prelude_deinit(void);
int prelude_parse_version(const char *version, unsigned int *out);
const char *prelude_check_version(const char *req_version);
int prelude_thread_init(void *future_use);
void prelude_fork_prepare(void);
void prelude_fork_parent(void);
void prelude_fork_child(void);
#ifdef __cplusplus
}
#endif
#endif /* _LIBPRELUDE_PRELUDE_H */
|