00001 /* ---------------------------------------------------------------------------- 00002 * $Id: chksvc_checks.h,v 1.5 2003/10/06 20:47:09 jlewalle Exp $ 00003 * 00004 * --------------------------------------------------------------------------*/ 00005 #if !defined(_INCLUDED_CHKSVC_CHECKS_H_HEADER__) 00006 #define _INCLUDED_CHKSVC_CHECKS_H_HEADER__ 00007 00022 typedef chksvc_status_t *(*chksvc_check_fnptr_t)(chksvc_frame_t*, chksvc_service_t*, apr_pool_t*); 00023 00033 CHKSVC_DECLARE(apr_status_t) 00034 chksvc_initialize(apr_pool_t *pool); 00035 00045 CHKSVC_DECLARE(void) 00046 chksvc_register(const char *name, chksvc_check_fnptr_t fn); 00047 00055 CHKSVC_DECLARE(void) 00056 chksvc_unregister(const char *name); 00057 00078 CHKSVC_DECLARE(chksvc_status_t *) 00079 chksvc_check(const char *addr, short port, const char *type, 00080 sul_boolean_t use_ssl, apr_pool_t *pool); 00081 00094 CHKSVC_DECLARE(chksvc_status_t *) 00095 chksvc_check_service(chksvc_service_t *service, apr_pool_t *pool); 00096 00099 #endif