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

/extra/work/state-dev/src/chksvc/chksvc_internal.h

00001 /* ----------------------------------------------------------------------------
00002  * $Id: chksvc_internal.h,v 1.4 2003/07/22 17:06:31 jlewalle Exp $
00003  *
00004  * --------------------------------------------------------------------------*/
00005 #if !defined(_INCLUDED_CHKSVC_INTERNAL_H_HEADER__)
00006 #define _INCLUDED_CHKSVC_INTERNAL_H_HEADER__
00007 
00028 apr_status_t 
00029 chksvc_connection_send(chksvc_frame_t *cf, const char *str, apr_pool_t *pool);
00030 
00044 apr_status_t 
00045 chksvc_connection_receive_until(chksvc_frame_t *cf, const char *str, 
00046                                 apr_pool_t *pool);
00047 
00058 apr_status_t 
00059 chksvc_connection_close(chksvc_frame_t *cf, apr_pool_t *pool);
00060 
00073 apr_status_t 
00074 chksvc_connection_discard(chksvc_frame_t *cf, apr_pool_t *pool);
00075 
00090 #define CHKSVC_GENERAL(service, test, code, str, msg, pool) \
00091   if (test != APR_SUCCESS) return (chksvc_status_create(service, str, code, msg, pool));
00092 
00104 #define CHKSVC_WARNING(test, service, msg, pool) \
00105   CHKSVC_GENERAL(service, test, -1, "WARNING", msg, pool)
00106 
00118 #define CHKSVC_FATAL(test, service, msg, pool) \
00119   CHKSVC_GENERAL(service, test, -2, "FATAL", msg, pool)
00120 
00127 #define CHKSVC_STATUS_SUCCESS(service, pool) \
00128   chksvc_status_create(service, "NORMAL", 0, "Normal", pool)
00129 
00132 #endif

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