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/orphans.h
Andrew Leary c67670029a v1.0.7.12 - Fix bad/orphan .TIC support to support .TIC files with names longer
than 8 characters; fix empty partial files left in temporary inbound when a
remote Binkp site attempts to send a 0 byte file.
2019-03-15 07:30:23 -04:00

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