Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 42413 invoked by uid 500); 23 May 2003 13:24:26 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 42400 invoked from network); 23 May 2003 13:24:26 -0000 Message-ID: <3ECE2100.80201@wstoddard.com> Date: Fri, 23 May 2003 09:24:16 -0400 From: Bill Stoddard User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: How to attach user data to request_rec structure? References: <3ECD9D29.7060406@stason.org> <0c8401c3211a$f4d5bb60$0f00a8c0@atlanticsky.com> <3ECE206B.7070405@wstoddard.com> In-Reply-To: <3ECE206B.7070405@wstoddard.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > Check out these examples from mod_cache: > > ap_set_module_config(r->request_config, &cache_module, cache); > conf = (cache_server_conf *) > ap_get_module_config(r->server->module_config, &cache_module); Ooops, that response was a little skitzo... :-) Try this: ap_set_module_config(r->request_config, &cache_module, cache); cache = (cache_request_rec *) ap_get_module_config(r->request_config, &cache_module); Bill