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