You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Cliff Woolley <jw...@virginia.edu> on 2002/05/06 09:34:10 UTC

apr_dbm_*_ex()

Why do the apr_dbm_*_ex() calls use strings instead of symbolic constants
to select a dbm type?

--Cliff

--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA



Re: apr_dbm_*_ex()

Posted by Ian Holsman <ia...@holsman.net>.
Cliff Woolley wrote:
> Why do the apr_dbm_*_ex() calls use strings instead of symbolic constants
> to select a dbm type?

the aim was to just plug in whatever the user put in the config file.


> 
> --Cliff
> 
> --------------------------------------------------------------
>    Cliff Woolley
>    cliffwoolley@yahoo.com
>    Charlottesville, VA
> 
> 




Re: apr_dbm_*_ex()

Posted by Greg Stein <gs...@lyra.org>.
On Mon, May 06, 2002 at 03:34:10AM -0400, Cliff Woolley wrote:
> 
> Why do the apr_dbm_*_ex() calls use strings instead of symbolic constants
> to select a dbm type?

Per Ian's response, it enables us to be a bit more open-ended. However, we
probably need to ensure that we're using case-insensitive comparisons. I'd
also think we probably want some kind of sym constants for the predefined
strings.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/