1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-30 00:16:38 +02:00
Files
unrealircd/include
Bram Matthys 9ba9d65c7e Add GCC typechecking: we now validate HookAdd... calls, making sure the function (pointer) is as it should. This to avoid crashes and weird behavior in case of a mismatch.
This resulted in 5-10 changes in the existing code where parameters were off.
Hopefully I didn't make too many mistakes when writing the hook prototypes as it was a tedious job.
An (unintentional) benefit of this new system is that you can see the hook prototypes in include/modules.h like:
/* Hook prototypes */
int hooktype_local_quit(aClient *sptr, char *comment);
....
Though, the wiki is likely a better place: https://www.unrealircd.org/docs/Dev:Hook_API
2015-09-21 11:52:00 +02:00
..
2002-03-05 23:09:39 +00:00
2015-07-29 17:41:14 +02:00
2002-01-19 17:04:04 +00:00
2015-07-12 20:00:57 +02:00
2015-07-28 21:44:32 +02:00
2002-02-16 20:15:41 +00:00
2015-05-27 00:15:29 +02:00
2015-05-27 18:05:04 +02:00
2000-02-28 22:45:44 +00:00
2004-05-12 22:02:05 +00:00
2000-07-14 20:22:59 +00:00
2004-05-13 16:39:23 +00:00
2004-02-22 02:52:12 +00:00