00001
00002
00003
00004
00005 #if !defined(_INCLUDED_CHKSVC_H_HEADER__)
00006 #define _INCLUDED_CHKSVC_H_HEADER__
00007
00008 #include <apr_general.h>
00009 #include <apr_strings.h>
00010 #include <apr_pools.h>
00011 #include <apr_network_io.h>
00012 #include <apr_hash.h>
00013
00014
00015 #if !defined(ACTIVE_MODULE)
00016 # define ACTIVE_MODULE "chksvc"
00017 #endif
00018
00019 #include <sul_general.h>
00020
00021 #if defined(HAVE_SSL)
00022 #include <openssl/rsa.h>
00023 #include <openssl/crypto.h>
00024 #include <openssl/x509.h>
00025 #include <openssl/pem.h>
00026 #include <openssl/ssl.h>
00027 #include <openssl/err.h>
00028 #endif
00029
00056 #if defined(WIN32)
00057 #if defined(LIBCHKSVC_EXPORTS)
00058 #define CHKSVC_DECLARE(rv) __declspec(dllexport) rv
00059 #else
00060 #define CHKSVC_DECLARE(rv) __declspec(dllimport) rv
00061 #endif
00062 #else
00063 #define CHKSVC_DECLARE(rv) rv
00064 #endif
00065
00066 #include "chksvc_version.h"
00067 #include "chksvc_service.h"
00068 #include "chksvc_sup.h"
00069 #include "chksvc_checks.h"
00070 #include "chksvc_internal.h"
00071
00072 CHKSVC_DECLARE(chksvc_status_t *)
00073 check_service_http(chksvc_frame_t *cf, chksvc_service_t *service,
00074 apr_pool_t *pool);
00075
00076 CHKSVC_DECLARE(chksvc_status_t *)
00077 check_service_ftp(chksvc_frame_t *cf, chksvc_service_t *service,
00078 apr_pool_t *pool);
00079
00080 CHKSVC_DECLARE(chksvc_status_t *)
00081 check_service_imap(chksvc_frame_t *cf, chksvc_service_t *service,
00082 apr_pool_t *pool);
00083
00084 CHKSVC_DECLARE(chksvc_status_t *)
00085 check_service_smtp(chksvc_frame_t *cf, chksvc_service_t *service,
00086 apr_pool_t *pool);
00087
00088 CHKSVC_DECLARE(chksvc_status_t *)
00089 check_service_ssh(chksvc_frame_t *cf, chksvc_service_t *service,
00090 apr_pool_t *pool);
00091
00092 CHKSVC_DECLARE(chksvc_status_t *)
00093 check_service_pop(chksvc_frame_t *cf, chksvc_service_t *service,
00094 apr_pool_t *pool);
00095
00096 CHKSVC_DECLARE(chksvc_status_t *)
00097 check_service_tcp(chksvc_frame_t *cf, chksvc_service_t *service,
00098 apr_pool_t *pool);
00099
00100 CHKSVC_DECLARE(chksvc_status_t *)
00101 check_service_ypserv(chksvc_frame_t *cf, chksvc_service_t *service,
00102 apr_pool_t *pool);
00103
00104 CHKSVC_DECLARE(chksvc_status_t *)
00105 check_service_ypbind(chksvc_frame_t *cf, chksvc_service_t *service,
00106 apr_pool_t *pool);
00107
00108 CHKSVC_DECLARE(chksvc_status_t *)
00109 check_service_nfs(chksvc_frame_t *cf, chksvc_service_t *service,
00110 apr_pool_t *pool);
00111
00112 #endif