00001
00002
00003
00004
00005 #if !defined(_INCLUDED_MOD_DISK_H_HEADER__)
00006 #define _INCLUDED_MOD_DISK_H_HEADER__
00007
00008
00009 #if !defined(ACTIVE_MODULE)
00010 # define ACTIVE_MODULE "mod_disk"
00011 #endif
00012
00013 #include <stated.h>
00014
00026 #define SMD_MODDISK_NODE_WARNING_XPATH "/StateConf/Disk/Node[@IP='%s']/@Warning"
00027
00033 #define SMD_MODDISK_NODE_CRITICAL_XPATH "/StateConf/Disk/Node[@IP='%s']/@Critical"
00034
00040 #define SMD_MODDISK_PART_WARNING_XPATH "/StateConf/Disk/Node[@IP='%s']/Partition[@Name='%s']/@Warning"
00041
00047 #define SMD_MODDISK_PART_CRITICAL_XPATH "/StateConf/Disk/Node[@IP='%s']/Partition[@Name='%s']/@Critical"
00048
00052 #define SMD_MODDISK_PART_IGNORE_XPATH "/StateConf/Disk/Node[@IP='%s']/Partition[@Name='%s']/@Ignore"
00053
00064 sul_error_t *
00065 moddisk_initialize(smd_module_system_t *modsys, sul_cfg_block_t *cfg,
00066 apr_pool_t *pool);
00067
00076 sul_error_t *
00077 moddisk_destroy(apr_pool_t *pool);
00078
00081 #endif