X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;ds=sidebyside;f=src%2Fanalysisd%2Foutput%2Fzeromq.h;fp=src%2Fanalysisd%2Foutput%2Fzeromq.h;h=2f35696503f3738491152ac077bd55d7d91e57d7;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hp=0000000000000000000000000000000000000000;hpb=927951d1c1ad45ba9e7325f07d996154a91c911b;p=ossec-hids.git diff --git a/src/analysisd/output/zeromq.h b/src/analysisd/output/zeromq.h new file mode 100644 index 0000000..2f35696 --- /dev/null +++ b/src/analysisd/output/zeromq.h @@ -0,0 +1,29 @@ +/* Copyright (C) 2015 Trend Micro Inc. + * All rights reserved. + * + * This program is a free software; you can redistribute it + * and/or modify it under the terms of the GNU General Public + * License (version 2) as published by the FSF - Free Software + * Foundation. + */ + +#ifdef ZEROMQ_OUTPUT_ENABLED + +#ifndef _ZEROMQ_H_ +#define _ZEROMQ_H_ + +#include "eventinfo.h" +#include + +void zeromq_output_event(const Eventinfo *lf); +#if CZMQ_VERSION_MAJOR == 2 +void zeromq_output_start(const char *uri); +#elif CZMQ_VERSION_MAJOR >= 3 +void zeromq_output_start(const char *uri, const char *client_cert_path, const char *server_cert_path); +#endif +void zeromq_output_end(void); + + +#endif /* _ZEROMQ_H_ */ + +#endif /* ZEROMQ_OUTPUT_ENABLED */