comparison man/lispref/databases.texi @ 367:a4f53d9b3154 r21-1-13

Import from CVS: tag r21-1-13
author cvs
date Mon, 13 Aug 2007 11:01:07 +0200
parents 850242ba4a81
children cc15677e0335
comparison
equal deleted inserted replaced
366:83d76f480a59 367:a4f53d9b3154
24 This function opens database @var{file}, using database method 24 This function opens database @var{file}, using database method
25 @var{type} and @var{subtype}, with access rights @var{access} and 25 @var{type} and @var{subtype}, with access rights @var{access} and
26 permissions @var{mode}. @var{access} can be any combination of @code{r} 26 permissions @var{mode}. @var{access} can be any combination of @code{r}
27 @code{w} and @code{+}, for read, write, and creation flags. 27 @code{w} and @code{+}, for read, write, and creation flags.
28 28
29 @var{type} can have the value @code{'dbm} or @code{'berkeley_db} to 29 @var{type} can have the value @code{'dbm} or @code{'berkeley-db} to
30 select the type of database file to use. (Note: XEmacs may not 30 select the type of database file to use. (Note: XEmacs may not
31 support both of these types.) 31 support both of these types.)
32 32
33 For a @var{type} of @code{'dbm}, there are no subtypes, so 33 For a @var{type} of @code{'dbm}, there are no subtypes, so
34 @var{subtype} should by @code{nil}. 34 @var{subtype} should by @code{nil}.
35 35
36 For a @var{type} of @code{'berkeley_db}, the following subtypes are 36 For a @var{type} of @code{'berkeley-db}, the following subtypes are
37 available: @code{'hash}, @code{'btree}, and @code{'recno}. See the 37 available: @code{'hash}, @code{'btree}, and @code{'recno}. See the
38 manpages for the Berkeley DB functions to more information about these 38 manpages for the Berkeley DB functions for more information about these
39 types. 39 types.
40 @end defun 40 @end defun
41 41
42 @defun close-database obj 42 @defun close-database obj
43 This function closes database @var{obj}. 43 This function closes database @var{obj}.