[evolution-patches] fix for 57128



Hi,

I think I have a fix for bug 57128.

Does this look ok?

Thanks,
Jon
? addressbook/backends/groupwise/Makefile
? addressbook/backends/groupwise/Makefile.in
? addressbook/backends/groupwise/create-account
? calendar/libical/src/python/Makefile
? calendar/libical/src/python/Makefile.in
? servers/groupwise/libegroupwise-1.0.pc
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/ChangeLog,v
retrieving revision 1.120
diff -p -u -r1.120 ChangeLog
--- ChangeLog	27 Apr 2004 19:37:22 -0000	1.120
+++ ChangeLog	29 Apr 2004 17:20:27 -0000
@@ -1,3 +1,23 @@
+2004-04-29  William Jon McCann  <mccann jhu edu>
+
+	* libedataserver/e-account-list.h: 
+	* libedataserver/e-account.h:
+	* libedataserver/e-db3-utils.h:
+	* libedataserver/e-dbhash.h:
+	* libedataserver/e-iterator.h:
+	* libedataserver/e-list-iterator.h:
+	* libedataserver/e-list.h:
+	* libedataserver/e-memory.h:
+	* libedataserver/e-sexp.h:
+	* libedataserver/e-source-group.h:
+	* libedataserver/e-source-list.h:
+	* libedataserver/e-source.h:
+	* libedataserver/e-uid.h:
+	* libedataserver/e-url.h:
+	* libedataserver/e-util.h:
+	* libedataserver/e-xml-hash-utils.h:
+	* libedataserver/md5-utils.h: Add missing G_BEGIN_DECLS and G_END_DECLS
+
 2004-04-27  Jeffrey Stedfast  <fejj ximian com>
 
 	* libedataserver/e-dbhash.c (e_dbhash_foreach_key): Revert
Index: addressbook/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/ChangeLog,v
retrieving revision 1.138
diff -p -u -r1.138 ChangeLog
--- addressbook/ChangeLog	27 Apr 2004 19:37:01 -0000	1.138
+++ addressbook/ChangeLog	29 Apr 2004 17:20:28 -0000
@@ -1,3 +1,19 @@
+2004-04-29  William Jon McCann  <mccann jhu edu>
+
+	* addressbook/libebook/e-address-western.h:
+	* addressbook/libebook/e-contact.h:
+	* addressbook/libebook/e-name-western-tables.h:
+	* addressbook/libebook/e-name-western.h:
+	* addressbook/libebook/e-vcard.h:
+	* addressbook/libedata-book/e-book-backend-sexp.h:
+	* addressbook/libedata-book/e-book-backend-summary.h:
+	* addressbook/libedata-book/e-book-backend-sync.h:
+	* addressbook/libedata-book/e-book-backend.h:
+	* addressbook/libedata-book/e-data-book-types.h:
+	* addressbook/libedata-book/e-data-book-view.h:
+	* addressbook/libedata-book/e-data-book.h:
+	Add missing G_BEGIN_DECLS and G_END_DECLS
+
 2004-04-27  Jeffrey Stedfast  <fejj ximian com>
 
 	* backends/file/e-book-backend-file.c
Index: addressbook/libebook/e-address-western.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/libebook/e-address-western.h,v
retrieving revision 1.1
diff -p -u -r1.1 e-address-western.h
--- addressbook/libebook/e-address-western.h	7 Nov 2003 21:45:48 -0000	1.1
+++ addressbook/libebook/e-address-western.h	29 Apr 2004 17:20:28 -0000
@@ -1,6 +1,8 @@
 #ifndef __E_ADDRESS_WESTERN_H__
 #define __E_ADDRESS_WESTERN_H__
 
+G_BEGIN_DECLS
+
 typedef struct {
 	
 	/* Public */
@@ -15,6 +17,8 @@ typedef struct {
 
 EAddressWestern *e_address_western_parse (const char *address);
 void e_address_western_free (EAddressWestern *eaw);
+
+G_END_DECLS
 
 #endif  /* ! __E_ADDRESS_WESTERN_H__ */
 
Index: addressbook/libebook/e-contact.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/libebook/e-contact.h,v
retrieving revision 1.13
diff -p -u -r1.13 e-contact.h
--- addressbook/libebook/e-contact.h	26 Feb 2004 20:12:28 -0000	1.13
+++ addressbook/libebook/e-contact.h	29 Apr 2004 17:20:28 -0000
@@ -14,6 +14,8 @@
 #include <stdio.h>
 #include <libebook/e-vcard.h>
 
+G_BEGIN_DECLS
+
 #define E_TYPE_CONTACT            (e_contact_get_type ())
 #define E_CONTACT(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_CONTACT, EContact))
 #define E_CONTACT_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), E_TYPE_CONTACT, EContactClass))
@@ -297,5 +299,7 @@ const char*             e_contact_field_
 const char*             e_contact_pretty_name      (EContactField field_id);
 const char*             e_contact_vcard_attribute  (EContactField field_id);
 EContactField           e_contact_field_id         (const char *field_name);
+
+G_END_DECLS
 
 #endif /* __E_CONTACT_H__ */
Index: addressbook/libebook/e-name-western-tables.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/libebook/e-name-western-tables.h,v
retrieving revision 1.1
diff -p -u -r1.1 e-name-western-tables.h
--- addressbook/libebook/e-name-western-tables.h	7 Nov 2003 21:45:48 -0000	1.1
+++ addressbook/libebook/e-name-western-tables.h	29 Apr 2004 17:20:28 -0000
@@ -1,6 +1,8 @@
 #ifndef __E_NAME_WESTERN_TABLES_H__
 #define __E_NAME_WESTERN_TABLES_H__
 
+G_BEGIN_DECLS
+
 char *e_name_western_pfx_table[] = {
 
 	/*
@@ -70,5 +72,7 @@ char *e_name_western_twopart_sfx_table[]
 	NULL};
 
 char *e_name_western_complex_last_table[] = {"van", "von", "de", "di", NULL};
+
+G_END_DECLS
 
 #endif /* ! __E_NAME_WESTERN_TABLES_H__ */
Index: addressbook/libebook/e-name-western.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/libebook/e-name-western.h,v
retrieving revision 1.1
diff -p -u -r1.1 e-name-western.h
--- addressbook/libebook/e-name-western.h	7 Nov 2003 21:45:48 -0000	1.1
+++ addressbook/libebook/e-name-western.h	29 Apr 2004 17:20:28 -0000
@@ -1,6 +1,8 @@
 #ifndef __E_NAME_WESTERN_H__
 #define __E_NAME_WESTERN_H__
 
+G_BEGIN_DECLS
+
 typedef struct {
 
 	/* Public */
@@ -17,5 +19,7 @@ typedef struct {
 
 ENameWestern *e_name_western_parse (const char   *full_name);
 void          e_name_western_free  (ENameWestern *w);
+
+G_END_DECLS
 
 #endif /* ! __E_NAME_WESTERN_H__ */
Index: addressbook/libebook/e-vcard.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/libebook/e-vcard.h,v
retrieving revision 1.8
diff -p -u -r1.8 e-vcard.h
--- addressbook/libebook/e-vcard.h	21 Apr 2004 20:40:25 -0000	1.8
+++ addressbook/libebook/e-vcard.h	29 Apr 2004 17:20:28 -0000
@@ -26,6 +26,8 @@
 #include <glib.h>
 #include <glib-object.h>
 
+G_BEGIN_DECLS
+
 #define EVC_ADR             "ADR"
 #define EVC_BDAY            "BDAY"
 #define EVC_CALURI          "CALURI"
@@ -186,5 +188,7 @@ gboolean         e_vcard_attribute_has_t
 /* Utility functions. */
 char*            e_vcard_escape_string (const char *str);
 char*            e_vcard_unescape_string (const char *str);
+
+G_END_DECLS
 
 #endif /* _EVCARD_H */
Index: addressbook/libedata-book/e-book-backend-sexp.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/libedata-book/e-book-backend-sexp.h,v
retrieving revision 1.2
diff -p -u -r1.2 e-book-backend-sexp.h
--- addressbook/libedata-book/e-book-backend-sexp.h	6 Nov 2003 01:37:37 -0000	1.2
+++ addressbook/libedata-book/e-book-backend-sexp.h	29 Apr 2004 17:20:28 -0000
@@ -29,6 +29,8 @@
 #include <libebook/e-contact.h>
 #include <libedata-book/e-data-book-types.h>
 
+G_BEGIN_DECLS
+
 #define E_TYPE_BACKEND_SEXP        (e_book_backend_sexp_get_type ())
 #define E_BOOK_BACKEND_SEXP(o)          (G_TYPE_CHECK_INSTANCE_CAST ((o), E_TYPE_BACKEND_SEXP, EBookBackendSExp))
 #define E_BOOK_BACKEND_SEXP_CLASS(k)    (G_TYPE_CHECK_CLASS_CAST((k), E_BOOK_BACKEND_TYPE, EBookBackendSExpClass))
@@ -52,5 +54,7 @@ GType               e_book_backend_sexp_
 
 gboolean            e_book_backend_sexp_match_vcard (EBookBackendSExp *sexp, const char *vcard);
 gboolean            e_book_backend_sexp_match_contact (EBookBackendSExp *sexp, EContact *contact);
+
+G_END_DECLS
 
 #endif /* __E_BOOK_BACKEND_SEXP_H__ */
Index: addressbook/libedata-book/e-book-backend-summary.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/libedata-book/e-book-backend-summary.h,v
retrieving revision 1.3
diff -p -u -r1.3 e-book-backend-summary.h
--- addressbook/libedata-book/e-book-backend-summary.h	10 Nov 2003 17:18:57 -0000	1.3
+++ addressbook/libedata-book/e-book-backend-summary.h	29 Apr 2004 17:20:28 -0000
@@ -29,6 +29,8 @@
 #include <libedata-book/e-data-book-types.h>
 #include <libebook/e-contact.h>
 
+G_BEGIN_DECLS
+
 #define E_TYPE_BACKEND_SUMMARY        (e_book_backend_summary_get_type ())
 #define E_BOOK_BACKEND_SUMMARY(o)          (G_TYPE_CHECK_INSTANCE_CAST ((o), E_TYPE_BACKEND_SUMMARY, EBookBackendSummary))
 #define E_BOOK_BACKEND_SUMMARY_CLASS(k)    (G_TYPE_CHECK_CLASS_CAST((k), E_BOOK_BACKEND_TYPE, EBookBackendSummaryClass))
@@ -69,5 +71,7 @@ gboolean           e_book_backend_summar
 gboolean           e_book_backend_summary_is_summary_query  (EBookBackendSummary *summary, const char *query);
 GPtrArray*         e_book_backend_summary_search            (EBookBackendSummary *summary, const char *query);
 char*              e_book_backend_summary_get_summary_vcard (EBookBackendSummary *summary, const char *id);
+
+G_END_DECLS
 
 #endif /* __E_BOOK_BACKEND_SUMMARY_H__ */
Index: addressbook/libedata-book/e-book-backend-sync.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/libedata-book/e-book-backend-sync.h,v
retrieving revision 1.4
diff -p -u -r1.4 e-book-backend-sync.h
--- addressbook/libedata-book/e-book-backend-sync.h	10 Nov 2003 17:12:13 -0000	1.4
+++ addressbook/libedata-book/e-book-backend-sync.h	29 Apr 2004 17:20:28 -0000
@@ -10,6 +10,8 @@
 #include <libedata-book/e-data-book-types.h>
 #include <libedata-book/e-book-backend.h>
 
+G_BEGIN_DECLS
+
 #define E_TYPE_BOOK_BACKEND_SYNC         (e_book_backend_sync_get_type ())
 #define E_BOOK_BACKEND_SYNC(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), E_TYPE_BOOK_BACKEND_SYNC, EBookBackendSync))
 #define E_BOOK_BACKEND_SYNC_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST((k), E_TYPE_BOOK_BACKEND_SYNC, EBookBackendSyncClass))
@@ -77,5 +79,7 @@ EBookBackendSyncStatus e_book_backend_sy
 EBookBackendSyncStatus e_book_backend_sync_authenticate_user (EBookBackendSync *backend, EDataBook *book, const char *user, const char *passwd, const char *auth_method);
 EBookBackendSyncStatus e_book_backend_sync_get_supported_fields (EBookBackendSync *backend, EDataBook *book, GList **fields);
 EBookBackendSyncStatus e_book_backend_sync_get_supported_auth_methods (EBookBackendSync *backend, EDataBook *book, GList **methods);
+
+G_END_DECLS
 
 #endif /* ! __E_BOOK_BACKEND_SYNC_H__ */
Index: addressbook/libedata-book/e-book-backend.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/libedata-book/e-book-backend.h,v
retrieving revision 1.5
diff -p -u -r1.5 e-book-backend.h
--- addressbook/libedata-book/e-book-backend.h	27 Nov 2003 02:29:03 -0000	1.5
+++ addressbook/libedata-book/e-book-backend.h	29 Apr 2004 17:20:28 -0000
@@ -29,6 +29,8 @@
 #include <libedata-book/e-data-book-types.h>
 #include <libedata-book/e-data-book.h>
 
+G_BEGIN_DECLS
+
 #define E_TYPE_BOOK_BACKEND         (e_book_backend_get_type ())
 #define E_BOOK_BACKEND(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), E_TYPE_BOOK_BACKEND, EBookBackend))
 #define E_BOOK_BACKEND_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST((k), E_TYPE_BOOK_BACKEND, EBookBackendClass))
@@ -167,6 +169,8 @@ void        e_book_backend_set_is_remove
 GNOME_Evolution_Addressbook_BookChangeItem* e_book_backend_change_add_new     (const char *vcard);
 GNOME_Evolution_Addressbook_BookChangeItem* e_book_backend_change_modify_new  (const char *vcard);
 GNOME_Evolution_Addressbook_BookChangeItem* e_book_backend_change_delete_new  (const char *id);
+
+G_END_DECLS
 
 #endif /* ! __E_BOOK_BACKEND_H__ */
 
Index: addressbook/libedata-book/e-data-book-types.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/libedata-book/e-data-book-types.h,v
retrieving revision 1.1.1.1
diff -p -u -r1.1.1.1 e-data-book-types.h
--- addressbook/libedata-book/e-data-book-types.h	3 Nov 2003 18:23:59 -0000	1.1.1.1
+++ addressbook/libedata-book/e-data-book-types.h	29 Apr 2004 17:20:28 -0000
@@ -11,6 +11,8 @@
 #ifndef __E_DATA_BOOK_TYPES_H__
 #define __E_DATA_BOOK_TYPES_H__
 
+G_BEGIN_DECLS
+
 typedef struct _EDataBookView        EDataBookView;
 typedef struct _EDataBookViewClass   EDataBookViewClass;
 
@@ -28,5 +30,7 @@ typedef struct _EBookBackendSyncClass   
 
 typedef struct _EDataBook        EDataBook;
 typedef struct _EDataBookClass   EDataBookClass;
+
+G_END_DECLS
 
 #endif /* __E_DATA_BOOK_TYPES_H__ */
Index: addressbook/libedata-book/e-data-book-view.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/libedata-book/e-data-book-view.h,v
retrieving revision 1.5
diff -p -u -r1.5 e-data-book-view.h
--- addressbook/libedata-book/e-data-book-view.h	31 Mar 2004 19:49:14 -0000	1.5
+++ addressbook/libedata-book/e-data-book-view.h	29 Apr 2004 17:20:28 -0000
@@ -19,6 +19,8 @@
 #include <libedata-book/Evolution-DataServer-Addressbook.h>
 #include <libedata-book/e-data-book-types.h>
 
+G_BEGIN_DECLS
+
 #define E_TYPE_DATA_BOOK_VIEW        (e_data_book_view_get_type ())
 #define E_DATA_BOOK_VIEW(o)          (G_TYPE_CHECK_INSTANCE_CAST ((o), E_TYPE_DATA_BOOK_VIEW, EDataBookView))
 #define E_DATA_BOOK_VIEW_CLASS(k)    (G_TYPE_CHECK_CLASS_CAST((k), E_TYPE_DATA_BOOK_VIEW, EDataBookViewClass))
@@ -63,5 +65,7 @@ void         e_data_book_view_notify_sta
 						      const char                   *message);
 
 GType        e_data_book_view_get_type               (void);
+
+G_END_DECLS
 
 #endif /* ! __E_DATA_BOOK_VIEW_H__ */
Index: addressbook/libedata-book/e-data-book.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/libedata-book/e-data-book.h,v
retrieving revision 1.4
diff -p -u -r1.4 e-data-book.h
--- addressbook/libedata-book/e-data-book.h	27 Nov 2003 02:29:03 -0000	1.4
+++ addressbook/libedata-book/e-data-book.h	29 Apr 2004 17:20:28 -0000
@@ -18,6 +18,8 @@
 #include <libedata-book/Evolution-DataServer-Addressbook.h>
 #include <libedata-book/e-data-book-types.h>
 
+G_BEGIN_DECLS
+
 #define E_TYPE_DATA_BOOK        (e_data_book_get_type ())
 #define E_DATA_BOOK(o)          (G_TYPE_CHECK_INSTANCE_CAST ((o), E_TYPE_DATA_BOOK, EDataBook))
 #define E_DATA_BOOK_CLASS(k)    (G_TYPE_CHECK_CLASS_CAST((k), E_DATA_BOOK_FACTORY_TYPE, EDataBookClass))
@@ -92,5 +94,7 @@ void                    e_data_book_repo
 							 gboolean                           writable);
 
 GType                   e_data_book_get_type               (void);
+
+G_END_DECLS
 
 #endif /* ! __E_DATA_BOOK_H__ */
Index: calendar/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/ChangeLog,v
retrieving revision 1.250
diff -p -u -r1.250 ChangeLog
--- calendar/ChangeLog	28 Apr 2004 14:02:53 -0000	1.250
+++ calendar/ChangeLog	29 Apr 2004 17:20:28 -0000
@@ -1,3 +1,7 @@
+2004-04-29  William Jon McCann  <mccann jhu edu>
+
+	* libecal/e-cal-time-util.h: Add missing G_BEGIN_DECLS and G_END_DECLS
+
 2004-04-28  JP Rosevear  <jpr ximian com>
 
 	* tests/ecal/test-search.c: something to run searches with for
Index: calendar/libecal/e-cal-time-util.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/libecal/e-cal-time-util.h,v
retrieving revision 1.1.1.1
diff -p -u -r1.1.1.1 e-cal-time-util.h
--- calendar/libecal/e-cal-time-util.h	3 Nov 2003 18:24:01 -0000	1.1.1.1
+++ calendar/libecal/e-cal-time-util.h	29 Apr 2004 17:20:28 -0000
@@ -16,6 +16,7 @@
 #include <libical/ical.h>
 #include <glib.h>
 
+G_BEGIN_DECLS
 
 /**************************************************************************
  * General time functions.
@@ -118,5 +119,7 @@ struct tm icaltimetype_to_tm_with_zone (
 					icaltimezone *from_zone,
 					icaltimezone *to_zone);
 struct icaltimetype tm_to_icaltimetype (struct tm *tm, gboolean is_date);
+
+G_END_DECLS
 
 #endif
Index: libedataserver/e-account-list.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserver/e-account-list.h,v
retrieving revision 1.1.1.1
diff -p -u -r1.1.1.1 e-account-list.h
--- libedataserver/e-account-list.h	3 Nov 2003 18:23:56 -0000	1.1.1.1
+++ libedataserver/e-account-list.h	29 Apr 2004 17:20:29 -0000
@@ -24,6 +24,8 @@
 #include "e-account.h"
 #include <gconf/gconf-client.h>
 
+G_BEGIN_DECLS
+
 #define E_TYPE_ACCOUNT_LIST            (e_account_list_get_type ())
 #define E_ACCOUNT_LIST(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_ACCOUNT_LIST, EAccountList))
 #define E_ACCOUNT_LIST_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), E_TYPE_ACCOUNT_LIST, EAccountListClass))
@@ -71,5 +73,7 @@ void            e_account_list_remove   
 const EAccount *e_account_list_get_default(EAccountList *);
 void            e_account_list_set_default(EAccountList *, EAccount *);
 const EAccount *e_account_list_find       (EAccountList *, e_account_find_t type, const char *key);
+
+G_END_DECLS
 
 #endif /* __E_ACCOUNT_LIST__ */
Index: libedataserver/e-account.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserver/e-account.h,v
retrieving revision 1.1.1.1
diff -p -u -r1.1.1.1 e-account.h
--- libedataserver/e-account.h	3 Nov 2003 18:23:56 -0000	1.1.1.1
+++ libedataserver/e-account.h	29 Apr 2004 17:20:29 -0000
@@ -22,6 +22,8 @@
 
 #include <glib-object.h>
 
+G_BEGIN_DECLS
+
 #define E_TYPE_ACCOUNT            (e_account_get_type ())
 #define E_ACCOUNT(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_ACCOUNT, EAccount))
 #define E_ACCOUNT_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), E_TYPE_ACCOUNT, EAccountClass))
@@ -102,5 +104,6 @@ char     *e_account_to_xml       (EAccou
 
 char     *e_account_uid_from_xml (const char *xml);
 
+G_END_DECLS
 
 #endif /* __E_ACCOUNT__ */
Index: libedataserver/e-db3-utils.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserver/e-db3-utils.h,v
retrieving revision 1.1.1.1
diff -p -u -r1.1.1.1 e-db3-utils.h
--- libedataserver/e-db3-utils.h	3 Nov 2003 18:23:56 -0000	1.1.1.1
+++ libedataserver/e-db3-utils.h	29 Apr 2004 17:20:29 -0000
@@ -13,17 +13,12 @@
 
 #include <glib.h>
 
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
+G_BEGIN_DECLS
 
 int e_db3_utils_maybe_recover (const char *filename);
 int e_db3_utils_upgrade_format (const char *filename);
 
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
 
 #endif /* ! __E_DB3_UTILS_H__ */
 
Index: libedataserver/e-dbhash.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserver/e-dbhash.h,v
retrieving revision 1.3
diff -p -u -r1.3 e-dbhash.h
--- libedataserver/e-dbhash.h	27 Apr 2004 19:37:22 -0000	1.3
+++ libedataserver/e-dbhash.h	29 Apr 2004 17:20:29 -0000
@@ -13,6 +13,8 @@
 
 #include <glib.h>
 
+G_BEGIN_DECLS
+
 typedef enum {
 	E_DBHASH_STATUS_SAME,
 	E_DBHASH_STATUS_DIFFERENT,
@@ -40,6 +42,8 @@ void e_dbhash_foreach_key (EDbHash *edbh
 void e_dbhash_write (EDbHash *edbh);
 
 void e_dbhash_destroy (EDbHash *edbh);
+
+G_END_DECLS
 
 #endif /* ! __E_DBHASH_H__ */
 
Index: libedataserver/e-iterator.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserver/e-iterator.h,v
retrieving revision 1.2
diff -p -u -r1.2 e-iterator.h
--- libedataserver/e-iterator.h	7 Nov 2003 00:12:15 -0000	1.2
+++ libedataserver/e-iterator.h	29 Apr 2004 17:20:29 -0000
@@ -14,6 +14,8 @@
 #include <glib.h>
 #include <glib-object.h>
 
+G_BEGIN_DECLS
+
 #define E_TYPE_ITERATOR            (e_iterator_get_type ())
 #define E_ITERATOR(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_ITERATOR, EIterator))
 #define E_ITERATOR_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), E_TYPE_ITERATOR, EIteratorClass))
@@ -66,5 +68,7 @@ void           e_iterator_invalidate (EI
 
 /* Standard Glib function */
 GType          e_iterator_get_type   (void);
+
+G_END_DECLS
 
 #endif /* ! __E_ITERATOR_H__ */
Index: libedataserver/e-list-iterator.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserver/e-list-iterator.h,v
retrieving revision 1.2
diff -p -u -r1.2 e-list-iterator.h
--- libedataserver/e-list-iterator.h	7 Nov 2003 00:12:15 -0000	1.2
+++ libedataserver/e-list-iterator.h	29 Apr 2004 17:20:29 -0000
@@ -9,6 +9,8 @@
 #ifndef __E_LIST_ITERATOR_H__
 #define __E_LIST_ITERATOR_H__
 
+G_BEGIN_DECLS
+
 typedef struct _EListIterator EListIterator;
 typedef struct _EListIteratorClass EListIteratorClass;
 
@@ -41,5 +43,7 @@ EIterator *e_list_iterator_new      (ELi
 
 /* Standard Glib function */
 GType      e_list_iterator_get_type (void);
+
+G_END_DECLS
 
 #endif /* ! __E_LIST_ITERATOR_H__ */
Index: libedataserver/e-list.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserver/e-list.h,v
retrieving revision 1.2
diff -p -u -r1.2 e-list.h
--- libedataserver/e-list.h	7 Nov 2003 00:12:15 -0000	1.2
+++ libedataserver/e-list.h	29 Apr 2004 17:20:29 -0000
@@ -18,6 +18,8 @@ typedef struct _EListClass EListClass;
 #include <glib-object.h>
 #include <libedataserver/e-list-iterator.h>
 
+G_BEGIN_DECLS
+
 #define E_TYPE_LIST            (e_list_get_type ())
 #define E_LIST(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_LIST, EList))
 #define E_LIST_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), E_TYPE_LIST, EListClass))
@@ -66,5 +68,7 @@ void       e_list_invalidate_iterators (
 
 /* Standard Glib function */
 GType      e_list_get_type             (void);
+
+G_END_DECLS
 
 #endif /* ! __E_LIST_H__ */
Index: libedataserver/e-memory.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserver/e-memory.h,v
retrieving revision 1.1.1.1
diff -p -u -r1.1.1.1 e-memory.h
--- libedataserver/e-memory.h	3 Nov 2003 18:23:56 -0000	1.1.1.1
+++ libedataserver/e-memory.h	29 Apr 2004 17:20:29 -0000
@@ -22,6 +22,8 @@
 #ifndef _E_MEMORY_H
 #define _E_MEMORY_H
 
+G_BEGIN_DECLS
+
 /* memchunks - allocate/free fixed-size blocks of memory */
 /* this is like gmemchunk, only faster and less overhead (only 4 bytes for every atomcount allocations) */
 typedef struct _EMemChunk EMemChunk;
@@ -70,5 +72,7 @@ EPoolv *e_poolv_cpy(EPoolv *dest, const 
 EPoolv *e_poolv_set(EPoolv *poolv, int index, char *str, int freeit);
 const char *e_poolv_get(EPoolv *poolv, int index);
 void e_poolv_destroy(EPoolv *poolv);
+
+G_END_DECLS
 
 #endif /* ! _E_MEMORY_H */
Index: libedataserver/e-sexp.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserver/e-sexp.h,v
retrieving revision 1.1.1.1
diff -p -u -r1.1.1.1 e-sexp.h
--- libedataserver/e-sexp.h	3 Nov 2003 18:23:56 -0000	1.1.1.1
+++ libedataserver/e-sexp.h	29 Apr 2004 17:20:29 -0000
@@ -12,6 +12,8 @@
 #include <glib-object.h>
 #endif
 
+G_BEGIN_DECLS
+
 #ifdef E_SEXP_IS_G_OBJECT
 #define E_TYPE_SEXP            (e_sexp_get_type ())
 #define E_SEXP(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_SEXP, ESExp))
@@ -168,5 +170,7 @@ void		e_sexp_fatal_error	(struct _ESExp 
 
 /* return the error string */
 const char     *e_sexp_error		(struct _ESExp *f);
+
+G_END_DECLS
 
 #endif /* _E_SEXP_H */
Index: libedataserver/e-source-group.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserver/e-source-group.h,v
retrieving revision 1.3
diff -p -u -r1.3 e-source-group.h
--- libedataserver/e-source-group.h	9 Jan 2004 20:05:34 -0000	1.3
+++ libedataserver/e-source-group.h	29 Apr 2004 17:20:29 -0000
@@ -26,6 +26,8 @@
 #include <glib-object.h>
 #include <libxml/tree.h>
 
+G_BEGIN_DECLS
+
 #define E_TYPE_SOURCE_GROUP			(e_source_group_get_type ())
 #define E_SOURCE_GROUP(obj)			(G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_SOURCE_GROUP, ESourceGroup))
 #define E_SOURCE_GROUP_CLASS(klass)		(G_TYPE_CHECK_CLASS_CAST ((klass), E_TYPE_SOURCE_GROUP, ESourceGroupClass))
@@ -102,5 +104,6 @@ gboolean  e_source_group_remove_source_b
 
 char *e_source_group_to_xml (ESourceGroup *group);
 
+G_END_DECLS
 
 #endif /* _E_SOURCE_GROUP_H_ */
Index: libedataserver/e-source-list.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserver/e-source-list.h,v
retrieving revision 1.6
diff -p -u -r1.6 e-source-list.h
--- libedataserver/e-source-list.h	9 Jan 2004 17:56:49 -0000	1.6
+++ libedataserver/e-source-list.h	29 Apr 2004 17:20:29 -0000
@@ -28,6 +28,8 @@
 
 #include "e-source-group.h"
 
+G_BEGIN_DECLS
+
 #define E_TYPE_SOURCE_LIST			(e_source_list_get_type ())
 #define E_SOURCE_LIST(obj)			(G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_SOURCE_LIST, ESourceList))
 #define E_SOURCE_LIST_CLASS(klass)		(G_TYPE_CHECK_CLASS_CAST ((klass), E_TYPE_SOURCE_LIST, ESourceListClass))
@@ -85,5 +87,6 @@ gboolean  e_source_list_remove_source_by
 gboolean  e_source_list_sync  (ESourceList  *list,
 			       GError      **error);
 
+G_END_DECLS
 
 #endif /* _E_SOURCE_LIST_H_ */
Index: libedataserver/e-source.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserver/e-source.h,v
retrieving revision 1.7
diff -p -u -r1.7 e-source.h
--- libedataserver/e-source.h	9 Jan 2004 20:05:34 -0000	1.7
+++ libedataserver/e-source.h	29 Apr 2004 17:20:29 -0000
@@ -26,6 +26,8 @@
 #include <glib-object.h>
 #include <libxml/tree.h>
 
+G_BEGIN_DECLS
+
 #define E_TYPE_SOURCE			(e_source_get_type ())
 #define E_SOURCE(obj)			(G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_SOURCE, ESource))
 #define E_SOURCE_CLASS(klass)		(G_TYPE_CHECK_CLASS_CAST ((klass), E_TYPE_SOURCE, ESourceClass))
@@ -104,5 +106,7 @@ void         e_source_set_property     (
 void         e_source_foreach_property (ESource *source,
 					GHFunc func,
 					gpointer data);
+
+G_END_DECLS
 
 #endif /* _E_SOURCE_H_ */
Index: libedataserver/e-uid.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserver/e-uid.h,v
retrieving revision 1.1.1.1
diff -p -u -r1.1.1.1 e-uid.h
--- libedataserver/e-uid.h	3 Nov 2003 18:23:56 -0000	1.1.1.1
+++ libedataserver/e-uid.h	29 Apr 2004 17:20:29 -0000
@@ -23,6 +23,10 @@
 #ifndef E_UID_H
 #define E_UID_H
 
+G_BEGIN_DECLS
+
 char *e_uid_new  (void);
+
+G_END_DECLS
 
 #endif /* E_UID_H */
Index: libedataserver/e-url.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserver/e-url.h,v
retrieving revision 1.1.1.1
diff -p -u -r1.1.1.1 e-url.h
--- libedataserver/e-url.h	3 Nov 2003 18:23:56 -0000	1.1.1.1
+++ libedataserver/e-url.h	29 Apr 2004 17:20:29 -0000
@@ -30,6 +30,8 @@
 
 #include <glib.h>
 
+G_BEGIN_DECLS
+
 char *e_url_shroud (const char *url);
 gboolean e_url_equal (const char *url1, const char *url2);
 
@@ -51,6 +53,8 @@ void        e_uri_free      (EUri *uri);
 const char *e_uri_get_param (EUri *uri, const char *name);
 EUri       *e_uri_copy      (EUri *uri);
 char       *e_uri_to_string (EUri *uri, gboolean show_password);
+
+G_END_DECLS
 
 #endif /* __E_URL_H__ */
 
Index: libedataserver/e-util.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserver/e-util.h,v
retrieving revision 1.2
diff -p -u -r1.2 e-util.h
--- libedataserver/e-util.h	8 Dec 2003 18:02:55 -0000	1.2
+++ libedataserver/e-util.h	29 Apr 2004 17:20:29 -0000
@@ -26,11 +26,15 @@
 #include <glib/gmacros.h>
 #include <glib/gtypes.h>
 
+G_BEGIN_DECLS
+
 int          e_util_mkdir_hier (const char *path, mode_t mode);
 
 gchar       *e_util_strstrcase (const gchar *haystack, const gchar *needle);
 gchar       *e_util_unicode_get_utf8 (const gchar *text, gunichar *out);
 const gchar *e_util_utf8_strstrcase (const gchar *s1, const gchar *s2);
 const gchar *e_util_utf8_strstrcasedecomp (const gchar *haystack, const gchar *needle);
+
+G_END_DECLS
 
 #endif
Index: libedataserver/e-xml-hash-utils.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserver/e-xml-hash-utils.h,v
retrieving revision 1.2
diff -p -u -r1.2 e-xml-hash-utils.h
--- libedataserver/e-xml-hash-utils.h	21 Jan 2004 10:18:04 -0000	1.2
+++ libedataserver/e-xml-hash-utils.h	29 Apr 2004 17:20:29 -0000
@@ -23,6 +23,8 @@
 #include <glib.h>
 #include <libxml/parser.h>
 
+G_BEGIN_DECLS
+
 typedef enum {
 	E_XML_HASH_TYPE_OBJECT_UID,
 	E_XML_HASH_TYPE_PROPERTY
@@ -65,5 +67,7 @@ void           e_xmlhash_foreach_key (EX
 
 void           e_xmlhash_write       (EXmlHash     *hash);
 void           e_xmlhash_destroy     (EXmlHash     *hash);
+
+G_END_DECLS
 
 #endif
Index: libedataserver/md5-utils.h
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserver/md5-utils.h,v
retrieving revision 1.1.1.1
diff -p -u -r1.1.1.1 md5-utils.h
--- libedataserver/md5-utils.h	3 Nov 2003 18:23:56 -0000	1.1.1.1
+++ libedataserver/md5-utils.h	29 Apr 2004 17:20:29 -0000
@@ -28,6 +28,7 @@
 
 #include <glib.h>
 
+G_BEGIN_DECLS
 
 typedef struct _MD5Context {
 	guint32 buf[4];
@@ -48,5 +49,6 @@ void md5_init (MD5Context *ctx);
 void md5_update (MD5Context *ctx, const guchar *buf, guint32 len);
 void md5_final (MD5Context *ctx, guchar digest[16]);
 
+G_END_DECLS
 
 #endif	/* MD5_UTILS_H */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]