This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-mbse/mbfido/scannews.h
2001-08-17 05:46:24 +00:00

40 lines
699 B
C

#ifndef _SCANNEWS_H
#define _SCANNEWS_H
#define MAX_MSGID_LEN 196
#define MAX_GRP_LEN 128
/*
* Linked list for list overview.fmt
*/
typedef struct XOVERVIEW {
struct XOVERVIEW *next;
char *header; /* dynamically alloced */
char *field;
int fieldlen;
int full;
} Overview, *POverview;
/*
* Linked list structure one for each article
*/
typedef struct LinkList {
struct LinkList *next;
char msgid[MAX_MSGID_LEN];
long nr;
int isdupe;
} List, *PList;
enum { RETVAL_ERROR = -1, RETVAL_OK = 0, RETVAL_NOARTICLES, RETVAL_UNEXPECTEDANS, RETVAL_VERNR, \
RETVAL_NOAUTH, RETVAL_EMPTYKILL, RETVAL_NOXOVER };
void ScanNews(void);
int do_article(FILE *);
#endif