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

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