new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / headers / mq_op.h
1 /* Copyright (C) 2009 Trend Micro Inc.
2  * All rights reserved.
3  *
4  * This program is a free software; you can redistribute it
5  * and/or modify it under the terms of the GNU General Public
6  * License (version 2) as published by the FSF - Free Software
7  * Foundation
8  */
9
10 #ifndef _MQ__H
11 #define _MQ__H
12
13 /* Default queues */
14 #define LOCALFILE_MQ    '1'
15 #define SYSLOG_MQ       '2'
16 #define HOSTINFO_MQ     '3'
17 #define SECURE_MQ       '4'
18 #define SYSCHECK_MQ     '8'
19 #define ROOTCHECK_MQ    '9'
20
21 /* Queues for additional log types */
22 #define MYSQL_MQ        'a'
23 #define POSTGRESQL_MQ   'b'
24
25 int StartMQ(const char *key, short int type) __attribute__((nonnull));
26
27 int SendMSG(int queue, const char *message, const char *locmsg, char loc) __attribute__((nonnull));
28
29 #endif
30