irctk

libircclient binding for scripts
git clone https://a3nm.net/git/irctk/
Log | Files | Refs | README

commit b679437ed414082935d9a88c2df7a5e1761793d5
parent 53d747aab3246ea2800488b5b75fb637b7f27cba
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sun,  1 Jul 2012 12:46:42 +0200

Merge branch 'master' into tracking

Diffstat:
irctk.c | 10++--------
1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/irctk.c b/irctk.c @@ -46,14 +46,8 @@ static char doc[] = /* A description of the arguments we accept. */ static char args_doc[] = "[NICK[:PASSWORD]@]SERVER[:PORT] [CHANNEL[:PASSWORD]]..."; -#define STANDARD 0 -#define MISC 1 -#define COM_MODE 2 -#define CHANNEL_SELECTION 3 -#define BOT_OPTIONS 4 -#define DISPLAY_SELECTION 5 -#define PARSING 6 -#define NAME 7 +enum arg_types {STANDARD, MISC, COM_MODE, CHANNEL_SELECTION, BOT_OPTIONS, + DISPLAY_SELECTION, PARSING, NAME}; /* The options we understand. */ static struct argp_option options[] = {