summaryrefslogtreecommitdiff
path: root/include/private/apr_dbm_private.h
Commit message (Collapse)AuthorAgeFilesLines
* Create 'a trunk' to explain things as nick suggestswrowe2010-10-051-121/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@1004712 13f79535-47bb-0310-9956-ffa450edef68
* Assorted corrections and bug fixes I had missed, as Unixwrowe2008-11-211-7/+5
| | | | | | | | was picking up an odd path through the dbm source files. Tests now pass (linux x86 for sdbm/gdbm/db4). git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@719533 13f79535-47bb-0310-9956-ffa450edef68
* Introduce DBM DSO linkage.wrowe2008-11-211-4/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@719504 13f79535-47bb-0310-9956-ffa450edef68
* Now, revert r719466. Must quit using commit -m ""wrowe2008-11-211-2/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@719468 13f79535-47bb-0310-9956-ffa450edef68
* replace missing commentwrowe2008-11-211-4/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@719467 13f79535-47bb-0310-9956-ffa450edef68
* Update license headers.jerenkrantz2007-01-151-6/+6
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@496440 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.jerenkrantz2005-02-041-1/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@151413 13f79535-47bb-0310-9956-ffa450edef68
* Relicense APR under Apache License, Version 2.0.jerenkrantz2004-02-131-49/+10
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58989 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright notifications to 2003.thommay2003-01-011-1/+1
| | | | | | | No Functional changes. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58816 13f79535-47bb-0310-9956-ffa450edef68
* Go through doxygen output and remove as many errors and warnings as I could.jerenkrantz2002-11-101-0/+3
| | | | | | | No code changes. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58787 13f79535-47bb-0310-9956-ffa450edef68
* Bug #9789 NDBM support for apr_dbm.ianh2002-08-211-0/+1
| | | | | | | | | this still needs a bit more testing, but it seems to work ok for me Submitted by: Toomas Soome <tsoome@muhv.pri.ee> git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58739 13f79535-47bb-0310-9956-ffa450edef68
* Update our copyright for this year.fielding2002-03-131-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58571 13f79535-47bb-0310-9956-ffa450edef68
* Add DB4 detection. It is identical to DB3 for all of our current purposes.jerenkrantz2001-12-091-0/+1
| | | | | | | | Also, clean up the autoconf DB macros to be name-space protected and cleaner per Greg's suggestions. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58487 13f79535-47bb-0310-9956-ffa450edef68
* * Copy a lot of code unchanged from apr_dbm.c to apr_dbm_*.c. Changesgstein2001-11-111-6/+4
| | | | | | | | | | | | | | | | | | occurred: - open() and exists() split the #if logic out to the three files - vt_db_fetch() had minor changes related to the 'rd' variable - the various exists() functions were tweaked * the geterror() was eliminated as apr_dbm.c can handle it * Jeff Trawick's comments re: static vs APU_DECLARE_DATA for the vtables. * apu_conf.m4, dbm/Makefile.in: build/link in the appropriate dbm file (until we start buildig/linking all of them) git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58448 13f79535-47bb-0310-9956-ffa450edef68
* Capture some low-hanging fruit on shifting functionality to thegstein2001-11-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | separate .c files: set_error, close, freedatum, and getusednames. Set the vtable uesd in the DBM_VTABLE cpp symbol and store it within the apr_dbm_t type returned by open(). NEEDS_CLEANUP was removed in this pass, as we shifted and them simplified the #if/#else/#endif branches in freedatum. set_error and getusednames were shifted from #if sequences into three new code sections; no changes within the code blocks. close was a simply copy to the new .c files since they all still use the APR_DBM_CLOSE cover macro. Note: no macro expansions were done yet. Keeping the code shift simple for review purposes. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58443 13f79535-47bb-0310-9956-ffa450edef68
* Begin integration of Ian's multiple DBM work. This is different from Ian'sgstein2001-11-061-0/+160
work (so far) in that: * first phase only: shifted macros from apr_dbm.c into the other .c files and simply #include'd those files (i.e. not using the vtables yet) NOTE for code review: no changes were made to the macros. This was a pure shift only. apr_dbm_private.h is the only new code (thus, good for review). * no per-dbm .h files; all entry points will be thru vtables. since we need to map names to <something> (to allow for external registration of DBM types), then we may as well map to a complete vtable which includes the open and used_names entry points. * similar to buckets, the predefined types are variables specified in apr_dbm_private.h for use by the dbm registration code. * removed a couple entry points from Ian's apr_dbm_type_t (set error and a cleanup function) Next steps: add infrastructure for using the types; revamp the macro stuff into real function calls; provide for multiple, available dbm types. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58440 13f79535-47bb-0310-9956-ffa450edef68