Update license headers for regex module.
This commit is contained in:
parent
bf30d1d3ce
commit
edeb44b0b8
|
@ -1,35 +1,16 @@
|
||||||
/* AMX Mod X
|
// vim: set ts=4 sw=4 tw=99 noet:
|
||||||
* Regular Expressions Module
|
//
|
||||||
*
|
// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO").
|
||||||
* by the AMX Mod X Development Team
|
// Copyright (C) The AMX Mod X Development Team.
|
||||||
*
|
//
|
||||||
* This file is part of AMX Mod X.
|
// This software is licensed under the GNU General Public License, version 3 or higher.
|
||||||
*
|
// Additional exceptions apply. For full license details, see LICENSE.txt or visit:
|
||||||
*
|
// https://alliedmods.net/amxmodx-license
|
||||||
* This program 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; either version 2 of the License, or (at
|
// Regular Expressions Module
|
||||||
* your option) any later version.
|
//
|
||||||
*
|
|
||||||
* 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, write to the Free Software Foundation,
|
|
||||||
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
*
|
|
||||||
* In addition, as a special exception, the author gives permission to
|
|
||||||
* link the code of this program with the Half-Life Game Engine ("HL
|
|
||||||
* Engine") and Modified Game Libraries ("MODs") developed by Valve,
|
|
||||||
* L.L.C ("Valve"). You must obey the GNU General Public License in all
|
|
||||||
* respects for all of the code used other than the HL Engine and MODs
|
|
||||||
* from Valve. If you modify this file, you may extend this exception
|
|
||||||
* to your version of the file, but you are not obligated to do so. If
|
|
||||||
* you do not wish to do so, delete this exception statement from your
|
|
||||||
* version.
|
|
||||||
*/
|
|
||||||
#include "amxxmodule.h"
|
#include "amxxmodule.h"
|
||||||
#include "pcre.h"
|
#include "pcre.h"
|
||||||
#include "CRegEx.h"
|
#include "CRegEx.h"
|
||||||
|
|
|
@ -1,35 +1,16 @@
|
||||||
/* AMX Mod X
|
// vim: set ts=4 sw=4 tw=99 noet:
|
||||||
* Regular Expressions Module
|
//
|
||||||
*
|
// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO").
|
||||||
* by the AMX Mod X Development Team
|
// Copyright (C) The AMX Mod X Development Team.
|
||||||
*
|
//
|
||||||
* This file is part of AMX Mod X.
|
// This software is licensed under the GNU General Public License, version 3 or higher.
|
||||||
*
|
// Additional exceptions apply. For full license details, see LICENSE.txt or visit:
|
||||||
*
|
// https://alliedmods.net/amxmodx-license
|
||||||
* This program 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; either version 2 of the License, or (at
|
// Regular Expressions Module
|
||||||
* your option) any later version.
|
//
|
||||||
*
|
|
||||||
* 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, write to the Free Software Foundation,
|
|
||||||
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
*
|
|
||||||
* In addition, as a special exception, the author gives permission to
|
|
||||||
* link the code of this program with the Half-Life Game Engine ("HL
|
|
||||||
* Engine") and Modified Game Libraries ("MODs") developed by Valve,
|
|
||||||
* L.L.C ("Valve"). You must obey the GNU General Public License in all
|
|
||||||
* respects for all of the code used other than the HL Engine and MODs
|
|
||||||
* from Valve. If you modify this file, you may extend this exception
|
|
||||||
* to your version of the file, but you are not obligated to do so. If
|
|
||||||
* you do not wish to do so, delete this exception statement from your
|
|
||||||
* version.
|
|
||||||
*/
|
|
||||||
#ifndef _INCLUDE_CREGEX_H
|
#ifndef _INCLUDE_CREGEX_H
|
||||||
#define _INCLUDE_CREGEX_H
|
#define _INCLUDE_CREGEX_H
|
||||||
|
|
||||||
|
|
|
@ -1,35 +1,16 @@
|
||||||
/* AMX Mod X
|
// vim: set ts=4 sw=4 tw=99 noet:
|
||||||
* Regular Expressions Module
|
//
|
||||||
*
|
// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO").
|
||||||
* by the AMX Mod X Development Team
|
// Copyright (C) The AMX Mod X Development Team.
|
||||||
*
|
//
|
||||||
* This file is part of AMX Mod X.
|
// This software is licensed under the GNU General Public License, version 3 or higher.
|
||||||
*
|
// Additional exceptions apply. For full license details, see LICENSE.txt or visit:
|
||||||
*
|
// https://alliedmods.net/amxmodx-license
|
||||||
* This program 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; either version 2 of the License, or (at
|
// Regular Expressions Module
|
||||||
* your option) any later version.
|
//
|
||||||
*
|
|
||||||
* 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, write to the Free Software Foundation,
|
|
||||||
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
*
|
|
||||||
* In addition, as a special exception, the author gives permission to
|
|
||||||
* link the code of this program with the Half-Life Game Engine ("HL
|
|
||||||
* Engine") and Modified Game Libraries ("MODs") developed by Valve,
|
|
||||||
* L.L.C ("Valve"). You must obey the GNU General Public License in all
|
|
||||||
* respects for all of the code used other than the HL Engine and MODs
|
|
||||||
* from Valve. If you modify this file, you may extend this exception
|
|
||||||
* to your version of the file, but you are not obligated to do so. If
|
|
||||||
* you do not wish to do so, delete this exception statement from your
|
|
||||||
* version.
|
|
||||||
*/
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "pcre.h"
|
#include "pcre.h"
|
||||||
#include "amxxmodule.h"
|
#include "amxxmodule.h"
|
||||||
|
|
|
@ -1,33 +1,11 @@
|
||||||
/* AMX Mod X
|
// vim: set ts=4 sw=4 tw=99 noet:
|
||||||
*
|
//
|
||||||
* by the AMX Mod X Development Team
|
// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO").
|
||||||
* originally developed by OLO
|
// Copyright (C) The AMX Mod X Development Team.
|
||||||
*
|
//
|
||||||
*
|
// This software is licensed under the GNU General Public License, version 3 or higher.
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
// Additional exceptions apply. For full license details, see LICENSE.txt or visit:
|
||||||
* under the terms of the GNU General Public License as published by the
|
// https://alliedmods.net/amxmodx-license
|
||||||
* Free Software Foundation; either version 2 of the License, or (at
|
|
||||||
* your option) any later version.
|
|
||||||
*
|
|
||||||
* 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, write to the Free Software Foundation,
|
|
||||||
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
*
|
|
||||||
* In addition, as a special exception, the author gives permission to
|
|
||||||
* link the code of this program with the Half-Life Game Engine ("HL
|
|
||||||
* Engine") and Modified Game Libraries ("MODs") developed by Valve,
|
|
||||||
* L.L.C ("Valve"). You must obey the GNU General Public License in all
|
|
||||||
* respects for all of the code used other than the HL Engine and MODs
|
|
||||||
* from Valve. If you modify this file, you may extend this exception
|
|
||||||
* to your version of the file, but you are not obligated to do so. If
|
|
||||||
* you do not wish to do so, delete this exception statement from your
|
|
||||||
* version.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __CVECTOR_H__
|
#ifndef __CVECTOR_H__
|
||||||
#define __CVECTOR_H__
|
#define __CVECTOR_H__
|
||||||
|
|
|
@ -1,36 +1,16 @@
|
||||||
/* AMX Mod X
|
// vim: set ts=4 sw=4 tw=99 noet:
|
||||||
*
|
//
|
||||||
* by the AMX Mod X Development Team
|
// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO").
|
||||||
* originally developed by OLO
|
// Copyright (C) The AMX Mod X Development Team.
|
||||||
*
|
// Parts Copyright (C) 2001-2003 Will Day <willday@hpgx.net>
|
||||||
* Parts Copyright (C) 2001-2003 Will Day <willday@hpgx.net>
|
//
|
||||||
*
|
// This software is licensed under the GNU General Public License, version 3 or higher.
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
// Additional exceptions apply. For full license details, see LICENSE.txt or visit:
|
||||||
* under the terms of the GNU General Public License as published by the
|
// https://alliedmods.net/amxmodx-license
|
||||||
* Free Software Foundation; either version 2 of the License, or (at
|
|
||||||
* your option) any later version.
|
//
|
||||||
*
|
// Module SDK
|
||||||
* 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, write to the Free Software Foundation,
|
|
||||||
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
*
|
|
||||||
* In addition, as a special exception, the author gives permission to
|
|
||||||
* link the code of this program with the Half-Life Game Engine ("HL
|
|
||||||
* Engine") and Modified Game Libraries ("MODs") developed by Valve,
|
|
||||||
* L.L.C ("Valve"). You must obey the GNU General Public License in all
|
|
||||||
* respects for all of the code used other than the HL Engine and MODs
|
|
||||||
* from Valve. If you modify this file, you may extend this exception
|
|
||||||
* to your version of the file, but you are not obligated to do so. If
|
|
||||||
* you do not wish to do so, delete this exception statement from your
|
|
||||||
* version.
|
|
||||||
*
|
|
||||||
* Description: AMX Mod X Module Interface Functions
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <new>
|
#include <new>
|
||||||
|
|
|
@ -1,7 +1,16 @@
|
||||||
/*
|
// vim: set ts=4 sw=4 tw=99 noet:
|
||||||
* AMX Mod X Module Interface Functions
|
//
|
||||||
* This file may be freely used
|
// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO").
|
||||||
*/
|
// Copyright (C) The AMX Mod X Development Team.
|
||||||
|
//
|
||||||
|
// This software is licensed under the GNU General Public License, version 3 or higher.
|
||||||
|
// Additional exceptions apply. For full license details, see LICENSE.txt or visit:
|
||||||
|
// https://alliedmods.net/amxmodx-license
|
||||||
|
//
|
||||||
|
|
||||||
|
//
|
||||||
|
// Module SDK
|
||||||
|
//
|
||||||
|
|
||||||
// prevent double include
|
// prevent double include
|
||||||
#ifndef __AMXXMODULE_H__
|
#ifndef __AMXXMODULE_H__
|
||||||
|
|
|
@ -1,4 +1,15 @@
|
||||||
// Configuration
|
// vim: set ts=4 sw=4 tw=99 noet:
|
||||||
|
//
|
||||||
|
// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO").
|
||||||
|
// Copyright (C) The AMX Mod X Development Team.
|
||||||
|
//
|
||||||
|
// This software is licensed under the GNU General Public License, version 3 or higher.
|
||||||
|
// Additional exceptions apply. For full license details, see LICENSE.txt or visit:
|
||||||
|
// https://alliedmods.net/amxmodx-license
|
||||||
|
|
||||||
|
//
|
||||||
|
// Module Config
|
||||||
|
//
|
||||||
|
|
||||||
#ifndef __MODULECONFIG_H__
|
#ifndef __MODULECONFIG_H__
|
||||||
#define __MODULECONFIG_H__
|
#define __MODULECONFIG_H__
|
||||||
|
|
|
@ -1,3 +1,15 @@
|
||||||
|
// vim: set ts=4 sw=4 tw=99 noet:
|
||||||
|
//
|
||||||
|
// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO").
|
||||||
|
// Copyright (C) The AMX Mod X Development Team.
|
||||||
|
//
|
||||||
|
// This software is licensed under the GNU General Public License, version 3 or higher.
|
||||||
|
// Additional exceptions apply. For full license details, see LICENSE.txt or visit:
|
||||||
|
// https://alliedmods.net/amxmodx-license
|
||||||
|
|
||||||
|
//
|
||||||
|
// Regular Expressions Module
|
||||||
|
//
|
||||||
|
|
||||||
#include "amxxmodule.h"
|
#include "amxxmodule.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -238,4 +250,4 @@ char *UTIL_ReplaceEx(char *subject, size_t maxLen, const char *search, size_t se
|
||||||
}
|
}
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,16 @@
|
||||||
|
// vim: set ts=4 sw=4 tw=99 noet:
|
||||||
|
//
|
||||||
|
// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO").
|
||||||
|
// Copyright (C) The AMX Mod X Development Team.
|
||||||
|
//
|
||||||
|
// This software is licensed under the GNU General Public License, version 3 or higher.
|
||||||
|
// Additional exceptions apply. For full license details, see LICENSE.txt or visit:
|
||||||
|
// https://alliedmods.net/amxmodx-license
|
||||||
|
|
||||||
|
//
|
||||||
|
// Regular Expressions Module
|
||||||
|
//
|
||||||
|
|
||||||
#ifndef UTILS_H
|
#ifndef UTILS_H
|
||||||
#define UTILS_H
|
#define UTILS_H
|
||||||
|
|
||||||
|
@ -5,4 +18,4 @@ int UTIL_CheckValidChar(char *c);
|
||||||
char *UTIL_ReplaceEx(char *subject, size_t maxLen, const char *search, size_t searchLen, const char *replace, size_t replaceLen, bool caseSensitive);
|
char *UTIL_ReplaceEx(char *subject, size_t maxLen, const char *search, size_t searchLen, const char *replace, size_t replaceLen, bool caseSensitive);
|
||||||
unsigned int strncopy(char *dest, const char *src, size_t count);
|
unsigned int strncopy(char *dest, const char *src, size_t count);
|
||||||
|
|
||||||
#endif // UTILS_H
|
#endif // UTILS_H
|
||||||
|
|
Loading…
Reference in New Issue
Block a user