summaryrefslogtreecommitdiff
path: root/src/signal.doc
blob: b7e238efcb4f89df2180cc712500cc680ec650b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
IRC base
--------

* Requires to work properly:

 "gui exit", CHANNEL_REC
 "gui channel open", CHANNEL_REC
 "send command", gchar *command, SERVER_REC, CHANNEL_REC

* Provides signals:

bans.c:

 "ban new", BAN_REC
 "ban remove", BAN_REC
 "ban exception new", BAN_REC
 "ban exception remove", BAN_REC
 "ban type changed", gchar *bantype

channels.c:

 "channel created", CHANNEL_REC
 "channel destroyed", CHANNEL_REC
 "channel name changed", CHANNEL_REC
 "channel topic changed", CHANNEL_REC

 "channel query", CHANNEL_REC
 "channel sync", CHANNEL_REC

ctcp.c:

 "ctcp msg "<cmd>, gchar *args, SERVER_REC, gchar *nick, gchar *addr, gchar *target
 "default ctcp msg", gchar *args, SERVER_REC, gchar *nick, gchar *addr, gchar *target
 "ctcp reply "<cmd>, gchar *args, SERVER_REC, gchar *nick, gchar *addr, gchar *target
 "default ctcp reply", gchar *args, SERVER_REC, gchar *nick, gchar *addr, gchar *target

irc.c:

 "send command", gchar *args, SERVER_REC
 "command "<cmd>, gchar *args, SERVER_REC, CHANNEL_REC
 "default command", gchar *args, SERVER_REC, CHANNEL_REC

 "server event", gchar *args, SERVER_REC, gchar *sender_nick, gchar *sender_address
 "event "<cmd>, gchar *args, SERVER_REC, gchar *sender_nick, gchar *sender_address
 "default event", gchar *args, SERVER_REC, gchar *sender_nick, gchar *sender_address

modes.c:

 "invitelist new", CHANNEL_REC, gchar *mask
 "invitelist remove", CHANNEL_REC, gchar *mask

 "channel mode changed", CHANNEL_REC
 "user mode changed", SERVER_REC
 "nick mode changed", CHANNEL_REC, NICK_REC

nicklist.c:

 "nicklist new" CHANNEL_REC, NICK_REC
 "nicklist remove" CHANNEL_REC, NICK_REC
 "nicklist changed" CHANNEL_REC, NICK_REC, gchar *oldnick
 "server nick changed" SERVER_REC
 "massjoin" CHANNEL_REC, GList of NICK_RECs

server.c:

 "server connect failed", SERVER_REC
 "server connected", SERVER_REC
 "server connecting", SERVER_REC, gulong *ip
 "server looking", SERVER_REC
 "server disconnected", SERVER_REC
 "event connected", SERVER_REC

signal.c:
 "signal", gchar *name, ...

IRC extra
---------

* Requires to work properly:

 "print text stripped", SERVER_REC, gchar *channel, GINT_TO_POINTER(level), gchar *text
 "plugin add menu", gchar *menuitem, void (*unload_func) (gpointer, PLUGIN_REC), PLUGIN_REC

* Provides signals:

dcc.c:

 "dcc ctcp"<cmd>, gchar *args, DCC_REC
 "default dcc ctcp", gchar *args, DCC_REC
 "dcc unknown ctcp", gchar *args, gchar *sender, gchar *sendaddr

 "dcc reply"<cmd>, gchar *args, DCC_REC
 "default dcc reply"<cmd>, gchar *args, DCC_REC
 "dcc unknown reply", gchar *args, gchar *sender, gchar *sendaddr

 "dcc chat message", DCC_REC, gchar *msg

 "dcc created", DCC_REC
 "dcc destroyed", DCC_REC
 "dcc connected", DCC_REC
 "dcc rejecting", DCC_REC
 "dcc closed", DCC_REC
 "dcc chat message", DCC_REC, gchar *msg
 "dcc transfer update", DCC_REC
 "dcc request", DCC_REC
 "dcc get receive", DCC_REC
 "dcc error connect", DCC_REC
 "dcc error file create", DCC_REC, gchar *filename
 "dcc error file not found", gchar *nick, gchar *filename
 "dcc error get not found", gchar *nick
 "dcc error send exists", gchar *nick, gchar *filename
 "dcc error unknown type", gchar *type
 "dcc error close not found", gchar *type, gchar *nick, gchar *filename

flood.c:

 "flood", SERVER_REC, gchar *nick, gchar *host, gchar *level, gchar *target

ignore.c:

 "autoignore new", SERVER_REC, AUTOIGNORE_REC
 "autoignore remove", SERVER_REC, AUTOIGNORE_REC
 "ignore new", LIST_REC
 "ignore change", LIST_REC
 "ignore remove", LIST_REC

log.c:

 "log created", LOG_REC
 "log destroyed", LOG_REC
 "log opened", LOG_REC
 "log closed", LOG_REC
 "log written", LOG_REC, gchar *line
 "log item created", LOG_REC, LOG_ITEM_REC
 "log item destroyed", LOG_REC, LOG_ITEM_REC

notifylist.c:

 "notifylist new", LIST_REC
 "notifylist remove", LIST_REC
 "notifylist joined", SERVER_REC, gchar *nick, gchar *username, gchar *host, gchar *realname
 "notifylist left", SERVER_REC, gchar *nick

plugins.c:

 "plugin created", PLUGIN_REC
 "plugin destroyed", PLUGIN_REC
 "plugin cant load", gchar *name
 "plugin already loaded", gchar *name
 "plugin not loaded", gchar *name

UI common
---------

* Requires to work properly:

 "gui print text", CHANNEL_REC, GINT_TO_POINTER fg, bg, flags, gchar *text
 "gui window goto", GINT_TO_POINTER(number)

( "print text finished", CHANNEL_REC ) - can be used to determine when
                                         all "gui print text"s are sent

* Provides signals:

ui-printtext.c:

 "print text", SERVER_REC, gchar *channel, GINT_TO_POINTER(level), gchar *text
 "print text stripped", SERVER_REC, gchar *channel, GINT_TO_POINTER(level), gchar *text

ui-themes.c:

 "theme created", THEME_REC
 "theme destroyed", THEME_REC

ui-windows.c:

 "window created", WINDOW_REC
 "window destroyed", WINDOW_REC