ftp.nice.ch/pub/next/connectivity/news/Alexandra.0.82.s.tar.gz#/alex8/MiscFindPanel.bproj/descriptors.h

This is descriptors.h in view mode; [Download] [Up]

// use for nntp "list" reply
typedef struct _newsgroupDesc{
   char *groupname;
   long max;
   long min;
   char post;
} newsgroupDesc;

//used for nntp "xhdr"+"xover" reply 
typedef struct _subjectDesc{
   long number;
   int artsize;
   int lines;
   char **fieldBody;   
} subjectDesc;

//used by "Article" Object to store header information
#define SUBJECT 0
#define FROM 1
#define DATE 2
#define MSG_ID 3
#define REFS 4
#define REPLY_TO 5
#define FOLLOWUP_TO 6
#define NEWSGROUPS 7

#define FIELD_COUNT 8
#define XOVER_COUNT 5

typedef struct _headerDesc {
   char **fieldBody;
} headerDesc;

//sort types for the article list

#define SORT_BY_NUMBER 0
#define SORT_BY_DATE 1
#define SORT_BY_SUBJECT 2
#define SORT_BY_REAL_NAME 3

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.