pissircd/src/modules/rpc
Bram Matthys d15c82346e
Pass ClientContext in CMD_FUNC() and friends. So extra arg. Breaking change.
It now passes 'clictx' which at the moment only has clictx->cmd which
points to the command handler. So only useful in very few cases where
you have like a generic command handler and thus have no idea for which
command you are being called. In the future, with this new ClientContext
struct, we can simply add new fields to the struct without breaking
things in the core and in (third party) modules.

If you use the magic functions in your modules CMD_FUNC(cmd_mycmd),
OVERRIDE_FUNC(myoverride), CALL_NEXT_COMMAND_OVERRIDE() and such then
you shouldn't have any compile errors as these will use the correct
prototypes and variable names automatically. In a few cases you can't
use these, in which case you will need to update your modules.
2025-03-21 15:40:42 +01:00
..
channel.c Minor cleanup: use kick_user() from channel.kick call instead of 2023-04-02 12:15:32 +02:00
log.c rpc/log: Add ability to send log messages via RPC log.send (#299) 2024-09-17 15:40:03 +00:00
Makefile.in JSON-RPC: WHOWAS fetching is now whowas.get, also expose not only 2023-04-15 09:24:57 +02:00
name_ban.c Pass ClientContext in CMD_FUNC() and friends. So extra arg. Breaking change. 2025-03-21 15:40:42 +01:00
rpc.c Fix memory leak in rpc-user::rpc-class (at least this one is small) 2024-07-16 09:33:45 +02:00
server.c JSON-RPC: make server.list use a default max detailed level, the 2023-04-01 18:17:42 +02:00
server_ban.c Pass ClientContext in CMD_FUNC() and friends. So extra arg. Breaking change. 2025-03-21 15:40:42 +01:00
server_ban_exception.c Pass ClientContext in CMD_FUNC() and friends. So extra arg. Breaking change. 2025-03-21 15:40:42 +01:00
spamfilter.c Pass ClientContext in CMD_FUNC() and friends. So extra arg. Breaking change. 2025-03-21 15:40:42 +01:00
stats.c JSON-RPC: Change to previous, don't name it "top_countries" but "countries" 2023-04-12 08:25:32 +02:00
user.c JSON-RPC: WHOWAS fetching is now whowas.get, also expose not only 2023-04-15 09:24:57 +02:00
whowas.c JSON-RPC whowas.get: add geoip object with country_code, asn and asname. 2024-07-17 17:15:10 +02:00