aboutsummaryrefslogtreecommitdiff
path: root/.gitmodules
AgeCommit message (Collapse)AuthorFiles
2019-07-10Use wordsplit from a submoduleSergey Poznyakoff1
* .gitmodules (wordsplit): New module. * configure.ac: Link lib/wordsplit/wordsplit.h to include/smap/wordsplit.h * include/smap/Makefile.am (pkginclude_HEADERS): Install wordsplit.h from submodule. * include/smap/wordsplit.h: Remove. * lib/wordsplit.c: Remove. * lib/Makefile.am: Access wordsplit sources from the submodule. * modules/echo/Makefile.am (AM_CPPFLAGS): Add -I$(top_builddir)/include * modules/guile/Makefile.am: Likewise. * modules/ldap/Makefile.am: Likewise. * modules/mailutils/Makefile.am: Likewise. * modules/mysql/Makefile.am: Likewise. * modules/postgres/Makefile.am: Likewise. * modules/sed/Makefile.am: Likewise. * src/Makefile.am: Likewise.
2010-06-07Improve module loading/unloading sequence. Implement `guile' module.Sergey Poznyakoff1
* 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.

Return to:

Send suggestions and report system problems to the System administrator.