let page command take mail number
[mailx.git] / mbox.h
blob5a30236904fe55a380398f3cb0411271a88cd5c0
1 #define MAXMAILS (1 << 14)
3 struct mail {
4 char *head;
5 char *subject;
6 int len;
7 };
9 struct mbox {
10 struct mail mails[MAXMAILS];
11 int n;
12 char *mbox;
13 int len;
14 int c;
17 struct mbox *mbox_alloc(char *filename);
18 void mbox_free(struct mbox *mbox);