new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / analysisd / output / zeromq.h
1 /* Copyright (C) 2015 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 #ifdef ZEROMQ_OUTPUT_ENABLED
11
12 #ifndef _ZEROMQ_H_
13 #define _ZEROMQ_H_
14
15 #include "eventinfo.h"
16 #include <czmq.h>
17
18 void zeromq_output_event(const Eventinfo *lf);
19 #if CZMQ_VERSION_MAJOR == 2
20 void zeromq_output_start(const char *uri);
21 #elif CZMQ_VERSION_MAJOR >= 3
22 void zeromq_output_start(const char *uri, const char *client_cert_path, const char *server_cert_path);
23 #endif
24 void zeromq_output_end(void);
25
26
27 #endif /* _ZEROMQ_H_ */
28
29 #endif /* ZEROMQ_OUTPUT_ENABLED */