mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 07:32:04 +02:00
Automatic command completion and a few other fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@387 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
dd7ce4af23
commit
7e531cec7a
11 changed files with 195 additions and 119 deletions
|
|
@ -4,6 +4,7 @@
|
|||
#include "signals.h"
|
||||
|
||||
typedef struct {
|
||||
int count;
|
||||
char *category;
|
||||
char *cmd;
|
||||
char **options;
|
||||
|
|
@ -14,6 +15,9 @@ enum {
|
|||
CMDERR_OPTION_AMBIGUOUS = -2, /* ambiguous -option */
|
||||
CMDERR_OPTION_ARG_MISSING = -1, /* argument missing for -option */
|
||||
|
||||
CMDERR_UNKNOWN, /* unknown command */
|
||||
CMDERR_AMBIGUOUS, /* ambiguous command */
|
||||
|
||||
CMDERR_ERRNO, /* get the error from errno */
|
||||
CMDERR_NOT_ENOUGH_PARAMS, /* not enough parameters given */
|
||||
CMDERR_NOT_CONNECTED, /* not connected to IRC server */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue