diff 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
line wrap: on
line diff
--- a/mcabber/src/commands.c	Mon Apr 18 19:27:16 2005 +0000
+++ b/mcabber/src/commands.c	Tue Apr 19 20:09:54 2005 +0000
@@ -27,6 +27,15 @@
 #include "utils.h"
 
 
+// Command structure
+typedef struct {
+  char name[32];
+  char *help;       // ?
+  guint completion_flags;
+  void *(*func)();
+} cmd;
+
+
 //  send_message(msg)
 // Write the message in the buddy's window and send the message on
 // the network.