aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2012-10-10 19:16:16 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2012-10-10 19:22:57 +0300
commit800e9a67d5d2ced20192f3191b72c12707a30cd4 (patch)
tree8ded26adf647ba8e467b87110070b977500c6ca2 /doc
parentaa129be43d57fac4842f0340168404a21b3927e6 (diff)
downloadeclat-800e9a67d5d2ced20192f3191b72c12707a30cd4.tar.gz
eclat-800e9a67d5d2ced20192f3191b72c12707a30cd4.tar.bz2
Improve map support.
* doc/eclat.conf.5: Document the null map. * lib/nullmap.c: New file. * lib/Makefile.am: Add new files. * lib/gdbmmap.c (gdbm_map_open): Fix gdbm_open arguments. Report a detailed error description if it fails. * lib/libeclat.h (eclat_map_drv_null): New extern. * src/eclat.c (main): Register the null map. * tests/.gitignore: Update. * tests/Makefile.am: Add new files. * tests/filemap.at: New file. * tests/gdbmload.c: New file. * tests/gdbmmap.at: New file. * tests/nullmap.at: New file. * tests/atlocal.in (GDBMLOAD): New variable. * tests/testsuite.at: Include new files.
Diffstat (limited to 'doc')
-rw-r--r--doc/eclat.conf.511
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/eclat.conf.5 b/doc/eclat.conf.5
index 6650a42..2a49f99 100644
--- a/doc/eclat.conf.5
+++ b/doc/eclat.conf.5
@@ -537,6 +537,17 @@ The original key.
.TP
.B map
The name of this map.
+.SS NULL MAP
+The null map always returns the key value (eventually modified using
+the \fBkey\fR statement). It is configured by setting
+.sp
+.nf
+.in +2
+type null;
+.in
+.fi
+.sp
+in the corresponding \fBmap\fR section.
.SS FILE MAP
File map is the simplest type of maps. The data are stored in a
plain-text file. Empty lines and lines beginning with a \fB#\fR are

Return to:

Send suggestions and report system problems to the System administrator.