aboutsummaryrefslogtreecommitdiff
path: root/include/smap
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-06-21 19:41:34 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2010-06-21 19:41:34 +0300
commit99eb79fdbaade51a3dcc3cddcc52d8510b2e519d (patch)
treead3f15316f8a837f4ecf32071e303479a2a2ae3b /include/smap
parent54574861db3f7c02cd5e347f243d119b992232d2 (diff)
downloadsmap-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.h2
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);
};

Return to:

Send suggestions and report system problems to the System administrator.