~ubuntu-branches/ubuntu/feisty/irssi/feisty-backports

« back to all changes in this revision

Viewing changes to docs/signals.txt

  • Committer: Bazaar Package Importer
  • Author(s): David Pashley
  • Date: 2005-12-10 21:25:51 UTC
  • Revision ID: james.westby@ubuntu.com-20051210212551-5qwm108g7inyu2f2
Tags: upstream-0.8.10
ImportĀ upstreamĀ versionĀ 0.8.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
List of signals irssi emits - see design.txt for more information about
 
2
signals.
 
3
 
 
4
core
 
5
----
 
6
 
 
7
* Requires to work properly:
 
8
 
 
9
 "gui exit"
 
10
 "gui dialog", char *type, char *text
 
11
 "send command", char *command, SERVER_REC, WI_ITEM_REC
 
12
 
 
13
* Provides signals:
 
14
 
 
15
chat-protocols.c:
 
16
 "chat protocol created", CHAT_PROTOCOL_REC
 
17
 "chat protocol updated", CHAT_PROTOCOL_REC
 
18
 "chat protocol destroyed", CHAT_PROTOCOL_REC
 
19
 
 
20
channels.c:
 
21
 "channel created", CHANNEL_REC, int automatic
 
22
 "channel destroyed", CHANNEL_REC
 
23
 
 
24
chatnets.c:
 
25
 "chatnet created", CHATNET_REC
 
26
 "chatnet destroyed", CHATNET_REC
 
27
 
 
28
commands.c:
 
29
 "commandlist new", COMMAND_REC
 
30
 "commandlist remove", COMMAND_REC
 
31
 "error command", int err, char *cmd
 
32
 
 
33
 "send command", char *args, SERVER_REC, WI_ITEM_REC
 
34
 "send text", char *line, SERVER_REC, WI_ITEM_REC
 
35
 "command "<cmd>, char *args, SERVER_REC, WI_ITEM_REC
 
36
 "default command", char *args, SERVER_REC, WI_ITEM_REC
 
37
 
 
38
ignore.c:
 
39
 "ignore created", IGNORE_REC
 
40
 "ignore destroyed", IGNORE_REC
 
41
 "ignore changed", IGNORE_REC
 
42
 
 
43
log.c:
 
44
 "log new", LOG_REC
 
45
 "log remove", LOG_REC
 
46
 "log create failed", LOG_REC
 
47
 "log locked", LOG_REC
 
48
 "log started", LOG_REC
 
49
 "log stopped", LOG_REC
 
50
 "log rotated", LOG_REC
 
51
 "log written", LOG_REC, char *line
 
52
 
 
53
modules.c:
 
54
 "module loaded", MODULE_REC, MODULE_FILE_REC
 
55
 "module unloaded", MODULE_REC, MODULE_FILE_REC
 
56
 "module error", int error, char *text, char *rootmodule, char *submodule
 
57
 
 
58
nicklist.c:
 
59
 "nicklist new", CHANNEL_REC, NICK_REC
 
60
 "nicklist remove", CHANNEL_REC, NICK_REC
 
61
 "nicklist changed", CHANNEL_REC, NICK_REC, char *old_nick
 
62
 "nicklist host changed", CHANNEL_REC, NICK_REC
 
63
 "nicklist gone changed", CHANNEL_REC, NICK_REC
 
64
 "nicklist serverop changed", CHANNEL_REC, NICK_REC
 
65
 
 
66
pidwait.c:
 
67
 "pidwait", int pid, int status
 
68
 
 
69
queries.c:
 
70
 "query created", QUERY_REC, int automatic
 
71
 "query destroyed", QUERY_REC
 
72
 "query nick changed", QUERY_REC, char *orignick
 
73
 "window item name changed", WI_ITEM_REC
 
74
 "query address changed", QUERY_REC
 
75
 "query server changed", QUERY_REC, SERVER_REC
 
76
 
 
77
rawlog.c:
 
78
 "rawlog", RAWLOG_REC, char *data
 
79
 
 
80
server.c:
 
81
 "server looking", SERVER_REC
 
82
 "server connected", SERVER_REC
 
83
 "server connecting", SERVER_REC, ulong *ip
 
84
 "server connect failed", SERVER_REC
 
85
 "server disconnected", SERVER_REC
 
86
 "server quit", SERVER_REC, char *msg
 
87
 "server sendmsg", SERVER_REC, char *target, char *msg, int target_type
 
88
 
 
89
settings.c:
 
90
 "setup changed"
 
91
 "setup reread", char *fname
 
92
 "setup saved", char *fname, int autosaved
 
93
 
 
94
 
 
95
IRC core
 
96
--------
 
97
 
 
98
* Provides signals:
 
99
 
 
100
bans.c:
 
101
 "ban type changed", char *bantype
 
102
 
 
103
channels, nicklist:
 
104
 "channel joined", CHANNEL_REC
 
105
 "channel wholist", CHANNEL_REC
 
106
 "channel sync", CHANNEL_REC
 
107
 
 
108
 "channel topic changed", CHANNEL_REC
 
109
 
 
110
ctcp.c:
 
111
 
 
112
 "ctcp msg", SERVER_REC, char *args, char *nick, char *addr, char *target
 
113
 "ctcp msg "<cmd>, SERVER_REC, char *args, char *nick, char *addr, char *target
 
114
 "default ctcp msg", SERVER_REC, char *args, char *nick, char *addr, char *target
 
115
 "ctcp reply", SERVER_REC, char *args, char *nick, char *addr, char *target
 
116
 "ctcp reply "<cmd>, SERVER_REC, char *args, char *nick, char *addr, char *target
 
117
 "default ctcp reply", SERVER_REC, char *args, char *nick, char *addr, char *target
 
118
 "ctcp action", SERVER_REC, char *args, char *nick, char *addr, char *target
 
119
 
 
120
irc-log.c:
 
121
 "awaylog show", LOG_REC, int away_msgs, int filepos
 
122
 
 
123
irc-nicklist.c:
 
124
 "server nick changed", SERVER_REC
 
125
 
 
126
irc-servers.c:
 
127
 "event connected", SERVER_REC
 
128
 
 
129
irc.c:
 
130
 
 
131
 "server event", SERVER_REC, char *data, char *sender_nick, char *sender_address
 
132
 "event "<cmd>, SERVER_REC, char *args, char *sender_nick, char *sender_address
 
133
 "default event", SERVER_REC, char *data, char *sender_nick, char *sender_address
 
134
 "whois default event", SERVER_REC, char *args, char *sender_nick, char *sender_address
 
135
 
 
136
 "server incoming", SERVER_REC, char *data
 
137
 
 
138
(for perl parser..)
 
139
 "redir "<cmd>, SERVER_REC, char *args, char *sender_nick, char *sender_address
 
140
 
 
141
lag.c:
 
142
 "server lag", SERVER_REC
 
143
 "server lag disconnect", SERVER_REC
 
144
 
 
145
massjoin.c:
 
146
 "massjoin", CHANNEL_REC, GSList of NICK_RECs
 
147
 
 
148
mode-lists.c:
 
149
 "ban new", CHANNEL_REC, BAN_REC
 
150
 "ban remove", CHANNEL_REC, BAN_REC, char *setby
 
151
 
 
152
modes.c:
 
153
 "channel mode changed", CHANNEL_REC, char *setby
 
154
 "nick mode changed", CHANNEL_REC, NICK_REC, char *setby, char *mode, char *type
 
155
 "user mode changed", SERVER_REC, char *old
 
156
 "away mode changed", SERVER_REC
 
157
 
 
158
netsplit.c:
 
159
 "netsplit server new", SERVER_REC, NETSPLIT_SERVER_REC
 
160
 "netsplit server remove", SERVER_REC, NETSPLIT_SERVER_REC
 
161
 "netsplit new", NETSPLIT_REC
 
162
 "netsplit remove", NETSPLIT_REC
 
163
 
 
164
IRC modules
 
165
-----------
 
166
 
 
167
* Provides signals:
 
168
 
 
169
dcc*.c:
 
170
 
 
171
 "dcc ctcp "<cmd>, char *args, DCC_REC
 
172
 "default dcc ctcp", char *args, DCC_REC
 
173
 "dcc unknown ctcp", char *args, char *sender, char *sendaddr
 
174
 
 
175
 "dcc reply "<cmd>, char *args, DCC_REC
 
176
 "default dcc reply", char *args, DCC_REC
 
177
 "dcc unknown reply", char *args, char *sender, char *sendaddr
 
178
 
 
179
 "dcc chat message", DCC_REC, char *msg
 
180
 
 
181
 "dcc created", DCC_REC
 
182
 "dcc destroyed", DCC_REC
 
183
 "dcc connected", DCC_REC
 
184
 "dcc rejecting", DCC_REC
 
185
 "dcc closed", DCC_REC
 
186
 "dcc request", DCC_REC, char *sendaddr
 
187
 "dcc request send", DCC_REC
 
188
 "dcc chat message", DCC_REC, char *msg
 
189
 "dcc transfer update", DCC_REC
 
190
 "dcc get receive", DCC_REC
 
191
 "dcc error connect", DCC_REC
 
192
 "dcc error file create", DCC_REC, char *filename
 
193
 "dcc error file open", char *nick, char *filename, int errno
 
194
 "dcc error get not found", char *nick
 
195
 "dcc error send exists", char *nick, char *filename
 
196
 "dcc error unknown type", char *type
 
197
 "dcc error close not found", char *type, char *nick, char *filename
 
198
 
 
199
autoignore.c:
 
200
 
 
201
 "autoignore new", SERVER_REC, AUTOIGNORE_REC
 
202
 "autoignore remove", SERVER_REC, AUTOIGNORE_REC
 
203
 
 
204
flood.c:
 
205
 
 
206
 "flood", SERVER_REC, char *nick, char *host, int level, char *target
 
207
 
 
208
notifylist.c:
 
209
 
 
210
 "notifylist new", NOTIFYLIST_REC
 
211
 "notifylist remove", NOTIFYLIST_REC
 
212
 "notifylist joined", SERVER_REC, char *nick, char *user, char *host, char *realname, char *awaymsg
 
213
 "notifylist away changed", SERVER_REC, char *nick, char *user, char *host, char *realname, char *awaymsg
 
214
 "notifylist unidle", SERVER_REC, char *nick, char *user, char *host, char *realname, char *awaymsg
 
215
 "notifylist left", SERVER_REC, char *nick, char *user, char *host, char *realname, char *awaymsg
 
216
 
 
217
proxy/listen.c:
 
218
 
 
219
 "proxy client connected", CLIENT_REC
 
220
 "proxy client disconnected", CLIENT_REC
 
221
 
 
222
FE common
 
223
---------
 
224
 
 
225
* Requires to work properly:
 
226
 
 
227
 "gui print text", WINDOW_REC, int fg, int bg, int flags, char *text, TEXT_DEST_REC
 
228
 
 
229
(Can be used to determine when all "gui print text"s are sent (not required))
 
230
 "gui print text finished", WINDOW_REC
 
231
 
 
232
* Provides signals:
 
233
 
 
234
completion.c:
 
235
 "complete word", GList * of char*, WINDOW_REC, char *word, char *linestart, int *want_space
 
236
 
 
237
fe-common-core.c:
 
238
 "irssi init read settings"
 
239
 
 
240
fe-exec.c:
 
241
 "exec new", PROCESS_REC
 
242
 "exec remove", PROCESS_REC, int status
 
243
 "exec input", PROCESS_REC, char *text
 
244
 
 
245
fe-messages.c:
 
246
 "message public", SERVER_REC, char *msg, char *nick, char *address, char *target
 
247
 "message private", SERVER_REC, char *msg, char *nick, char *address
 
248
 "message own_public", SERVER_REC, char *msg, char *target
 
249
 "message own_private", SERVER_REC, char *msg, char *target, char *orig_target
 
250
 "message join", SERVER_REC, char *channel, char *nick, char *address
 
251
 "message part", SERVER_REC, char *channel, char *nick, char *address, char *reason
 
252
 "message quit", SERVER_REC, char *nick, char *address, char *reason
 
253
 "message kick", SERVER_REC, char *channel, char *nick, char *kicker, char *address, char *reason
 
254
 "message nick", SERVER_REC, char *newnick, char *oldnick, char *address
 
255
 "message own_nick", SERVER_REC, char *newnick, char *oldnick, char *address
 
256
 "message invite", SERVER_REC, char *channel, char *nick, char *address
 
257
 "message topic", SERVER_REC, char *channel, char *topic, char *nick, char *address
 
258
 
 
259
keyboard.c:
 
260
 "keyinfo created", KEYINFO_REC
 
261
 "keyinfo destroyed", KEYINFO_REC
 
262
 
 
263
printtext.c:
 
264
 "print text", TEXT_DEST_REC *dest, char *text, char *stripped
 
265
 
 
266
themes.c:
 
267
 "theme created", THEME_REC
 
268
 "theme destroyed", THEME_REC
 
269
 
 
270
window-activity.c:
 
271
 "window hilight", WINDOW_REC
 
272
 "window activity", WINDOW_REC, int old_level
 
273
 "window item hilight", WI_ITEM_REC
 
274
 "window item activity", WI_ITEM_REC, int old_lvel
 
275
 
 
276
window-items.c:
 
277
 "window item new", WINDOW_REC, WI_ITEM_REC
 
278
 "window item remove", WINDOW_REC, WI_ITEM_REC
 
279
 "window item changed", WINDOW_REC, WI_ITEM_REC
 
280
 "window item server changed", WINDOW_REC, WI_ITEM_REC
 
281
 
 
282
windows.c:
 
283
 "window created", WINDOW_REC
 
284
 "window destroyed", WINDOW_REC
 
285
 "window changed", WINDOW_REC, WINDOW_REC old
 
286
 "window changed automatic", WINDOW_REC
 
287
 "window server changed", WINDOW_REC, SERVER_REC
 
288
 "window refnum changed", WINDOW_REC, int old
 
289
 "window name changed", WINDOW_REC
 
290
 "window history changed", WINDOW_REC, char *oldname
 
291
 "window level changed", WINDOW_REC
 
292
 
 
293
FE IRC
 
294
------
 
295
 
 
296
fe-irc-messages.c:
 
297
 "message irc op_public", SERVER_REC, char *msg, char *nick, char *address, char *target
 
298
 "message irc own_wall", SERVER_REC, char *msg, char *target
 
299
 "message irc own_action", SERVER_REC, char *msg, char *target
 
300
 "message irc action", SERVER_REC, char *msg, char *nick, char *address, char *target
 
301
 "message irc own_notice", SERVER_REC, char *msg, char *target
 
302
 "message irc notice", SERVER_REC, char *msg, char *nick, char *address, char *target
 
303
 "message irc own_ctcp", SERVER_REC, char *cmd, char *data, char *target
 
304
 "message irc ctcp", SERVER_REC, char *cmd, char *data, char *nick, char *address, char *target
 
305
 
 
306
fe-modes.c:
 
307
 "message irc mode", SERVER_REC, char *channel, char *nick, char *addr, char *mode
 
308
 
 
309
dcc/fe-dcc-chat-messages.c:
 
310
 "message dcc own", DCC_REC *dcc, char *msg
 
311
 "message dcc own_action", DCC_REC *dcc, char *msg
 
312
 "message dcc own_ctcp", DCC_REC *dcc, char *cmd, char *data
 
313
 "message dcc", DCC_REC *dcc, char *msg
 
314
 "message dcc action", DCC_REC *dcc, char *msg
 
315
 "message dcc ctcp", DCC_REC *dcc, char *cmd, char *data
 
316
 
 
317
Text FE
 
318
-------
 
319
 
 
320
gui-readline.c:
 
321
 "gui key pressed", int key
 
322
 
 
323
gui-printtext.c:
 
324
 "beep"
 
325
 
 
326
Perl
 
327
----
 
328
 
 
329
"script error", PERL_SCRIPT_REC, char *errormsg