X-Git-Url: http://git.pond.sub.org/?p=empserver;a=blobdiff_plain;f=include%2Ftel.h;h=cc58f3b522469dda9fb67abdfa29e92ea904e1ec;hp=0215eab0bd9626f01fd9dcd0f6afbe81b7aff7d0;hb=HEAD;hpb=7e2008e7f4a7eac9b44ed6e3fa2a7d7dcb0c49bf diff --git a/include/tel.h b/include/tel.h index 0215eab0b..cc58f3b52 100644 --- a/include/tel.h +++ b/include/tel.h @@ -1,6 +1,6 @@ /* * Empire - A multi-player, client/server Internet based war game. - * Copyright (C) 1986-2011, Dave Pare, Jeff Bailey, Thomas Ruschak, + * Copyright (C) 1986-2021, Dave Pare, Jeff Bailey, Thomas Ruschak, * Ken Stevens, Steve McClure, Markus Armbruster * * Empire is free software: you can redistribute it and/or modify @@ -27,7 +27,7 @@ * tel.h: Definitions for things having to do with telegrams * * Known contributors to this file: - * Markus Armbruster, 2009 + * Markus Armbruster, 2009-2011 */ #ifndef TEL_H @@ -50,11 +50,13 @@ struct telstr { natid tel_from; /* sender */ unsigned char tel_type; + signed char tel_cont; /* squash into prev. telegram? */ unsigned tel_length; /* how long */ time_t tel_date; /* when sent */ }; extern char *mailbox(char *buf, natid cn); +extern int mailbox_create(char *); extern int tel_read_header(FILE *, char *, struct telstr *); extern int tel_read_body(FILE *, char *, struct telstr *, int (*sink)(char *, size_t, void *),