Eventscripts: remove the horrible horrible circular reference between state and callb...
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 22 Feb 2012 06:38:12 +0000 (17:38 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 22 Feb 2012 19:49:47 +0000 (06:49 +1100)
commit93ec9c589c55edfed1a04ceb2217108ceb690089
treecdd698566d7c6e783cfe0bb93e5373a429de08a4
parent94b7a84cb118b0139c29bc247ead43c25ec60415
Eventscripts: remove the horrible horrible circular reference between state and callback since these two structures do not even share the same parent talloc context.
Instead, tie them together via referencing a permanent linked list hung off the ctdb structure.

(This used to be ctdb commit a95c02da6c67dc4bd8716b75318a4188301df6f9)
ctdb/include/ctdb_private.h
ctdb/server/eventscript.c