repo.or.cz
/
mailx.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
let page command take mail number
[mailx.git]
/
mbox.h
blob
5a30236904fe55a380398f3cb0411271a88cd5c0
1
#define MAXMAILS (1 << 14)
2
3
struct
mail
{
4
char
*
head
;
5
char
*
subject
;
6
int
len
;
7
};
8
9
struct
mbox
{
10
struct
mail mails
[
MAXMAILS
];
11
int
n
;
12
char
*
mbox
;
13
int
len
;
14
int
c
;
15
};
16
17
struct
mbox
*
mbox_alloc
(
char
*
filename
);
18
void
mbox_free
(
struct
mbox
*
mbox
);