apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: renaming apr_file_open_flags group defines
Date Sun, 19 Sep 2004 22:02:25 GMT
William A. Rowe, Jr. wrote:
> At 08:34 PM 9/17/2004, you wrote:
> 
>>This group wasn't discussed before, but it suffers from the same problem.
>>
>>#define APR_READ       0x00001     /**< Open the file for reading */
>>#define APR_WRITE      0x00002     /**< Open the file for writing */
>>#define APR_CREATE     0x00004     /**< Create the file if not there */
>>
>>Not sure what's the best prefix here. Is APR_OPEN_ good? APR_OPEN_READ, APR_OPEN_WRITE,
...

> About this group - smakes sense to me unless these flags are 'generic',
> e.g. apply-to other.  And no, APR_OPEN_ isn't ideal, but APR_FILE_OPEN_
> would be. 

So now that the veto has been removed, what's the best prefix to use? 
APR_FILE_OPEN_? APR_FOPEN_? other?

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Mime
View raw message