tforgot - plan9port - [fork] Plan 9 from user space
git clone git://src.adamsgaard.dk/plan9port
Log
Files
Refs
README
LICENSE
---
commit eacea5a0647ba94a9d5906b2b4b7b5761bcef6e9
parent c33c1419f46d6c39651c8d51e54f3ea2e0a65677
Author: rsc 
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(-)
---
diff --git a/src/cmd/upas/nfs/a.h b/src/cmd/upas/nfs/a.h
t@@ -0,0 +1,41 @@
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#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;