mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-02-03 18:49:29 -05:00
Change the indentation and formatting of the code in lib/parse_ini.c. This breaks patches against that file and makes it harder to track its history, but it (hopefully) improves readability a lot.
22 lines
576 B
C
22 lines
576 B
C
#ifndef _PARSE_INI_H_
|
|
#define _PARSE_INI_H_
|
|
|
|
/*
|
|
* parse_ini.h: routines for loading monitoring-plugin defaults from ini
|
|
* configuration files.
|
|
*/
|
|
|
|
/* np_arg_list is a linked list of arguments passed between the ini
|
|
* parser and the argument parser to construct the final array */
|
|
typedef struct np_arg_el {
|
|
char *arg;
|
|
struct np_arg_el *next;
|
|
} np_arg_list;
|
|
|
|
/* np_load_defaults: load the default configuration (if present) for
|
|
* a plugin from the ini file
|
|
*/
|
|
np_arg_list *np_get_defaults(const char *locator, const char *default_section);
|
|
|
|
#endif /* _PARSE_INI_H_ */
|
|
|