]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/dynamic.h
Release v2.0.23
[user/henk/code/inspircd.git] / include / dynamic.h
index 01bdcdec5e6f67e91deae41f8c1b5e62a04a8083..5e66ddbb0493938a440eb42afcabf1f3c0447833 100644 (file)
@@ -1,18 +1,27 @@
-/*       +------------------------------------+
- *       | Inspire Internet Relay Chat Daemon |
- *       +------------------------------------+
+/*
+ * InspIRCd -- Internet Relay Chat Daemon
  *
- *  InspIRCd: (C) 2002-2010 InspIRCd Development Team
- * See: http://wiki.inspircd.org/Credits
+ *   Copyright (C) 2009 Daniel De Graaf <danieldg@inspircd.org>
+ *   Copyright (C) 2007, 2009 Dennis Friis <peavey@inspircd.org>
+ *   Copyright (C) 2007 Oliver Lupton <oliverlupton@gmail.com>
+ *   Copyright (C) 2003-2004, 2007 Craig Edwards <craigedwards@brainbox.cc>
  *
- * This program is free but copyrighted software; see
- *            the file COPYING for details.
+ * This file is part of InspIRCd.  InspIRCd is free software: you can
+ * redistribute it and/or modify it under the terms of the GNU General Public
+ * License as published by the Free Software Foundation, version 2.
  *
- * ---------------------------------------------------
+ * This program 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 General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef __DLL_H
-#define __DLL_H
+
+#ifndef DLL_H
+#define DLL_H
 
 /** The DLLManager class is able to load a module file by filename,
  * and locate its init_module symbol.
@@ -24,6 +33,12 @@ class CoreExport DLLManager : public classbase
         */
        std::string err;
 
+#ifdef _WIN32
+       /** Sets the last error string
+       */
+       void RetrieveLastError();
+#endif
+
  public:
        /** This constructor loads the module using dlopen()
         * @param fname The filename to load. This should be within