Source
17
17
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18
18
**/
19
19
20
20
#ifndef ZABBIX_EXPORT_H
21
21
#define ZABBIX_EXPORT_H
22
22
23
23
#define ZBX_FLAG_EXPTYPE_EVENTS 1
24
24
#define ZBX_FLAG_EXPTYPE_HISTORY 2
25
25
#define ZBX_FLAG_EXPTYPE_TRENDS 4
26
26
27
-
int zbx_validate_export_type(void);
28
-
int zbx_is_export_enabled(int flags);
27
+
int zbx_validate_export_type(char *export_type, uint32_t *export_mask);
28
+
int zbx_is_export_enabled(uint32_t flags);
29
29
int zbx_export_init(char **error);
30
30
31
31
void zbx_problems_export_init(const char *process_name, int process_num);
32
32
void zbx_problems_export_write(const char *buf, size_t count);
33
33
void zbx_problems_export_flush(void);
34
34
35
35
void zbx_history_export_init(const char *process_name, int process_num);
36
-
void zbx_trends_export_init(const char *process_name, int process_num);
37
36
void zbx_history_export_write(const char *buf, size_t count);
38
37
void zbx_history_export_flush(void);
38
+
39
+
void zbx_trends_export_init(const char *process_name, int process_num);
39
40
void zbx_trends_export_write(const char *buf, size_t count);
40
41
void zbx_trends_export_flush(void);
41
42
42
43
#endif