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

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

00001 /* ----------------------------------------------------------------------------
00002  * $Id: chksvc_sup.h,v 1.6 2003/08/22 22:01:59 jlewalle Exp $
00003  *
00004  * --------------------------------------------------------------------------*/
00005 #if !defined(_INCLUDED_CHKSVC_SUP_H_HEADER__)
00006 #define _INCLUDED_CHKSVC_SUP_H_HEADER__
00007 
00019 typedef struct chksvc_status_t
00020 {
00021   char *str;
00022   char *msg;
00023   long code;
00024   float elapsed;
00025 } chksvc_status_t;
00026 
00040 chksvc_status_t *
00041 chksvc_status_create(chksvc_service_t *service, const char *str, long code,
00042                      const char *msg, apr_pool_t *pool);
00043 
00048 typedef struct chksvc_frame_t
00049 {
00050   chksvc_service_t *service;
00051   char **regs;
00052   size_t nregs;
00053   size_t creg;
00054 } chksvc_frame_t;
00055 
00065 apr_status_t
00066 chksvc_frame_create(chksvc_frame_t **self, chksvc_service_t *service,
00067                     apr_pool_t *pool);
00068 
00081 const char *
00082 chksvc_frame_get_register(chksvc_frame_t *self, size_t i);
00083 
00092 void
00093 chksvc_frame_set_register(chksvc_frame_t *self, size_t i, char *str);
00094 
00102 size_t
00103 chksvc_frame_add_register(chksvc_frame_t *self, char *str);
00104 
00116 sul_string_t *
00117 chksvc_frame_interpolate_string(chksvc_frame_t *self, const char *str,
00118                                 apr_pool_t *pool);
00119 
00122 #endif

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