]> git.itanic.dy.fi Git - rrdd/blob - parser.h
process.c: Introduce work queues
[rrdd] / parser.h
1 #ifndef _PARSER_H
2 #define _PARSER_H
3
4 typedef int (parse_fn_t)(char *rrd_data, const char **parser_data);
5
6 struct parser_info {
7         struct parser_info *next;
8         const char *name;
9         parse_fn_t *parse;
10 };
11
12 int register_parser(struct parser_info *info);
13 struct parser_info *str_to_parser(const char *str);
14
15 #define RRD_DATA_MAX_LEN        4096
16
17 #endif