tforgot - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit eacea5a0647ba94a9d5906b2b4b7b5761bcef6e9
(DIR) parent c33c1419f46d6c39651c8d51e54f3ea2e0a65677
(HTM) Author: rsc <devnull@localhost>
Date: Fri, 17 Feb 2006 17:22:20 +0000
forgot
Diffstat:
A src/cmd/upas/nfs/a.h | 41 +++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/src/cmd/upas/nfs/a.h b/src/cmd/upas/nfs/a.h
t@@ -0,0 +1,41 @@
+#include <u.h>
+#include <libc.h>
+#include <bio.h>
+#include <auth.h>
+#include <thread.h>
+#include <fcall.h>
+#include <plumb.h>
+#include <9p.h>
+
+enum
+{
+ STACK = 8192
+};
+
+#include "box.h"
+#include "sx.h"
+#include "imap.h"
+#include "fs.h"
+
+void mailthreadinit(void);
+void mailthread(void (*fn)(void*), void*);
+
+void warn(char*, ...);
+
+#define esmprint smprint
+#define emalloc(n) mallocz(n, 1)
+#define erealloc realloc
+#define estrdup strdup
+
+enum
+{
+ NoEncoding,
+ QuotedPrintable,
+ Base64,
+};
+
+char* decode(int, char*, int*);
+char* tcs(char*, char*);
+char* unrfc2047(char*);
+
+extern Imap *imap;