* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
+/** @file lib/eventdist.c
+ * @brief Event distribution
+ */
#include "common.h"
#include "mem.h"
#include "eventdist.h"
#include "hash.h"
+/** @brief Event data
+ *
+ * @c event_data structures form linked lists; one list per event and one node
+ * per handler.
+ */
struct event_data {
+ /** @brief Next handler */
struct event_data *next;
+
+ /** @brief Name of event */
const char *event;
+
+ /** @brief Handler callback */
event_handler *callback;
+
+ /** @brief Passed to @ref callback */
void *callbackdata;
};