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

40 lines
684 B
C
Raw Normal View History

2001-08-17 05:46:24 +00:00
#ifndef _SCANNEWS_H
#define _SCANNEWS_H
2005-10-11 20:49:41 +00:00
/* $Id$ */
2001-08-17 05:46:24 +00:00
#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];
2005-10-11 20:49:41 +00:00
int nr;
2001-08-17 05:46:24 +00:00
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);
#endif