chiark / gitweb /
eclient no_response calls all now have errors reported to the per-call
[disorder] / lib / eclient.h
index e459619d04f0a89f1efbc542d459ced6a61641c2..3ea8b15fbfc843b119ac8c0f5499d7425eb2a24f 100644 (file)
@@ -147,8 +147,12 @@ struct sink;
  * It is always allowed for these to be null pointers if you don't care about
  * the result. */
 
-typedef void disorder_eclient_no_response(void *v);
-/* completion callback with no data */
+/** @brief Trivial completion callback
+ * @param v User data
+ * @param error Error string or NULL on succes
+ */
+typedef void disorder_eclient_no_response(void *v,
+                                          const char *error);
 
 /** @brief String result completion callback
  * @param v User data