httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: svn commit: r823703 - in /httpd/httpd/trunk: CHANGES modules/dav/fs/repos.c modules/dav/main/mod_dav.h
Date Mon, 12 Oct 2009 07:57:23 GMT
On Fri, Oct 09, 2009 at 09:41:32PM -0000, Graham Leggett wrote:
> --- httpd/httpd/trunk/modules/dav/main/mod_dav.h (original)
> +++ httpd/httpd/trunk/modules/dav/main/mod_dav.h Fri Oct  9 21:41:31 2009
> @@ -1940,6 +1940,12 @@
>      ** then this field may be used. In most cases, it will just be NULL.
>      */
>      void *ctx;
> +
> +    /* return request record */
> +    request_rec * (*get_request_rec)(const dav_resource *resource);
> +
> +    /* return path */
> +    const char * (*get_pathname)(const dav_resource *resource);
>  };
>  

What is a "pathname" in this context? A URI path?  A filesystem path?  
If the latter, what is get_pathname supposed to do for a non-fs-backed 
repository provider?

(Also - compare and contrast how all the rest of the comments in this 
structure are descriptive phrases and start with capital letters and 
everything)

Regards, Joe

Mime
View raw message