diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-10-08 23:00:42 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-10-08 23:00:42 +0300 |
commit | e2bb02092abe1321c534ad8a6c168b2803245cc5 (patch) | |
tree | 080290a3d844cabb433156b17aca805e2260950a /lib/libeclat.h | |
parent | 9b56a5b05db6630a667ad0c9b16ec45a4e52044d (diff) | |
download | eclat-e2bb02092abe1321c534ad8a6c168b2803245cc5.tar.gz eclat-e2bb02092abe1321c534ad8a6c168b2803245cc5.tar.bz2 |
Improve configuration syntax help.
* grecs: Upgrade.
* lib/filemap.c: Revamp configuration routine.
Provide configuration syntax help.
* lib/gdbmmap.c: Likewamp.
* lib/ldapmap.c: Provide configuration syntax help.
* lib/libeclat.h (eclat_map_drv) <map_confhelp>: New member.
(eclat_map_confhelp): New proto.
* lib/map.c (eclat_map_confhelp): New function.
* src/config.c (config_help): Call eclat_map_confhelp.
Diffstat (limited to 'lib/libeclat.h')
-rw-r--r-- | lib/libeclat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libeclat.h b/lib/libeclat.h index 2b40f43..ecbb844 100644 --- a/lib/libeclat.h +++ b/lib/libeclat.h @@ -115,6 +115,7 @@ struct eclat_map_drv { int (*map_close)(int, void *); int (*map_get)(int, void *, const char *, char **); void (*map_free)(int, void *); + void (*map_confhelp)(void); }; struct eclat_map { @@ -142,6 +143,7 @@ const char *eclat_map_strerror(int rc); int eclat_map_drv_register(struct eclat_map_drv *drv); void eclat_map_foreach(int (*fun)(struct eclat_map *, void *), void *data); void eclat_map_free_all(void); +void eclat_map_confhelp(void); int eclat_get_string_node(struct grecs_node *node, const char *name, int optional, |