diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-03-22 14:52:10 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-03-22 14:52:10 +0100 |
commit | 600c003c034fac5b15866a24ab5274192ede8840 (patch) | |
tree | ca74bc8ffe8be72084f0408bcdba0f7527b4b7f5 /src/include/taler_twister_service.h | |
parent | 60a030c66cbbec85a0718e845729dc9cd0aa4f83 (diff) | |
download | twister-600c003c034fac5b15866a24ab5274192ede8840.tar.gz twister-600c003c034fac5b15866a24ab5274192ede8840.tar.bz2 twister-600c003c034fac5b15866a24ab5274192ede8840.zip |
adding flip command, boilerplate (including failing test)
Diffstat (limited to 'src/include/taler_twister_service.h')
-rw-r--r-- | src/include/taler_twister_service.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/include/taler_twister_service.h b/src/include/taler_twister_service.h index 486baf2..7adf40e 100644 --- a/src/include/taler_twister_service.h +++ b/src/include/taler_twister_service.h @@ -96,6 +96,25 @@ TALER_TWISTER_modify_path (struct TALER_TWISTER_Handle *h, void *cb_cls); /** + * Randomly flip a character into the JSON string + * object pointed to by @a path. + * + * @param h twister instance to control + * @param path object-like notation to point the string + * object where we seek a character to flip. + * @param cb function to call once twister is ready + * @param cb_cls closure for @a cb + * @return operation handle (to possibly abort) + */ +struct TALER_TWISTER_Operation * +TALER_TWISTER_flip_path + (struct TALER_TWISTER_Handle *h, + const char *path, + GNUNET_SCHEDULER_TaskCallback cb, + void *cb_cls); + + +/** * Change the next response code to @a new_rc. * * @param h twister instance to control |