summaryrefslogtreecommitdiff
path: root/src/include/taler_twister_service.h
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-03-06 16:12:34 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-03-06 16:12:34 +0100
commit0fd827bdc833aec5a50a0575b51a79543a2bacb2 (patch)
treea4835529f0f679beaceb2992508d6ef75cb497de /src/include/taler_twister_service.h
parentc4368a157fe9d2e12a4949464ddade5c8ae3cf4f (diff)
downloadtwister-0fd827bdc833aec5a50a0575b51a79543a2bacb2.tar.gz
twister-0fd827bdc833aec5a50a0575b51a79543a2bacb2.tar.bz2
twister-0fd827bdc833aec5a50a0575b51a79543a2bacb2.zip
parse proxied response.
Diffstat (limited to 'src/include/taler_twister_service.h')
-rw-r--r--src/include/taler_twister_service.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/taler_twister_service.h b/src/include/taler_twister_service.h
index c9b5fb8..419bf1e 100644
--- a/src/include/taler_twister_service.h
+++ b/src/include/taler_twister_service.h
@@ -93,6 +93,24 @@ TALER_TWISTER_change_response_code
/**
+ * Delete the object pointed to by @a path.
+ *
+ * @param h twister instance to control
+ * @param path object-like notation to point the object to be
+ deleted. E.g., the path "f1.f2.0" will delete the object
+ {"f1": {"f2": [{"to be": "deleted"}]}}.
+ * @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_delete_path
+ (struct TALER_TWISTER_Handle *h,
+ const char *path,
+ GNUNET_SCHEDULER_TaskCallback cb,
+ void *cb_cls);
+
+/**
* Abort operation. Twister behavior may then include the
* changes requested by the operation, or not! Must be called
* before the operations callback was invoked.