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

/extra/work/state-dev/src/trends/trd_summary.h

00001 /* ----------------------------------------------------------------------------
00002  * @(#) $Header: /home/systems/jlewalle/dev/jacob-cvs/projects/state/src/trends/trd_summary.h,v 1.2 2003/03/06 23:27:58 jlewalle Exp $
00003  *
00004  * --------------------------------------------------------------------------*/
00005 #if !defined(_INCLUDED_SUMMARY_H_HEADER__)
00006 #define _INCLUDED_SUMMARY_H_HEADER__
00007 
00008 typedef struct trd_state_summary_t
00009 {
00010   time_t duration; 
00011   long   state;     
00012 } trd_state_summary_t;
00013 
00014 typedef struct trd_summary_t
00015 {
00016   apr_pool_t         *pool;        
00017   time_t              total_duration; 
00018   apr_array_header_t *states;
00019 } trd_summary_t;
00020 
00021 trd_summary_t *
00022 trd_summary_create(trd_state_change_t *history, apr_size_t number_entries, 
00023                    apr_pool_t *pool);
00024 
00025 trd_state_summary_t *
00026 trd_summary_find_state(trd_summary_t *summary, long state);
00027 
00028 #endif

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