summaryrefslogtreecommitdiffstats
path: root/lib/extra_opts.h
blob: 5f89d2b2281505678dd9d79d9c7227ad3c1f3c1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _EXTRA_OPTS_H_
#define _EXTRA_OPTS_H_

/*
 * extra_opts.h: routines for loading nagios-plugin defaults from ini
 * configuration files.
 */

/* np_extra_opts: Process the --extra-opts arguments and create a new argument
 * array load the default configuration (if present) for
 * a plugin from the ini file
 */
char **np_extra_opts(int argc, char **argv, const char *plugin_name, int *argc_new);

#endif /* _EXTRA_OPTS_H_ */