文件操作 - parse_ini.h
返回文件管理
返回主菜单
删除本文件
文件: /usr/local/src/nagios-plugins-2.4.2/lib/parse_ini.h
编辑文件内容
#ifndef NAGIOS_PARSE_INI_H_INCLUDED #define NAGIOS_PARSE_INI_H_INCLUDED /* * parse_ini.h: routines for loading nagios-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 /* NAGIOS_PARSE_INI_H_INCLUDED */
修改文件时间
将文件时间修改为当前时间的前一年
删除文件