X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=pop%2Fpop.h;h=58214917f485b9a11988ce78a59c8671df9a9da8;hb=a11eb994c38b1ef41ea05b56736f70cc396e0ff8;hp=453d2ce4342b09ac903de51d5daf8e633b410d53;hpb=cc917eda58cb573cd3f56337dfe088a94e23649c;p=apps%2Fmadmutt.git diff --git a/pop/pop.h b/pop/pop.h index 453d2ce..5821491 100644 --- a/pop/pop.h +++ b/pop/pop.h @@ -49,22 +49,22 @@ typedef enum pop_query_status_e { PQ_OK = 0 } pop_query_status; -typedef enum cmd_user_status_e { - USER_NOT_AVAILABLE = 0, - USER_AVAILABLE, - USER_UNKNOWN -} cmd_user_status; +typedef enum cmd_status_e { + CMD_NOT_AVAILABLE = 0, + CMD_AVAILABLE, + CMD_UNKNOWN /* unknown whether it is available or not */ +} cmd_status; typedef struct { CONNECTION *conn; unsigned int status:2; unsigned int capabilities:1; unsigned int use_stls:2; - unsigned int cmd_capa:1; /* optional command CAPA */ - unsigned int cmd_stls:1; /* optional command STLS */ - cmd_user_status cmd_user; /* optional command USER */ - unsigned int cmd_uidl:2; /* optional command UIDL */ - unsigned int cmd_top:2; /* optional command TOP */ + cmd_status cmd_capa; /* optional command CAPA */ + cmd_status cmd_stls; /* optional command STLS */ + cmd_status cmd_user; /* optional command USER */ + cmd_status cmd_uidl; /* optional command UIDL */ + cmd_status cmd_top; /* optional command TOP */ unsigned int resp_codes:1; /* server supports extended response codes */ unsigned int expire:1; /* expire is greater than 0 */ unsigned int clear_cache:1;