r3349 - in trunk: libmnetutil libmnetutil/include libmnetutil/include/libmnetutil libmnetutil/source libmutil/source

mikaelsv at minisip.org mikaelsv at minisip.org
Sat Jun 30 20:13:59 CEST 2007


Author: mikaelsv
Date: 2007-06-30 20:13:59 +0200 (Sat, 30 Jun 2007)
New Revision: 3349

Modified:
   trunk/libmnetutil/Makefile.am
   trunk/libmnetutil/include/Makefile.am
   trunk/libmnetutil/include/libmnetutil/DirectorySet.h
   trunk/libmnetutil/include/libmnetutil/DirectorySetItem.h
   trunk/libmnetutil/include/libmnetutil/Downloader.h
   trunk/libmnetutil/include/libmnetutil/FileDownloader.h
   trunk/libmnetutil/include/libmnetutil/FileUrl.h
   trunk/libmnetutil/include/libmnetutil/HttpDownloader.h
   trunk/libmnetutil/include/libmnetutil/LdapConnection.h
   trunk/libmnetutil/include/libmnetutil/LdapCredentials.h
   trunk/libmnetutil/include/libmnetutil/LdapDirectoryLocator.h
   trunk/libmnetutil/include/libmnetutil/LdapEntry.h
   trunk/libmnetutil/include/libmnetutil/LdapUrl.h
   trunk/libmnetutil/source/DirectorySet.cxx
   trunk/libmnetutil/source/DirectorySetItem.cxx
   trunk/libmnetutil/source/Downloader.cxx
   trunk/libmnetutil/source/FileDownloader.cxx
   trunk/libmnetutil/source/FileDownloaderException.cxx
   trunk/libmnetutil/source/FileUrl.cxx
   trunk/libmnetutil/source/HttpDownloader.cxx
   trunk/libmnetutil/source/IPAddress.cxx
   trunk/libmnetutil/source/LdapConnection.cxx
   trunk/libmnetutil/source/LdapEntry.cxx
   trunk/libmnetutil/source/LdapException.cxx
   trunk/libmnetutil/source/LdapUrl.cxx
   trunk/libmutil/source/CacheItem.cxx
Log:
* Bug fixes, oh, lovely bug fixes. Actually I only corrected the same bug that
  existed in many of my files: the non-inclusion of config.h in cxx files and
  the LIBMNETUTIL_API issue for DLL files that Mikael Magnusson mentioned in
  his last mail to the mailing list.

* I also re-included LdapDownloader into the compilations. I hope that the above
  mentioned bug fixes solves the previous problems with LdapDownloader, but in
  case the problems continue we at least know what to comment out again =)



Modified: trunk/libmnetutil/Makefile.am
===================================================================
--- trunk/libmnetutil/Makefile.am	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/Makefile.am	2007-06-30 18:13:59 UTC (rev 3349)
@@ -38,8 +38,8 @@
 		    source/LdapConnection.cxx \
                     source/LdapEntry.cxx \
                     source/LdapException.cxx \
-		    source/LdapUrl.cxx
-# 		    source/LdapDownloader.cxx
+		    source/LdapUrl.cxx \
+ 		    source/LdapDownloader.cxx
 endif
 
 mnetutil_src = \

Modified: trunk/libmnetutil/include/Makefile.am
===================================================================
--- trunk/libmnetutil/include/Makefile.am	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/include/Makefile.am	2007-06-30 18:13:59 UTC (rev 3349)
@@ -6,8 +6,8 @@
 			libmnetutil/LdapDirectoryLocator.h \
 			libmnetutil/LdapEntry.h \
 			libmnetutil/LdapException.h \
-			libmnetutil/LdapUrl.h
-# 			libmnetutil/LdapDownloader.h
+			libmnetutil/LdapUrl.h \
+ 			libmnetutil/LdapDownloader.h
 endif
 
 pkginclude_HEADERS =    \

Modified: trunk/libmnetutil/include/libmnetutil/DirectorySet.h
===================================================================
--- trunk/libmnetutil/include/libmnetutil/DirectorySet.h	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/include/libmnetutil/DirectorySet.h	2007-06-30 18:13:59 UTC (rev 3349)
@@ -88,7 +88,7 @@
  * @endcode
  * @author	Mikael Svensson
  */
-class DirectorySet : public MObject {
+class LIBMNETUTIL_API DirectorySet : public MObject {
 	public:
 		DirectorySet();
 		~DirectorySet();

Modified: trunk/libmnetutil/include/libmnetutil/DirectorySetItem.h
===================================================================
--- trunk/libmnetutil/include/libmnetutil/DirectorySetItem.h	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/include/libmnetutil/DirectorySetItem.h	2007-06-30 18:13:59 UTC (rev 3349)
@@ -34,7 +34,7 @@
 /**
  * Represents a single directory service.
  */
-class DirectorySetItem : public CacheItem {
+class LIBMNETUTIL_API DirectorySetItem : public CacheItem {
 	public:
 		DirectorySetItem();
 		DirectorySetItem(std::string url, std::string subTree);

Modified: trunk/libmnetutil/include/libmnetutil/Downloader.h
===================================================================
--- trunk/libmnetutil/include/libmnetutil/Downloader.h	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/include/libmnetutil/Downloader.h	2007-06-30 18:13:59 UTC (rev 3349)
@@ -35,7 +35,7 @@
  * cannot be instantiated by itself.
  *
  */
-class Downloader : public MObject {
+class LIBMNETUTIL_API Downloader : public MObject {
 
 	public:
 		/**

Modified: trunk/libmnetutil/include/libmnetutil/FileDownloader.h
===================================================================
--- trunk/libmnetutil/include/libmnetutil/FileDownloader.h	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/include/libmnetutil/FileDownloader.h	2007-06-30 18:13:59 UTC (rev 3349)
@@ -37,7 +37,7 @@
  *
  * @author	Mikael Svensson
  */
-class FileDownloader : public Downloader {
+class LIBMNETUTIL_API FileDownloader : public Downloader {
 	public:
 		/**
 		* Connects to LDAP server but does not fetch file.

Modified: trunk/libmnetutil/include/libmnetutil/FileUrl.h
===================================================================
--- trunk/libmnetutil/include/libmnetutil/FileUrl.h	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/include/libmnetutil/FileUrl.h	2007-06-30 18:13:59 UTC (rev 3349)
@@ -45,7 +45,7 @@
  *
  * @author	Mikael Svensson
  */
-class FileUrl {
+class LIBMNETUTIL_API FileUrl {
 	public:
 		/**
 		 * Constructor when we already have a URL but it is unclear for which system

Modified: trunk/libmnetutil/include/libmnetutil/HttpDownloader.h
===================================================================
--- trunk/libmnetutil/include/libmnetutil/HttpDownloader.h	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/include/libmnetutil/HttpDownloader.h	2007-06-30 18:13:59 UTC (rev 3349)
@@ -75,7 +75,7 @@
  *
  * @author	Mikael Svensson
  */
-class HttpDownloader : public Downloader {
+class LIBMNETUTIL_API HttpDownloader : public Downloader {
 	public:
 		/**
 		 * Connects to HTTP server but does not fetch file.

Modified: trunk/libmnetutil/include/libmnetutil/LdapConnection.h
===================================================================
--- trunk/libmnetutil/include/libmnetutil/LdapConnection.h	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/include/libmnetutil/LdapConnection.h	2007-06-30 18:13:59 UTC (rev 3349)
@@ -37,7 +37,7 @@
  *
  * @author	Mikael Svensson
  */
-class LdapConnection : public MObject {
+class LIBMNETUTIL_API LdapConnection : public MObject {
 	public:
 		LdapConnection(std::string host, int32_t port);
 		LdapConnection(std::string host, int32_t port, MRef<LdapCredentials*> cred);

Modified: trunk/libmnetutil/include/libmnetutil/LdapCredentials.h
===================================================================
--- trunk/libmnetutil/include/libmnetutil/LdapCredentials.h	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/include/libmnetutil/LdapCredentials.h	2007-06-30 18:13:59 UTC (rev 3349)
@@ -31,7 +31,7 @@
  *
  * @author	Mikael Svensson
  */
-class LdapCredentials : public MObject {
+class LIBMNETUTIL_API LdapCredentials : public MObject {
 	public:
 // 		MRef<certificate*> cert;
 		std::string username;

Modified: trunk/libmnetutil/include/libmnetutil/LdapDirectoryLocator.h
===================================================================
--- trunk/libmnetutil/include/libmnetutil/LdapDirectoryLocator.h	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/include/libmnetutil/LdapDirectoryLocator.h	2007-06-30 18:13:59 UTC (rev 3349)
@@ -28,7 +28,7 @@
  *
  * @author	Mikael Svensson
  */
-class LdapDirectoryLocator : public MObject {
+class LIBMNETUTIL_API LdapDirectoryLocator : public MObject {
 	public:
 		static std::string findDnsSrv();
 		static std::string findDnsAlias();

Modified: trunk/libmnetutil/include/libmnetutil/LdapEntry.h
===================================================================
--- trunk/libmnetutil/include/libmnetutil/LdapEntry.h	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/include/libmnetutil/LdapEntry.h	2007-06-30 18:13:59 UTC (rev 3349)
@@ -31,14 +31,14 @@
 #include <map>
 #include <vector>
 
-class certificate_pair {}; //Dummy entry
+class LIBMNETUTIL_API certificate_pair {}; //Dummy entry
 
 /**
  * Class used internally by LdapEntry
  *
  * @author	Mikael Svensson
  */
-class LdapEntryBinaryValue : public MObject {
+class LIBMNETUTIL_API LdapEntryBinaryValue : public MObject {
 	public:
 		LdapEntryBinaryValue(char* v, int l) : length(l) {
 			value = new char[length];

Modified: trunk/libmnetutil/include/libmnetutil/LdapUrl.h
===================================================================
--- trunk/libmnetutil/include/libmnetutil/LdapUrl.h	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/include/libmnetutil/LdapUrl.h	2007-06-30 18:13:59 UTC (rev 3349)
@@ -29,7 +29,7 @@
  *
  * Does not have any methods, only data members.
  */
-class LdapUrlExtension {
+class LIBMNETUTIL_API LdapUrlExtension {
 	public:
 		LdapUrlExtension(std::string type, std::string value, bool critical) : type(type), value(value), critical(critical) {}
 
@@ -50,7 +50,7 @@
  *
  * @author	Mikael Svensson
  */
-class LdapUrl {
+class LIBMNETUTIL_API LdapUrl {
 	public:
 		LdapUrl(std::string url);
 		LdapUrl();

Modified: trunk/libmnetutil/source/DirectorySet.cxx
===================================================================
--- trunk/libmnetutil/source/DirectorySet.cxx	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/source/DirectorySet.cxx	2007-06-30 18:13:59 UTC (rev 3349)
@@ -23,6 +23,7 @@
  *          	Mikael Magnusson <mikma at users.sourceforge.net>
  */
 
+#include <config.h>
 #include <libmnetutil/libmnetutil_config.h>
 #include <libmutil/MemObject.h>
 

Modified: trunk/libmnetutil/source/DirectorySetItem.cxx
===================================================================
--- trunk/libmnetutil/source/DirectorySetItem.cxx	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/source/DirectorySetItem.cxx	2007-06-30 18:13:59 UTC (rev 3349)
@@ -20,6 +20,7 @@
  * Authors:	Mikael Svensson
 */
 
+#include <config.h>
 #include <libmnetutil/DirectorySetItem.h>
 
 DirectorySetItem::DirectorySetItem() : type(DIRECTORYSETITEM_TYPE_LDAP), url(""), subTree("") {}

Modified: trunk/libmnetutil/source/Downloader.cxx
===================================================================
--- trunk/libmnetutil/source/Downloader.cxx	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/source/Downloader.cxx	2007-06-30 18:13:59 UTC (rev 3349)
@@ -1,3 +1,27 @@
+/*
+  Copyright (C) 2005, 2004 Erik Eliasson, Johan Bilien
+
+  This library is free software; you can redistribute it and/or
+  modify it under the terms of the GNU Lesser General Public
+  License as published by the Free Software Foundation; either
+  version 2.1 of the License, or (at your option) any later version.
+
+  This library 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
+  Lesser General Public License for more details.
+
+  You should have received a copy of the GNU Lesser General Public
+  License along with this library; if not, write to the Free Software
+  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+*/
+
+/*
+ * Authors: Erik Eliasson <eliasson at it.kth.se>
+ *          Johan Bilien <jobi at via.ecp.fr>
+ */
+
+#include <config.h>
 #include <libmnetutil/Downloader.h>
 #include <libmnetutil/HttpDownloader.h>
 #include <libmnetutil/FileDownloader.h>

Modified: trunk/libmnetutil/source/FileDownloader.cxx
===================================================================
--- trunk/libmnetutil/source/FileDownloader.cxx	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/source/FileDownloader.cxx	2007-06-30 18:13:59 UTC (rev 3349)
@@ -1,3 +1,27 @@
+/*
+  Copyright (C) 2005, 2004 Erik Eliasson, Johan Bilien
+
+  This library is free software; you can redistribute it and/or
+  modify it under the terms of the GNU Lesser General Public
+  License as published by the Free Software Foundation; either
+  version 2.1 of the License, or (at your option) any later version.
+
+  This library 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
+  Lesser General Public License for more details.
+
+  You should have received a copy of the GNU Lesser General Public
+  License along with this library; if not, write to the Free Software
+  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+*/
+
+/*
+ * Authors: Erik Eliasson <eliasson at it.kth.se>
+ *          Johan Bilien <jobi at via.ecp.fr>
+ */
+
+#include <config.h>
 #include <sys/types.h>
 
 #include <libmutil/MemObject.h>

Modified: trunk/libmnetutil/source/FileDownloaderException.cxx
===================================================================
--- trunk/libmnetutil/source/FileDownloaderException.cxx	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/source/FileDownloaderException.cxx	2007-06-30 18:13:59 UTC (rev 3349)
@@ -1,3 +1,27 @@
+/*
+  Copyright (C) 2005, 2004 Erik Eliasson, Johan Bilien
+
+  This library is free software; you can redistribute it and/or
+  modify it under the terms of the GNU Lesser General Public
+  License as published by the Free Software Foundation; either
+  version 2.1 of the License, or (at your option) any later version.
+
+  This library 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
+  Lesser General Public License for more details.
+
+  You should have received a copy of the GNU Lesser General Public
+  License along with this library; if not, write to the Free Software
+  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+*/
+
+/*
+ * Authors: Erik Eliasson <eliasson at it.kth.se>
+ *          Johan Bilien <jobi at via.ecp.fr>
+ */
+
+#include <config.h>
 #include <libmnetutil/FileDownloaderException.h>
 
 /**

Modified: trunk/libmnetutil/source/FileUrl.cxx
===================================================================
--- trunk/libmnetutil/source/FileUrl.cxx	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/source/FileUrl.cxx	2007-06-30 18:13:59 UTC (rev 3349)
@@ -1,3 +1,27 @@
+/*
+  Copyright (C) 2005, 2004 Erik Eliasson, Johan Bilien
+
+  This library is free software; you can redistribute it and/or
+  modify it under the terms of the GNU Lesser General Public
+  License as published by the Free Software Foundation; either
+  version 2.1 of the License, or (at your option) any later version.
+
+  This library 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
+  Lesser General Public License for more details.
+
+  You should have received a copy of the GNU Lesser General Public
+  License along with this library; if not, write to the Free Software
+  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+*/
+
+/*
+ * Authors: Erik Eliasson <eliasson at it.kth.se>
+ *          Johan Bilien <jobi at via.ecp.fr>
+ */
+
+#include <config.h>
 #include <libmnetutil/FileUrl.h>
 
 #include <iostream>

Modified: trunk/libmnetutil/source/HttpDownloader.cxx
===================================================================
--- trunk/libmnetutil/source/HttpDownloader.cxx	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/source/HttpDownloader.cxx	2007-06-30 18:13:59 UTC (rev 3349)
@@ -1,3 +1,27 @@
+/*
+  Copyright (C) 2005, 2004 Erik Eliasson, Johan Bilien
+
+  This library is free software; you can redistribute it and/or
+  modify it under the terms of the GNU Lesser General Public
+  License as published by the Free Software Foundation; either
+  version 2.1 of the License, or (at your option) any later version.
+
+  This library 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
+  Lesser General Public License for more details.
+
+  You should have received a copy of the GNU Lesser General Public
+  License along with this library; if not, write to the Free Software
+  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+*/
+
+/*
+ * Authors: Erik Eliasson <eliasson at it.kth.se>
+ *          Johan Bilien <jobi at via.ecp.fr>
+ */
+
+#include <config.h>
 #include <sys/types.h>
 
 #include <libmutil/MemObject.h>

Modified: trunk/libmnetutil/source/IPAddress.cxx
===================================================================
--- trunk/libmnetutil/source/IPAddress.cxx	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/source/IPAddress.cxx	2007-06-30 18:13:59 UTC (rev 3349)
@@ -1,6 +1,6 @@
 /*
   Copyright (C) 2005, 2004 Erik Eliasson, Johan Bilien
-  
+
   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
   License as published by the Free Software Foundation; either
@@ -19,9 +19,8 @@
 /*
  * Authors: Erik Eliasson <eliasson at it.kth.se>
  *          Johan Bilien <jobi at via.ecp.fr>
-*/
+ */
 
-
 #include<config.h>
 
 #include<libmnetutil/IPAddress.h>

Modified: trunk/libmnetutil/source/LdapConnection.cxx
===================================================================
--- trunk/libmnetutil/source/LdapConnection.cxx	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/source/LdapConnection.cxx	2007-06-30 18:13:59 UTC (rev 3349)
@@ -1,3 +1,27 @@
+/*
+  Copyright (C) 2005, 2004 Erik Eliasson, Johan Bilien
+
+  This library is free software; you can redistribute it and/or
+  modify it under the terms of the GNU Lesser General Public
+  License as published by the Free Software Foundation; either
+  version 2.1 of the License, or (at your option) any later version.
+
+  This library 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
+  Lesser General Public License for more details.
+
+  You should have received a copy of the GNU Lesser General Public
+  License along with this library; if not, write to the Free Software
+  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+*/
+
+/*
+ * Authors: Erik Eliasson <eliasson at it.kth.se>
+ *          Johan Bilien <jobi at via.ecp.fr>
+ */
+
+#include <config.h>
 #include <libmnetutil/LdapConnection.h>
 
 LdapConnection::LdapConnection(std::string host, int32_t port) {

Modified: trunk/libmnetutil/source/LdapEntry.cxx
===================================================================
--- trunk/libmnetutil/source/LdapEntry.cxx	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/source/LdapEntry.cxx	2007-06-30 18:13:59 UTC (rev 3349)
@@ -1,3 +1,27 @@
+/*
+  Copyright (C) 2005, 2004 Erik Eliasson, Johan Bilien
+
+  This library is free software; you can redistribute it and/or
+  modify it under the terms of the GNU Lesser General Public
+  License as published by the Free Software Foundation; either
+  version 2.1 of the License, or (at your option) any later version.
+
+  This library 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
+  Lesser General Public License for more details.
+
+  You should have received a copy of the GNU Lesser General Public
+  License along with this library; if not, write to the Free Software
+  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+*/
+
+/*
+ * Authors: Erik Eliasson <eliasson at it.kth.se>
+ *          Johan Bilien <jobi at via.ecp.fr>
+ */
+
+#include <config.h>
 #include <libmnetutil/LdapEntry.h>
 
 LdapEntry::LdapEntry(LDAP* ld, LDAPMessage* entry) {

Modified: trunk/libmnetutil/source/LdapException.cxx
===================================================================
--- trunk/libmnetutil/source/LdapException.cxx	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/source/LdapException.cxx	2007-06-30 18:13:59 UTC (rev 3349)
@@ -1,3 +1,27 @@
+/*
+  Copyright (C) 2005, 2004 Erik Eliasson, Johan Bilien
+
+  This library is free software; you can redistribute it and/or
+  modify it under the terms of the GNU Lesser General Public
+  License as published by the Free Software Foundation; either
+  version 2.1 of the License, or (at your option) any later version.
+
+  This library 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
+  Lesser General Public License for more details.
+
+  You should have received a copy of the GNU Lesser General Public
+  License along with this library; if not, write to the Free Software
+  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+*/
+
+/*
+ * Authors: Erik Eliasson <eliasson at it.kth.se>
+ *          Johan Bilien <jobi at via.ecp.fr>
+ */
+
+#include <config.h>
 #include <libmnetutil/LdapException.h>
 
 /**

Modified: trunk/libmnetutil/source/LdapUrl.cxx
===================================================================
--- trunk/libmnetutil/source/LdapUrl.cxx	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmnetutil/source/LdapUrl.cxx	2007-06-30 18:13:59 UTC (rev 3349)
@@ -1,3 +1,27 @@
+/*
+  Copyright (C) 2005, 2004 Erik Eliasson, Johan Bilien
+
+  This library is free software; you can redistribute it and/or
+  modify it under the terms of the GNU Lesser General Public
+  License as published by the Free Software Foundation; either
+  version 2.1 of the License, or (at your option) any later version.
+
+  This library 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
+  Lesser General Public License for more details.
+
+  You should have received a copy of the GNU Lesser General Public
+  License along with this library; if not, write to the Free Software
+  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+*/
+
+/*
+ * Authors: Erik Eliasson <eliasson at it.kth.se>
+ *          Johan Bilien <jobi at via.ecp.fr>
+ */
+
+#include <config.h>
 #include <libmnetutil/LdapUrl.h>
 
 #include <iostream>

Modified: trunk/libmutil/source/CacheItem.cxx
===================================================================
--- trunk/libmutil/source/CacheItem.cxx	2007-06-30 14:16:27 UTC (rev 3348)
+++ trunk/libmutil/source/CacheItem.cxx	2007-06-30 18:13:59 UTC (rev 3349)
@@ -20,6 +20,7 @@
  * Authors:	Mikael Svensson
 */
 
+#include <config.h>
 #include <libmutil/CacheItem.h>
 
 CacheItem::CacheItem() {



More information about the Minisip-devel mailing list