remove the global rrl_cb_called from the libctdb example
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 4 Jun 2010 04:20:17 +0000 (14:20 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 4 Jun 2010 04:20:17 +0000 (14:20 +1000)
commit0ba458a91ba510215a9c8770286a68e19911515f
treebf1ef69a15f645874b946beca578032590c20ba1
parent03b5546ae45a60ab41eb4f7159a45bfdbf959888
remove the global rrl_cb_called from the libctdb example
and psss it through the callback via private_data.

add a comment that the callback may sometimes have already been invoked
when the ctdb_readrecordlock_async() call returns
and that the application can use *private_data IF the application
needs to know if the callback has already triggered or not.
libctdb/tst.c