]> jfr.im git - irc/atheme/atheme.git/commit
modules/botserv/: improve symbol imports
authorAaron Jones <redacted>
Sat, 18 Jan 2020 17:52:37 +0000 (17:52 +0000)
committerAaron Jones <redacted>
Sat, 18 Jan 2020 17:52:37 +0000 (17:52 +0000)
commit0c4ba06e5e5c4a1671a0cdf96be00bc9aad89a6e
treeb8df3c8feef7c8e6952b71ed67c4826b2c63e8db
parentbefc630e45eedd15f62e37c6935a0c5064550bfa
modules/botserv/: improve symbol imports

Annotate which symbols are exported to other modules, import
a structure containing all symbols instead of importing one
symbol at a time, avoid casting function pointers to (void *)
and back.
include/atheme.h
include/atheme/botserv.h [new file with mode: 0644]
include/atheme/structures.h
modules/botserv/botserv.h [deleted file]
modules/botserv/info.c
modules/botserv/main.c
modules/botserv/set.c
modules/botserv/set_core.c
modules/botserv/set_private.c