DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T d

⟦2eb5301e7⟧ TextFile

    Length: 1115 (0x45b)
    Types: TextFile
    Names: »dropsbr.h«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦3658e588a⟧ »EurOpenD3/mail/mh/mh-6.7.tar.Z« 
        └─⟦c75e36ecb⟧ 
            └─⟦this⟧ »mh-6.7/h/dropsbr.h« 

TextFile

/* dropsbr.h - definitions for maildrop-style files */


/* A file which is formatted like a maildrop may have a corresponding map
   file which is an index to the bounds of each message.  The first record
   of such an map is special, it contains:

	d_id    = number of messages in file
	d_size	= version number of map
	d_start = last message read
	d_stop  = size of file

    Each record after that contains:

	d_id	= BBoard-ID: of message, or similar info
	d_size	= size of message in ARPA Internet octets (\n == 2 octets)
	d_start	= starting position of message in file
	d_stop	= stopping position of message in file

   Note that d_st{art,op} do NOT include the message delimiters, so
   programs using the map can simply fseek to d_start and keep reading
   until the position is at d_stop.
 */

#define	DRVRSN	3

struct drop {
    int     d_id;
    int	    d_size;
    long    d_start;
    long    d_stop;
};


int	map_chk (), map_read (), map_write ();
char   *map_name ();

int	mbx_mmdf (), mbx_uucp ();
int	mbx_open (), mbx_Xopen (), mbx_copy (), mbx_size (), mbx_close ();
int	mbx_read (), mbx_write ();