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>
Sun, 26 Feb 2012 22:13:10 +0000 (09:13 +1100)
commit72dc4c9dc955489c312fc0866bf163132895d911
tree3bb0ba8916cfbcaa050291b0fa8226f2d2b3b890
parent2f73114265b6523d6ceed54e70fd042c3738c6a2
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.
include/ctdb_private.h
server/eventscript.c