ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/ermyth/doc/HOOKS
Revision: 1.1
Committed: Thu Jul 19 08:24:47 2007 UTC (16 years, 10 months ago) by pippijn
Branch: MAIN
Log Message:
initial import. the most important changes since Atheme are:
- fixed many memory leaks
- fixed many bugs
- converted to C++ and use more STL containers
- added a (not very enhanced yet) perl module
- greatly improved XML-RPC speed
- added a JSON-RPC module with code from json-cpp
- added a valgrind memcheck module to operserv
- added a more object oriented base64 implementation
- added a specialised unit test framework
- improved stability
- use gettimeofday() if available
- reworked adding/removing commands
- MemoServ IGNORE DEL can now remove indices

File Contents

# User Rev Content
1 pippijn 1.1 Atheme hooks system
2    
3     hook_add_event("name")
4     hook_call_event("name", argument)
5     hook_add_hook("name", handler)
6     hook_add_hook_first("name", handler)
7     hook_del_hook("name", handler)
8    
9     Current list of hooks
10    
11     Name Argument type
12     (claro)
13     connected connection_t *
14     (main)
15     config_ready <none>
16     (ircd)
17     channel_add channel_t *
18     channel_delete channel_t *
19     channel_tschange channel_t *
20     channel_join hook_channel_joinpart_t *
21     channel_part hook_channel_joinpart_t *
22     channel_topic channel_t *
23     channel_can_change_topic hook_channel_topic_check_t *
24     server_eob server_t *
25     user_add user_t *
26     user_delete user_t *
27     user_deoper user_t *
28     user_oper user_t *
29     (services)
30     channel_akick_add chanacs_t *
31     channel_drop mychan_t *
32     channel_info hook_channel_req_t *
33     channel_message hook_cmessage_data_t *
34     channel_register hook_channel_req_t *
35     nick_group hook_user_req_t *
36     nick_enforce hook_nick_enforce_t *
37     nick_ungroup hook_user_req_t *
38     sasl_input sasl_message_t *
39     user_can_register hook_user_register_check_t *
40     user_drop myuser_t *
41     user_identify user_t *
42     user_info hook_user_req_t *
43     user_register myuser_t *
44     metadata_change hook_metadata_change_t *