Main Page | Modules | Data Structures | File List | Data Fields

/extra/work/state-dev/src/modules/disk/mod_disk.h

00001 /* ----------------------------------------------------------------------------
00002  * $Id: mod_disk.h,v 1.7 2004/01/14 21:44:34 jlewalle Exp $
00003  *
00004  * --------------------------------------------------------------------------*/
00005 #if !defined(_INCLUDED_MOD_DISK_H_HEADER__)
00006 #define _INCLUDED_MOD_DISK_H_HEADER__
00007 
00008 /* Setup the proper Active module if we're unassigned. */
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

Generated on Wed Apr 28 09:38:33 2004 for State by doxygen 1.3.5