Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/commands.c @ 94:9a4aa2797f02
[/trunk] Changeset 108 by mikael
* Add completion functions. (Not integrated to the UI yet)
author | mikael |
---|---|
date | Tue, 19 Apr 2005 20:09:54 +0000 |
parents | 0bd578421ce9 |
children | 9e6b7897ec37 |
comparison
equal
deleted
inserted
replaced
93:b3618cb3bf65 | 94:9a4aa2797f02 |
---|---|
23 #include "jabglue.h" | 23 #include "jabglue.h" |
24 #include "roster.h" | 24 #include "roster.h" |
25 #include "screen.h" | 25 #include "screen.h" |
26 #include "utf8.h" | 26 #include "utf8.h" |
27 #include "utils.h" | 27 #include "utils.h" |
28 | |
29 | |
30 // Command structure | |
31 typedef struct { | |
32 char name[32]; | |
33 char *help; // ? | |
34 guint completion_flags; | |
35 void *(*func)(); | |
36 } cmd; | |
28 | 37 |
29 | 38 |
30 // send_message(msg) | 39 // send_message(msg) |
31 // Write the message in the buddy's window and send the message on | 40 // Write the message in the buddy's window and send the message on |
32 // the network. | 41 // the network. |