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 06:38:12 +0000 (17:38 +1100)
commitf78136d04ff41e8d22c61351c73f1607cbda7dc5
treef7cf3ef31600642ec14d59d8cf59d13e7ba7db90
parent22138474060cba8c3a9b8b863488655ff6926258
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