diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-06-21 19:41:34 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-06-21 19:41:34 +0300 |
commit | 99eb79fdbaade51a3dcc3cddcc52d8510b2e519d (patch) | |
tree | ad3f15316f8a837f4ecf32071e303479a2a2ae3b /include/smap | |
parent | 54574861db3f7c02cd5e347f243d119b992232d2 (diff) | |
download | smap-99eb79fdbaade51a3dcc3cddcc52d8510b2e519d.tar.gz smap-99eb79fdbaade51a3dcc3cddcc52d8510b2e519d.tar.bz2 |
New module: sed.
* modules/sed/Makefile.am: New file.
* modules/sed/transform.c: New file.
* modules/sed/transform.h: New file.
* modules/sed/sed.c: New file.
* configure.ac (AC_CONFIG_FILES): Add modules/sed/Makefile
* include/smap/module.h (smap_module)<smap_xform>: Rearrange
arguments. All uses changed.
* modules/Makefile.am (SUBDIRS): Add sed.
* src/module.c (_load_module): Fix v2 assertions.
* src/query.c (dispatch_query_pack): Change smap_xform
invocation.
Avoid freeing qp->storage entry before printing it.
* src/smapd.cfin: Add sample sed transformations.
* src/smapd.c (cfg_socket_mode): Remove unused argument.
Diffstat (limited to 'include/smap')
-rw-r--r-- | include/smap/module.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/smap/module.h b/include/smap/module.h index c8cd5e7..8026891 100644 --- a/include/smap/module.h +++ b/include/smap/module.h @@ -51,8 +51,8 @@ struct smap_module { const char *map, const char *key, struct smap_conninfo const *conninfo); int (*smap_xform)(smap_database_t dbp, - const char *arg, struct smap_conninfo const *conninfo, + const char *input, char **output); }; |