aboutsummaryrefslogtreecommitdiff
path: root/include/smap
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-06-21 19:04:30 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2010-06-21 19:04:30 +0300
commit54574861db3f7c02cd5e347f243d119b992232d2 (patch)
treee0bedabc8e33876848e6a192ed6e9bce76833c37 /include/smap
parent7d63e9e21b74f3b0ca3a87714e19ef1bbfeb7fbf (diff)
downloadsmap-54574861db3f7c02cd5e347f243d119b992232d2.tar.gz
smap-54574861db3f7c02cd5e347f243d119b992232d2.tar.bz2
Change transformation syntax and method calling convention.
* include/smap/module.h (smap_module)<smap_xform>: Change signature. * modules/guile/getpw.scm (smap-xform): Change signature. * modules/guile/guile.c (guile_xform): Change signature. * src/query.c: Change transform syntax. New syntax is: "transform" "key"|"map" dbname. * src/smapd.cfin [GUILE]: Add sample transform entries.
Diffstat (limited to 'include/smap')
-rw-r--r--include/smap/module.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/smap/module.h b/include/smap/module.h
index 27befad..c8cd5e7 100644
--- a/include/smap/module.h
+++ b/include/smap/module.h
@@ -51,9 +51,9 @@ struct smap_module {
const char *map, const char *key,
struct smap_conninfo const *conninfo);
int (*smap_xform)(smap_database_t dbp,
- const char *map, const char *key,
+ const char *arg,
struct smap_conninfo const *conninfo,
- char **newmap, char **newkey);
+ char **output);
};
#endif

Return to:

Send suggestions and report system problems to the System administrator.