HEX
Server: Apache
System: FreeBSD www860.sakura.ne.jp 13.0-RELEASE-p14 FreeBSD 13.0-RELEASE-p14 #2: Mon Dec 9 13:54:55 JST 2024 root@www5301.sakura.ne.jp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
User: yoyo0427 (1306)
PHP: 8.3.8
Disabled: NONE
Upload Files
File: //usr/local/include/net-snmp/agent/agent_read_config.h
/*
 * agent_read_config.h: reads configuration files for extensible sections.
 *
 */
#ifndef _AGENT_READ_CONFIG_H
#define _AGENT_READ_CONFIG_H

#ifdef __cplusplus
extern          "C" {
#endif

    void            init_agent_read_config(const char *);
    void            update_config(void);
    void            snmpd_register_config_handler(const char *token,
                                                  void (*parser) (const
                                                                  char *,
                                                                  char *),
                                                  void (*releaser) (void),
                                                  const char *help);
    void            snmpd_register_const_config_handler(
                                 const char *,
                                 void (*parser) (const char *, const char *),
                                 void (*releaser) (void),
                                 const char *);
    void            snmpd_unregister_config_handler(const char *);
    void            snmpd_store_config(const char *);

    void            netsnmp_set_agent_user_id(int uid);
    void            netsnmp_set_agent_group_id(int gid);
    void            netsnmp_parse_agent_user(const char *token, char *cptr);
    void            netsnmp_parse_agent_group(const char *token, char *cptr);

#ifdef __cplusplus
}
#endif
#endif                          /* _AGENT_READ_CONFIG_H */