X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=h%2Fdropsbr.h;h=2742ae6b75677d97a1bbd4089ea34af40323d800;hp=c26154166f8732891ac48f75b0b8233d2e502012;hb=ced6090a330d3d83d0bce709f756aa3d7d65fea4;hpb=337338b404931f06f0db2119c9e145e8ca5a9860 diff --git a/h/dropsbr.h b/h/dropsbr.h index c261541..2742ae6 100644 --- a/h/dropsbr.h +++ b/h/dropsbr.h @@ -1,32 +1,32 @@ /* - * dropsbr.h -- definitions for maildrop-style files - */ +** 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_start/d_stop 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. - */ +** 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_start/d_stop 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. +*/ /* - * various formats for maildrop files - */ +** various formats for maildrop files +*/ #define OTHER_FORMAT 0 #define MBOX_FORMAT 1 #define MMDF_FORMAT 2 @@ -41,8 +41,8 @@ struct drop { }; /* - * prototypes - */ +** prototypes +*/ int mbx_open (char *, int, uid_t, gid_t, mode_t); int mbx_read (FILE *, long, struct drop **, int); int mbx_write(char *, int, FILE *, int, long, long, off_t, int, int);