c67670029a
than 8 characters; fix empty partial files left in temporary inbound when a remote Binkp site attempts to send a 0 byte file.
23 lines
836 B
C
23 lines
836 B
C
#ifndef _ORPHANS_H
|
|
#define _ORPHANS_H
|
|
|
|
/* $Id: orphans.h,v 1.1 2005/11/12 12:33:06 mbse Exp $ */
|
|
|
|
/*
|
|
* Linked list of orpaned ticfiles.
|
|
*/
|
|
typedef struct _orphans {
|
|
struct _orphans *next; /* Linked list */
|
|
char TicName[51]; /* TIC filename */
|
|
char Area[21]; /* TIC area */
|
|
char FileName[81]; /* TIC filename */
|
|
unsigned Orphaned : 1; /* Real orphaned file */
|
|
unsigned BadCRC : 1; /* Present but wrong crc */
|
|
unsigned Purged : 1; /* Can be purged */
|
|
} orphans;
|
|
|
|
void tidy_orphans(orphans **);
|
|
void fill_orphans(orphans **, char *, char *, char *, int, int);
|
|
|
|
#endif
|