Blame SOURCES/openchange-1.0-symbol-clash.patch

afa884
diff -up openchange-2.1-QUADRANT/libmapi/emsmdb.c.symbol-clash openchange-2.1-QUADRANT/libmapi/emsmdb.c
afa884
--- openchange-2.1-QUADRANT/libmapi/emsmdb.c.symbol-clash	2014-04-28 11:58:17.560932938 +0200
afa884
+++ openchange-2.1-QUADRANT/libmapi/emsmdb.c	2014-04-28 12:00:21.085927789 +0200
afa884
@@ -644,7 +644,7 @@ struct mapi_notify_ctx *emsmdb_bind_noti
afa884
 	notify_ctx->notifications->next = NULL;
afa884
 
afa884
 	openchange_load_interfaces(mem_ctx, lpcfg_interfaces(mapi_ctx->lp_ctx), &ifaces);
afa884
-	ipaddr = iface_best_ip(ifaces, mapi_ctx->session->profile->server);
afa884
+	ipaddr = libmapi_iface_best_ip(ifaces, mapi_ctx->session->profile->server);
afa884
 	if (!ipaddr) {
afa884
 		talloc_free(notify_ctx->notifications);
afa884
 		talloc_free(notify_ctx);
afa884
diff -up openchange-2.1-QUADRANT/libmapi/libmapi_private.h.symbol-clash openchange-2.1-QUADRANT/libmapi/libmapi_private.h
afa884
--- openchange-2.1-QUADRANT/libmapi/libmapi_private.h.symbol-clash	2014-04-28 11:58:17.560932938 +0200
afa884
+++ openchange-2.1-QUADRANT/libmapi/libmapi_private.h	2014-04-28 12:05:13.875915584 +0200
afa884
@@ -123,13 +123,13 @@ uint16_t		mapi_recipients_RecipientFlags
afa884
 
afa884
 /* The following private definitions come from libmapi/socket/interface.c  */
afa884
 void			openchange_load_interfaces(TALLOC_CTX *, const char **, struct interface **);
afa884
-int			iface_count(struct interface *);
afa884
-const char		*iface_n_ip(struct interface *, int);
afa884
-const char		*iface_n_bcast(struct interface *, int);
afa884
-const char		*iface_n_netmask(struct interface *, int);
afa884
-const char		*iface_best_ip(struct interface *, const char *);
afa884
-bool			iface_is_local(struct interface *, const char *);
afa884
-bool			iface_same_net(const char *, const char *, const char *);
afa884
+int			libmapi_iface_count(struct interface *);
afa884
+const char		*libmapi_iface_n_ip(struct interface *, int);
afa884
+const char		*libmapi_iface_n_bcast(struct interface *, int);
afa884
+const char		*libmapi_iface_n_netmask(struct interface *, int);
afa884
+const char		*libmapi_iface_best_ip(struct interface *, const char *);
afa884
+bool			libmapi_iface_is_local(struct interface *, const char *);
afa884
+bool			libmapi_iface_same_net(const char *, const char *, const char *);
afa884
 
afa884
 __END_DECLS
afa884
 
afa884
diff -up openchange-2.1-QUADRANT/libmapi/socket/interface.c.symbol-clash openchange-2.1-QUADRANT/libmapi/socket/interface.c
afa884
--- openchange-2.1-QUADRANT/libmapi/socket/interface.c.symbol-clash	2014-04-23 21:43:06.000000000 +0200
afa884
+++ openchange-2.1-QUADRANT/libmapi/socket/interface.c	2014-04-28 11:58:17.560932938 +0200
afa884
@@ -228,7 +228,7 @@ void openchange_load_interfaces(TALLOC_C
afa884
 /**
afa884
   how many interfaces do we have
afa884
   **/
afa884
-int iface_count(struct interface *ifaces)
afa884
+int libmapi_iface_count(struct interface *ifaces)
afa884
 {
afa884
 	int ret = 0;
afa884
 	struct interface *i;
afa884
@@ -241,7 +241,7 @@ int iface_count(struct interface *ifaces
afa884
 /**
afa884
   return IP of the Nth interface
afa884
   **/
afa884
-const char *iface_n_ip(struct interface *ifaces, int n)
afa884
+const char *libmapi_iface_n_ip(struct interface *ifaces, int n)
afa884
 {
afa884
 	struct interface *i;
afa884
   
afa884
@@ -257,7 +257,7 @@ const char *iface_n_ip(struct interface
afa884
 /**
afa884
   return bcast of the Nth interface
afa884
   **/
afa884
-const char *iface_n_bcast(struct interface *ifaces, int n)
afa884
+const char *libmapi_iface_n_bcast(struct interface *ifaces, int n)
afa884
 {
afa884
 	struct interface *i;
afa884
   
afa884
@@ -273,7 +273,7 @@ const char *iface_n_bcast(struct interfa
afa884
 /**
afa884
   return netmask of the Nth interface
afa884
   **/
afa884
-const char *iface_n_netmask(struct interface *ifaces, int n)
afa884
+const char *libmapi_iface_n_netmask(struct interface *ifaces, int n)
afa884
 {
afa884
 	struct interface *i;
afa884
   
afa884
@@ -290,7 +290,7 @@ const char *iface_n_netmask(struct inter
afa884
   return the local IP address that best matches a destination IP, or
afa884
   our first interface if none match
afa884
 */
afa884
-const char *iface_best_ip(struct interface *ifaces, const char *dest)
afa884
+const char *libmapi_iface_best_ip(struct interface *ifaces, const char *dest)
afa884
 {
afa884
 	struct interface *iface;
afa884
 	struct in_addr ip;
afa884
@@ -300,13 +300,13 @@ const char *iface_best_ip(struct interfa
afa884
 	if (iface) {
afa884
 		return iface->ip_s;
afa884
 	}
afa884
-	return iface_n_ip(ifaces, 0);
afa884
+	return libmapi_iface_n_ip(ifaces, 0);
afa884
 }
afa884
 
afa884
 /**
afa884
   return true if an IP is one one of our local networks
afa884
 */
afa884
-bool iface_is_local(struct interface *ifaces, const char *dest)
afa884
+bool libmapi_iface_is_local(struct interface *ifaces, const char *dest)
afa884
 {
afa884
 	struct in_addr ip;
afa884
 
afa884
@@ -320,7 +320,7 @@ bool iface_is_local(struct interface *if
afa884
 /**
afa884
   return true if a IP matches a IP/netmask pair
afa884
 */
afa884
-bool iface_same_net(const char *ip1, const char *ip2, const char *netmask)
afa884
+bool libmapi_iface_same_net(const char *ip1, const char *ip2, const char *netmask)
afa884
 {
afa884
 	return same_net_v4(interpret_addr2(ip1),
afa884
 			interpret_addr2(ip2),