Added a skeleton 'vnote.c' module to libcitadel
authorArt Cancro <ajc@citadel.org>
Thu, 17 Apr 2008 17:04:42 +0000 (17:04 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 17 Apr 2008 17:04:42 +0000 (17:04 +0000)
libcitadel/Makefile.in
libcitadel/lib/vnote.c [new file with mode: 0644]

index 037a56a64de06452ae94554644a50ba740219510..7dfeaa6da91005a3e6de958c3d6fc073e20bc556 100755 (executable)
@@ -105,6 +105,7 @@ LIB_OBJS = lib/libcitadel.lo \
        lib/mime_parser.lo \
        lib/tools.lo \
        lib/vcard.lo \
+       lib/vnote.lo \
        lib/hash.lo \
        lib/lookup3.lo \
        lib/xdgmime/xdgmime.lo \
@@ -123,6 +124,7 @@ lib/libcitadel.lo: lib/libcitadel.c lib/libcitadel.h
 lib/mime_parser.lo: lib/mime_parser.c lib/libcitadel.h
 lib/tools.lo: lib/tools.c lib/libcitadel.h
 lib/vcard.lo: lib/vcard.c lib/libcitadel.h
+lib/vnote.lo: lib/vnote.c lib/libcitadel.h
 lib/lookup3.lo: lib/lookup3.c lib/libcitadel.h
 lib/hash.lo: lib/hash.c lib/libcitadel.h
 lib/xdgmime/xdgmime.lo: lib/xdgmime/xdgmime.c 
diff --git a/libcitadel/lib/vnote.c b/libcitadel/lib/vnote.c
new file mode 100644 (file)
index 0000000..ebce5a8
--- /dev/null
@@ -0,0 +1,67 @@
+/*
+ * $Id: $
+ *
+ * vNote implementation for Citadel
+ *
+ * Copyright (C) 1999-2007 by the citadel.org development team.
+ * This code is freely redistributable under the terms of the GNU General
+ * Public License.  All other rights reserved.
+ */
+
+
+#include <stdlib.h>
+#include <unistd.h>
+#include <stdio.h>
+#include <fcntl.h>
+#include <signal.h>
+
+#if TIME_WITH_SYS_TIME
+# include <sys/time.h>
+# include <time.h>
+#else
+# if HAVE_SYS_TIME_H
+#  include <sys/time.h>
+# else
+#  include <time.h>
+# endif
+#endif
+
+#include <ctype.h>
+#include <string.h>
+#include <errno.h>
+#include <limits.h>
+#include <string.h>
+#include <libcitadel.h>
+
+
+/*
+
+This whole file is merely a placeholder.
+
+We need to be able to support some of these...
+
+
+BEGIN:vnote
+VERSION:1.1
+PRODID://Bynari Insight Connector 3.1.3-0605191//Import from Outlook//EN
+CLASS:PUBLIC
+UID:040000008200E00074C5B7101A82E0080000000000000000000000000000000000000820425CE8571864B8D141CB3FB8CAC62
+NOTE;ENCODING=QUOTED-PRINTABLE:blah blah blah=0D=0A=0D=0A
+SUMMARY:blah blah blah=0D=0A=0D=0A
+X-OUTLOOK-COLOR:#FFFF00
+X-OUTLOOK-WIDTH:200
+X-OUTLOOK-HEIGHT:166
+X-OUTLOOK-LEFT:80
+X-OUTLOOK-TOP:80
+X-OUTLOOK-CREATE-TIME:20070611T204615Z
+REV:20070611T204621Z
+END:vnote
+
+BEGIN:VNOTE^M
+VERSION:1.1^M
+UID:20061129111109.7chx73xdok1s at 172.16.45.2^M
+BODY:HORDE_1^M
+DCREATED:20061129T101109Z^M
+END:VNOTE^M
+
+*/