mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-04 10:28:48 +00:00
This diff is for the DeviceAtlas convertor. This patch adds the following converters : deviceatlas-json-file deviceatlas-log-level deviceatlas-property-separator First, the configuration keywords handling (only the log level configuration part does not end the haproxy process if it is wrongly set, it fallbacks to the default level). Furthermore, init, deinit phases and the API lookup phase, the da_haproxy function which is fed by the input provided and set all necessary properties chosen via the configuration to the output, separated by the separator.
14 lines
298 B
C
14 lines
298 B
C
#ifndef MOBI_DA_DAC_HAPROXY_H
|
|
#define MOBI_DA_DAC_HAPROXY_H
|
|
#ifdef USE_DEVICEATLAS
|
|
|
|
#include <types/global.h>
|
|
#include <dac.h>
|
|
|
|
void da_register_cfgkeywords(void);
|
|
int init_deviceatlas(void);
|
|
void deinit_deviceatlas(void);
|
|
int da_haproxy(const struct arg *, struct sample *, void *);
|
|
#endif
|
|
#endif
|