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

/extra/work/state-dev/src/metrics/scd_query.h

00001 /* ----------------------------------------------------------------------------
00002  * $Id: scd_query.h,v 1.8 2003/10/06 20:47:15 jlewalle Exp $
00003  *
00004  * --------------------------------------------------------------------------*/
00005 #if !defined(_INCLUDED_SD_QUERY_H_HEADER__)
00006 #define _INCLUDED_SD_QUERY_H_HEADER__
00007 
00017 typedef struct scd_query_t
00018 {
00019   char *source;
00020   char *qstr;
00021   char *major_path;
00022   char *minor_path;
00023   char *path;
00024   sul_value_t *params;
00025 } scd_query_t;
00026 
00036 SCD_DECLARE(sul_error_t *)
00037 scd_query_create(scd_query_t **query, const char *source, const char *qstr, 
00038                  apr_pool_t *pool);
00039 
00047 SCD_DECLARE(sul_error_t *)
00048 scd_query_params_set(scd_query_t *query, sul_value_t *value);
00049 
00056 SCD_DECLARE(sul_value_t *)
00057 scd_query_params_get(scd_query_t *query);
00058 
00066 SCD_DECLARE(sul_error_t *)
00067 scd_query_setup_paths(scd_query_t *query, apr_pool_t *pool);
00068 
00077 SCD_DECLARE(sul_error_t *)
00078 scd_query_parse_cfg(scd_query_t **query, sul_cfg_block_t *cfg, apr_pool_t *pool);
00079 
00089 SCD_DECLARE(sul_error_t *)
00090 scd_query_printf(scd_query_t *query, apr_size_t indention, 
00091                  sul_stringbuf_t *stream, apr_pool_t *pool);
00092 
00095 #endif
00096 

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