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