summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2018-02-06 14:25:37 -0500
committerMichael R Sweet <michael.r.sweet@gmail.com>2018-02-06 14:25:37 -0500
commita166e9337ad5fe2419d928acaa12b17e706cac1b (patch)
tree345bb93e8f4b713b88fde0ebab95fa7d98951bf4 /test
parent7f4d7b8a51b39fd96f0271f5e3eb407686b57dc4 (diff)
Move file callbacks to _ipp_vars_t and add attribute filter callback.
Diffstat (limited to 'test')
-rw-r--r--test/ipptool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ipptool.c b/test/ipptool.c
index d6b7904cc..3680d58d7 100644
--- a/test/ipptool.c
+++ b/test/ipptool.c
@@ -239,7 +239,7 @@ main(int argc, /* I - Number of command-line args */
init_data(&data);
- _ippVarsInit(&vars);
+ _ippVarsInit(&vars, NULL, (_ipp_ferror_cb_t)error_cb, (_ipp_ftoken_cb_t)token_cb);
/*
* We need at least:
@@ -1819,7 +1819,7 @@ do_tests(const char *testfile, /* I - Test file to use */
* Run tests...
*/
- _ippFileParse(vars, testfile, (_ipp_ftoken_cb_t)token_cb, (_ipp_ferror_cb_t)error_cb, (void *)data);
+ _ippFileParse(vars, testfile, (void *)data);
/*
* Close connection and return...