How about just turning request_rec->notes into an apr_hash_t? The apr_hash_t code doesn't mind non-text keys or values. I actually tried this in my local code base yesterday while experimenting with hash-table-based structures for the HTTP request and response headers, and the required changes to the httpd and standard modules were relatively minor (not many things depend on request_rec->notes). --Brian Ian Holsman wrote: >hi. >I've been busy coding some modules for internal work, and have found the >need to be able store non-string data types in the request_rec >structure. > >any reason why we shouldn't have a hash table in the record? > >I think alot of other people will hit this problem when the develop >custom SSI tags which could get called multiple times on a page and need >to cache info from the first call. > >..Ian >(or is there a better way?) > >-- >Ian Holsman >Performance Measurement & Analysis >CNET Networks - 415 364-8608 > >
