#define IVAC_SEND_NAME 'n'
#define IVAC_SEND_G_CAP 'g'
#define IVAC_SEND_AV_CAP 'c'
+#define IVAC_SEND_QUIT 'q'
#define NETWORK (1<<0)
#define IVAC_PROMPT_LEN 3
#define IVAC_CONSOLE_LEN 8
+#define IVAC_ARG_LEN CHAR_USERNAME
+#define IVAC_ARG_COUNT 4
+
/* variables */
typedef struct s_challenger {
char name[CHAR_USERNAME];
} t_ivac;
/* function prototypes */
+int usage(void);
int ivac_shutdown(t_ivac *ivac);
int ivac_send_info(int channel,t_ivac *ivac);
+int ivac_send_quit(int channel,t_ivac *ivac);
int ivac_receive_info(int channel,t_ivac *ivac);
int ivac_event_cb(t_event *event,void *ptr);
int ivac_regular_cb(t_event *event,void *ptr);