Mercurial > hg
comparison mcabber/src/commands.h @ 1059:875d2c9d399c
Code cleanup
Fix some prototypes.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 30 Nov 2006 20:48:01 +0100 |
parents | 90ff94f0fbbb |
children | c30c315dc447 |
comparison
equal
deleted
inserted
replaced
1058:c0d44a9a99bc | 1059:875d2c9d399c |
---|---|
6 // Command structure | 6 // Command structure |
7 typedef struct { | 7 typedef struct { |
8 char name[32]; | 8 char name[32]; |
9 const char *help; | 9 const char *help; |
10 guint completion_flags[2]; | 10 guint completion_flags[2]; |
11 void (*func)(); | 11 void (*func)(char *); |
12 } cmd; | 12 } cmd; |
13 | 13 |
14 void cmd_init(void); | 14 void cmd_init(void); |
15 cmd *cmd_get(const char *command); | 15 cmd *cmd_get(const char *command); |
16 int process_line(char *line); | 16 int process_line(char *line); |