diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-06-07 17:50:12 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-06-07 18:02:45 +0300 |
commit | c14f3c4856d75624641ffa1d62d6e0c87217036f (patch) | |
tree | f4bab25f862624477314348cedadc96ae4a2bb7e /.gitmodules | |
parent | c42ac1fa64f94f23cec5dac1d2bdb3d000e62f8f (diff) | |
download | smap-c14f3c4856d75624641ffa1d62d6e0c87217036f.tar.gz smap-c14f3c4856d75624641ffa1d62d6e0c87217036f.tar.bz2 |
Improve module loading/unloading sequence. Implement `guile' module.
* include/smap/parseopt.h: New file.
* lib/parseopt.c: New file.
* lib/Makefile.am (libsmap_la_SOURCES): Add parseopt.c.
* src/cfg.c (cfg_cur_line): New variable.
(read_line,parse_config): cfg_line keeps number of the line where the
current statement started. cfg_cur_line keeps the actual line number.
* src/module.c (smap_modules_unload): New function.
(link_databases): Merge into init_databases.
(init_databases): New function.
(close_databases): New function.
(free_databases: New function.
* src/query.c (route_query): Rewrite initialization sequence.
(match_map,match_cond): Minor fixes.
* src/smap.c (smap_session_server): Close databases before returning.
(smap_daemon): Return to caller, instead of exiting.
(main): Rewrite initialization sequence.
* src/smap.h: Include time.h
(DBG_DATABASE): New constant.
(smap_database_instance)<opened>: New member.
(link_databases): Remove proto.
(init_databases, free_databases, close_databases): New prototypes.
* gint: New module.
* Makefile.am (SUBDIRS): Add gint
(ACLOCAL_AMFLAGS): Likewise.
* bootstrap: Initialize submodules.
* configure.ac: Initialize GINT
* modules/Makefile.am (SUBDIRS): Add guile (conditionally)
* modules/guile/Makefile.am: New file.
* modules/guile/guile.c: New file.
* include/smap/Makefile.am (smap_module) <smap_open>
<smap_close>: New methods.
* modules/echo/echo.c: Update module interfaces. Add missing includes.
* modules/mbq/mbq.c: Likewise.
* modules/mu-auth/mu-auth.c: Likewise.
* lib/ostr.c: Add missing includes.
* lib/wordsplit.c: Likewise.
* src/srvman.c: Minor fixes.
* src/url.c: Likewise.
Diffstat (limited to '.gitmodules')
-rw-r--r-- | .gitmodules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..7c369d4 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "gint"] + path = gint + url = git://git.gnu.org.ua/gint.git |