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