summaryrefslogtreecommitdiffstats
path: root/ctdb/include
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2008-07-02 12:21:53 +1000
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2008-07-02 12:21:53 +1000
commit05b50ebe0ae4e27767c202b03aa18fcc3aed7526 (patch)
tree226e3690b237932abe85c2896dc3edf44dbc51d9 /ctdb/include
parentbb2019bb0f23747d64cbe9568d88d0a7b8fedd39 (diff)
print the opcode when an async callback detects an error
(This used to be ctdb commit 423934629704683d3a3042570577fb4e04b17a6d)
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h
index b19012f1ec..0f170f812d 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -1313,6 +1313,7 @@ int ctdb_set_child_logging(struct ctdb_context *ctdb);
typedef void (*client_async_callback)(struct ctdb_context *ctdb, uint32_t node_pnn, int32_t res, TDB_DATA outdata, void *callback_data);
struct client_async_data {
+ enum ctdb_controls opcode;
bool dont_log_errors;
uint32_t count;
uint32_t fail_count;