00001 /* ---------------------------------------------------------------------------- 00002 * @(#) $Header: /home/systems/jlewalle/dev/jacob-cvs/projects/state/src/trends/trd_color_map.h,v 1.3 2003/03/07 17:55:05 jlewalle Exp $ 00003 * 00004 * --------------------------------------------------------------------------*/ 00005 #if !defined(_INCLUDED_TRD_COLOR_MAP_H_HEADER__) 00006 #define _INCLUDED_TRD_COLOR_MAP_H_HEADER__ 00007 00017 typedef struct trd_color_map_t 00018 { 00019 apr_hash_t *table; 00020 } trd_color_map_t; 00021 00028 trd_color_map_t * 00029 trd_color_map_create(apr_pool_t *pool); 00030 00041 void 00042 trd_color_map_add(trd_color_map_t *map, const char *name, short r, short g, short b, short a); 00043 00051 long 00052 trd_color_map_lookup(trd_color_map_t *map, const char *name); 00053 00056 #endif