X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=nntp%2Fnntp.h;h=0fe2605e6f1199f763fadd44e4fa2316de9c73b7;hp=de7627faf1ad357d7bc21d1337fdc0e1e9088d14;hb=4e846802eb1912873b56a27644215e6eeb91dc76;hpb=56ac9bea51f338d488828ad1114d58b4a9542209 diff --git a/nntp/nntp.h b/nntp/nntp.h index de7627f..0fe2605 100644 --- a/nntp/nntp.h +++ b/nntp/nntp.h @@ -35,11 +35,12 @@ typedef struct { } NEWSRC_ENTRY; typedef struct { - unsigned int hasXPAT:1; - unsigned int hasXGTITLE:1; - unsigned int hasXOVER:1; - unsigned int hasLISTGROUP:1; - unsigned int status:3; + unsigned feat_known : 1; + unsigned hasXPAT : 1; + unsigned hasXGTITLE : 1; + unsigned hasXOVER : 1; + unsigned hasLISTGROUP : 1; + unsigned status : 3; char *newsrc; char *cache; int stat; @@ -54,24 +55,24 @@ typedef struct { } NNTP_SERVER; typedef struct { - unsigned int index; + int index; char *path; } NNTP_CACHE; typedef struct { NEWSRC_ENTRY *entries; - unsigned int num; /* number of used entries */ - unsigned int max; /* number of allocated entries */ - unsigned int unread; - unsigned int firstMessage; - unsigned int lastMessage; - unsigned int lastLoaded; - unsigned int lastCached; - unsigned int subscribed:1; - unsigned int rc:1; - unsigned int new:1; - unsigned int allowed:1; - unsigned int deleted:1; + int num; /* number of used entries */ + int max; /* number of allocated entries */ + int unread; + int firstMessage; + int lastMessage; + int lastLoaded; + int lastCached; + unsigned subscribed:1; + unsigned rc:1; + unsigned new:1; + unsigned allowed:1; + unsigned deleted:1; char *group; char *desc; char *cache;