]> www.infradead.org Git - users/dwmw2/ews-sync.git/commitdiff
Start making things sane... a header file for the "library" routine...
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 20 Jul 2010 19:32:45 +0000 (20:32 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 20 Jul 2010 19:32:45 +0000 (20:32 +0100)
ews2ical.c
ews_autodiscover.c
ews_syncfolder.c
libews.h [new file with mode: 0644]

index 047e0b1a825fdc2993636c4921addb6efaf833ab..a7d3e3ea4514f5cbc5d8ffbe7682aec90bd1976d 100644 (file)
@@ -17,6 +17,8 @@
 #include <glib.h>
 #include <glib/gprintf.h>
 
+#include "libews.h"
+
 FILE *calfile;
 
 extern icalcomponent *ews_calitem_to_ical(xmlNode *xml_node);
index b578355b7d48e2bdbcbd62fc8f61c1a7f6035d6c..bc1aac2a493a96614de461448a2268186d36b6fa 100644 (file)
@@ -5,6 +5,8 @@
 #include <libxml/parser.h>
 #include <libxml/tree.h>
 
+#include "libews.h"
+
 struct ews_auth {
        const char *username;
        const char *password;
index b67194525b7cbdef6e87a1072ed1862d849cd875..d0e6fb533625faca0a3baff49d8995a4d4e33bc4 100644 (file)
@@ -6,6 +6,9 @@
 #include <libxml/parser.h>
 #include <libxml/tree.h>
 #include <libical/icalcomponent.h>
+
+#include "libews.h"
+
 #define ITEM_CREATE 1
 #define ITEM_DELETE 2
 #define ITEM_UPDATE 3
diff --git a/libews.h b/libews.h
new file mode 100644 (file)
index 0000000..97e4349
--- /dev/null
+++ b/libews.h
@@ -0,0 +1,29 @@
+/*
+ * libews.h -- Exchange Web Services
+ *
+ * Copyright © 2010 Intel Corporation
+ *
+ * Author: David Woodhouse <dwmw2@infradead.org>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of version 2 of the GNU General Public
+ * License as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+#ifndef __LIBEWS_H__
+#define __LIBEWS_H__
+
+#include <libical/icalcomponent.h>
+
+icalcomponent *ews_calitem_to_ical(xmlNode *xml_node);
+
+#endif