diff options
| author | rsc <devnull@localhost> | 2006-02-15 23:06:27 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2006-02-15 23:06:27 +0000 |
| commit | 880ab2f10a2d4922d314ff8d016ea078f3c7f019 (patch) | |
| tree | 9bb0a5bfd45d9a78ec768e1589257f50c635c522 /src/cmd/acme/mail/dat.h | |
| parent | 201e19d672a2dab81e213237569022607aced2e1 (diff) | |
| download | plan9port-880ab2f10a2d4922d314ff8d016ea078f3c7f019.tar.gz plan9port-880ab2f10a2d4922d314ff8d016ea078f3c7f019.zip | |
fixed
Diffstat (limited to 'src/cmd/acme/mail/dat.h')
| -rw-r--r-- | src/cmd/acme/mail/dat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cmd/acme/mail/dat.h b/src/cmd/acme/mail/dat.h index 4d8d3cdf..87d4e7b0 100644 --- a/src/cmd/acme/mail/dat.h +++ b/src/cmd/acme/mail/dat.h @@ -25,6 +25,10 @@ struct Event struct Window { + /* coordinate wineventproc and window thread */ + QLock lk; + int ref; + /* file descriptors */ CFid* ctl; CFid* event; @@ -112,6 +116,8 @@ extern int winsetaddr(Window*, char*, int); extern char* winreadbody(Window*, int*); extern void windormant(Window*); extern void winsetdump(Window*, char*, char*); +extern void winincref(Window*); +extern void windecref(Window*); extern void readmbox(Message*, char*, char*); extern void rewritembox(Window*, Message*); |
