extra_opts.h 433 B

123456789101112131415
  1. #ifndef _EXTRA_OPTS_H_
  2. #define _EXTRA_OPTS_H_
  3. /*
  4. * extra_opts.h: routines for loading nagios-plugin defaults from ini
  5. * configuration files.
  6. */
  7. /* np_extra_opts: Process the --extra-opts arguments and create a new argument
  8. * array load the default configuration (if present) for
  9. * a plugin from the ini file
  10. */
  11. char **np_extra_opts(int argc, char **argv, const char *plugin_name, int *argc_new);
  12. #endif /* _EXTRA_OPTS_H_ */