/*
* 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
* tel.h: Definitions for things having to do with telegrams
*
* Known contributors to this file:
- * Markus Armbruster, 2009-2010
+ * Markus Armbruster, 2009-2011
*/
#ifndef TEL_H
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 *),