/* $Date: 2008-01-18 07:11:17 +0800 (Fri, 18 Jan 2008) $ $Id: www-mib-services.h 8676 2008-01-17 23:11:17Z ispringer $ harrie@covalent.net
 */
#ifndef	__WWW_MIB_SERVICES_H__
#define	__WWW_MIB_SERVICES_H__

/* columnar objects of the wwwServiceEntry */
#define	WWWSERVICEDESCRIPTION	2
#define	WWWSERVICECONTACT	3
#define	WWWSERVICEPROTOCOL	4
#define	WWWSERVICENAME	5
#define	WWWSERVICETYPE	6
#define	WWWSERVICESTARTTIME	7
#define	WWWSERVICEOPERSTATUS	8
#define	WWWSERVICELASTCHANGE	9

/* enumerated wwwServiceOperStatus */
#define OPERSTATUS_DOWN		1
#define OPERSTATUS_RUNNING	2
#define OPERSTATUS_HALTED	3
#define OPERSTATUS_CONGESTED	4
#define OPERSTATUS_RESTARTING	5

void init_www_mib_services(void);
server_rec *get_admin_wwwService_row(struct variable *vp,
		oid *name, size_t *namelength, oid *newname, 
		size_t *newname_length, int exact, server_rec *server);

#endif /* __WWW_MIB_SERVICES_H__ */
