X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=src%2Fivac.h;h=af64d04c8592b51f018558a3a821fd86ad7e3346;hb=c19ed5019b55ed603dc10ff6f8ea47bf25058589;hp=a946580db13e4b75388894b79a044d4e39026092;hpb=2fb65b9beceb0945b593e28332507aa1b7c3fd90;p=my-code%2Fivac.git diff --git a/src/ivac.h b/src/ivac.h index a946580..af64d04 100644 --- a/src/ivac.h +++ b/src/ivac.h @@ -28,6 +28,7 @@ #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) @@ -64,8 +65,10 @@ typedef struct s_ivac { } 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);