1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-19 19:59:09 +00:00

Fix line endings and tabs

This commit is contained in:
Branan Purvine-Riley
2011-04-11 16:27:55 -07:00
parent d4250e19b5
commit 908aaeb6f6
2738 changed files with 702562 additions and 702562 deletions

View File

@ -1,21 +1,21 @@
include_directories("../../CoreLib")
include_directories("../../NucleusLib")
set(pnIni_HEADERS
Intern.h
Pch.h
pnIni.h
)
set(pnIni_PRIVATE
Private/pnIniAllIncludes.h
Private/pnIniChange.h
Private/pnIniCore.h
Private/pnIniCore.cpp
Private/pnIniSrv.h
)
add_library(pnIni STATIC ${pnIni_HEADERS} ${pnIni_PRIVATE})
source_group("Header Files" FILES ${pnIni_HEADERS})
source_group("Private" FILES ${pnIni_PRIVATE})
include_directories("../../CoreLib")
include_directories("../../NucleusLib")
set(pnIni_HEADERS
Intern.h
Pch.h
pnIni.h
)
set(pnIni_PRIVATE
Private/pnIniAllIncludes.h
Private/pnIniChange.h
Private/pnIniCore.h
Private/pnIniCore.cpp
Private/pnIniSrv.h
)
add_library(pnIni STATIC ${pnIni_HEADERS} ${pnIni_PRIVATE})
source_group("Header Files" FILES ${pnIni_HEADERS})
source_group("Private" FILES ${pnIni_PRIVATE})

View File

@ -1,85 +1,85 @@
/*==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
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 3 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, see <http://www.gnu.org/licenses/>.
You can contact Cyan Worlds, Inc. by email legal@cyan.com
or by snail mail at:
Cyan Worlds, Inc.
14617 N Newport Hwy
Mead, WA 99021
*==LICENSE==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Intern.h
*
***/
#ifdef PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_INTERN_H
#error "Header $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Intern.h included more than once"
#endif
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_INTERN_H
/*****************************************************************************
*
* Ini
*
***/
struct IniValue {
ARRAY(wchar *) fArgs;
IniKey * fKey;
unsigned fIndex;
unsigned fLineNum;
IniValue (IniKey * key, unsigned lineNum);
~IniValue ();
};
struct IniKey {
HASHLINK(IniKey) fLink;
ARRAY(IniValue *) fValues;
IniSection * fSection;
wchar fName[1]; // variable length
// no more fields
IniKey (IniSection * section, const wchar name[]);
~IniKey ();
unsigned GetHash () const;
bool operator== (const CHashKeyStrPtrI & rhs) const;
};
struct IniSection {
HASHTABLEDECL(IniKey, CHashKeyStrPtrI, fLink) fKeys;
HASHLINK(IniSection) fLink;
wchar fName[1]; // variable length
// no more fields
IniSection (const wchar name[]);
~IniSection ();
unsigned GetHash () const;
bool operator== (const CHashKeyStrPtrI & rhs) const;
};
struct Ini {
HASHTABLEDECL(IniSection, CHashKeyStrPtrI, fLink) fSections;
~Ini ();
};
/*==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
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 3 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, see <http://www.gnu.org/licenses/>.
You can contact Cyan Worlds, Inc. by email legal@cyan.com
or by snail mail at:
Cyan Worlds, Inc.
14617 N Newport Hwy
Mead, WA 99021
*==LICENSE==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Intern.h
*
***/
#ifdef PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_INTERN_H
#error "Header $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Intern.h included more than once"
#endif
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_INTERN_H
/*****************************************************************************
*
* Ini
*
***/
struct IniValue {
ARRAY(wchar *) fArgs;
IniKey * fKey;
unsigned fIndex;
unsigned fLineNum;
IniValue (IniKey * key, unsigned lineNum);
~IniValue ();
};
struct IniKey {
HASHLINK(IniKey) fLink;
ARRAY(IniValue *) fValues;
IniSection * fSection;
wchar fName[1]; // variable length
// no more fields
IniKey (IniSection * section, const wchar name[]);
~IniKey ();
unsigned GetHash () const;
bool operator== (const CHashKeyStrPtrI & rhs) const;
};
struct IniSection {
HASHTABLEDECL(IniKey, CHashKeyStrPtrI, fLink) fKeys;
HASHLINK(IniSection) fLink;
wchar fName[1]; // variable length
// no more fields
IniSection (const wchar name[]);
~IniSection ();
unsigned GetHash () const;
bool operator== (const CHashKeyStrPtrI & rhs) const;
};
struct Ini {
HASHTABLEDECL(IniSection, CHashKeyStrPtrI, fLink) fSections;
~Ini ();
};

View File

@ -1,47 +1,47 @@
/*==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
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 3 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, see <http://www.gnu.org/licenses/>.
You can contact Cyan Worlds, Inc. by email legal@cyan.com
or by snail mail at:
Cyan Worlds, Inc.
14617 N Newport Hwy
Mead, WA 99021
*==LICENSE==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Pch.h
*
***/
#ifdef PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PCH_H
#error "Header $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Pch.h included more than once"
#endif
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PCH_H
#include "pnUtils/pnUtils.h"
#include "pnProduct/pnProduct.h"
#include "pnNetBase/pnNetBase.h"
#include "pnAsyncCore/pnAsyncCore.h"
#include "Private/pnIniAllIncludes.h"
#include "Intern.h"
#include <malloc.h>
/*==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
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 3 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, see <http://www.gnu.org/licenses/>.
You can contact Cyan Worlds, Inc. by email legal@cyan.com
or by snail mail at:
Cyan Worlds, Inc.
14617 N Newport Hwy
Mead, WA 99021
*==LICENSE==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Pch.h
*
***/
#ifdef PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PCH_H
#error "Header $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Pch.h included more than once"
#endif
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PCH_H
#include "pnUtils/pnUtils.h"
#include "pnProduct/pnProduct.h"
#include "pnNetBase/pnNetBase.h"
#include "pnAsyncCore/pnAsyncCore.h"
#include "Private/pnIniAllIncludes.h"
#include "Intern.h"
#include <malloc.h>

View File

@ -1,40 +1,40 @@
/*==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
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 3 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, see <http://www.gnu.org/licenses/>.
You can contact Cyan Worlds, Inc. by email legal@cyan.com
or by snail mail at:
Cyan Worlds, Inc.
14617 N Newport Hwy
Mead, WA 99021
*==LICENSE==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniAllIncludes.h
*
***/
#ifdef PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINIALLINCLUDES_H
#error "Header $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniAllIncludes.h included more than once"
#endif
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINIALLINCLUDES_H
#include "pnIniCore.h"
#include "pnIniChange.h"
#include "pnIniSrv.h"
/*==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
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 3 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, see <http://www.gnu.org/licenses/>.
You can contact Cyan Worlds, Inc. by email legal@cyan.com
or by snail mail at:
Cyan Worlds, Inc.
14617 N Newport Hwy
Mead, WA 99021
*==LICENSE==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniAllIncludes.h
*
***/
#ifdef PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINIALLINCLUDES_H
#error "Header $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniAllIncludes.h included more than once"
#endif
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINIALLINCLUDES_H
#include "pnIniCore.h"
#include "pnIniChange.h"
#include "pnIniSrv.h"

View File

@ -1,65 +1,65 @@
/*==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
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 3 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, see <http://www.gnu.org/licenses/>.
You can contact Cyan Worlds, Inc. by email legal@cyan.com
or by snail mail at:
Cyan Worlds, Inc.
14617 N Newport Hwy
Mead, WA 99021
*==LICENSE==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniChange.h
*
***/
#ifdef PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINICHANGE_H
#error "Header $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniChange.h included more than once"
#endif
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINICHANGE_H
/*****************************************************************************
*
* Change notifications for files in the "./Config" directory
*
***/
struct IniChangeReg;
typedef void (* FIniFileChangeCallback)(const wchar fullPath[]);
void IniChangeInitialize (
const wchar dir[] = L"Config"
);
void IniChangeDestroy ();
void IniChangeAdd (
const wchar filename[], // just filename, no path or extension
FIniFileChangeCallback callback,
IniChangeReg ** reg
);
void IniChangeRemove (
IniChangeReg * reg,
bool wait
);
void IniChangeSignal (
IniChangeReg * reg,
bool wait
);
/*==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
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 3 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, see <http://www.gnu.org/licenses/>.
You can contact Cyan Worlds, Inc. by email legal@cyan.com
or by snail mail at:
Cyan Worlds, Inc.
14617 N Newport Hwy
Mead, WA 99021
*==LICENSE==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniChange.h
*
***/
#ifdef PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINICHANGE_H
#error "Header $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniChange.h included more than once"
#endif
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINICHANGE_H
/*****************************************************************************
*
* Change notifications for files in the "./Config" directory
*
***/
struct IniChangeReg;
typedef void (* FIniFileChangeCallback)(const wchar fullPath[]);
void IniChangeInitialize (
const wchar dir[] = L"Config"
);
void IniChangeDestroy ();
void IniChangeAdd (
const wchar filename[], // just filename, no path or extension
FIniFileChangeCallback callback,
IniChangeReg ** reg
);
void IniChangeRemove (
IniChangeReg * reg,
bool wait
);
void IniChangeSignal (
IniChangeReg * reg,
bool wait
);

File diff suppressed because it is too large Load Diff

View File

@ -1,154 +1,154 @@
/*==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
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 3 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, see <http://www.gnu.org/licenses/>.
You can contact Cyan Worlds, Inc. by email legal@cyan.com
or by snail mail at:
Cyan Worlds, Inc.
14617 N Newport Hwy
Mead, WA 99021
*==LICENSE==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniCore.h
*
***/
#ifdef PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINICORE_H
#error "Header $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniCore.h included more than once"
#endif
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINICORE_H
/*****************************************************************************
*
* Ini file parsing functions
*
***/
struct Ini;
struct IniKey;
struct IniValue;
struct IniSection;
// File
Ini * IniOpen (
const wchar filename[]
);
void IniClose (
Ini * ini
);
// Section
const IniSection * IniGetFirstSection (
const Ini * ini,
wchar * name,
unsigned chars
);
const IniSection * IniGetNextSection (
const IniSection * section,
wchar * name,
unsigned chars
);
const IniSection * IniGetSection (
const Ini * ini,
const wchar name[]
);
// Key
const IniKey * IniGetFirstKey (
const IniSection * section,
wchar * name,
unsigned chars
);
const IniKey * IniGetFirstKey (
const Ini * ini,
const wchar sectionName[],
wchar * name,
unsigned chars
);
const IniKey * IniGetNextKey (
const IniKey * key,
wchar * name,
unsigned chars
);
const IniKey * IniGetKey (
const IniSection * ini,
const wchar name[]
);
// Value
const IniValue * IniGetFirstValue (
const IniKey * key,
unsigned * iter
);
const IniValue * IniGetFirstValue (
const IniSection * section,
const wchar keyName[],
unsigned * iter
);
const IniValue * IniGetFirstValue (
const Ini * ini,
const wchar sectionName[],
const wchar keyName[],
unsigned * iter
);
const IniValue * IniGetNextValue (
const IniValue * value,
unsigned * iter
);
// Data
bool IniGetUnsigned (
const IniValue * value,
unsigned * result,
unsigned index = 0,
unsigned defaultValue = 0
);
bool IniGetString (
const IniValue * value,
wchar * result,
unsigned resultChars,
unsigned index = 0,
const wchar defaultValue[] = nil
);
bool IniGetUuid (
const IniValue * value,
Uuid * result,
unsigned index = 0,
const Uuid & defaultValue = kNilGuid
);
// Bounded values
unsigned IniGetBoundedValue (
const Ini * ini,
const wchar sectionName[],
const wchar keyName[],
unsigned index,
unsigned minVal,
unsigned maxVal,
unsigned defVal
);
unsigned IniGetBoundedValue (
const IniValue * value,
unsigned index,
unsigned minVal,
unsigned maxVal,
unsigned defVal
);
/*==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
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 3 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, see <http://www.gnu.org/licenses/>.
You can contact Cyan Worlds, Inc. by email legal@cyan.com
or by snail mail at:
Cyan Worlds, Inc.
14617 N Newport Hwy
Mead, WA 99021
*==LICENSE==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniCore.h
*
***/
#ifdef PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINICORE_H
#error "Header $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniCore.h included more than once"
#endif
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINICORE_H
/*****************************************************************************
*
* Ini file parsing functions
*
***/
struct Ini;
struct IniKey;
struct IniValue;
struct IniSection;
// File
Ini * IniOpen (
const wchar filename[]
);
void IniClose (
Ini * ini
);
// Section
const IniSection * IniGetFirstSection (
const Ini * ini,
wchar * name,
unsigned chars
);
const IniSection * IniGetNextSection (
const IniSection * section,
wchar * name,
unsigned chars
);
const IniSection * IniGetSection (
const Ini * ini,
const wchar name[]
);
// Key
const IniKey * IniGetFirstKey (
const IniSection * section,
wchar * name,
unsigned chars
);
const IniKey * IniGetFirstKey (
const Ini * ini,
const wchar sectionName[],
wchar * name,
unsigned chars
);
const IniKey * IniGetNextKey (
const IniKey * key,
wchar * name,
unsigned chars
);
const IniKey * IniGetKey (
const IniSection * ini,
const wchar name[]
);
// Value
const IniValue * IniGetFirstValue (
const IniKey * key,
unsigned * iter
);
const IniValue * IniGetFirstValue (
const IniSection * section,
const wchar keyName[],
unsigned * iter
);
const IniValue * IniGetFirstValue (
const Ini * ini,
const wchar sectionName[],
const wchar keyName[],
unsigned * iter
);
const IniValue * IniGetNextValue (
const IniValue * value,
unsigned * iter
);
// Data
bool IniGetUnsigned (
const IniValue * value,
unsigned * result,
unsigned index = 0,
unsigned defaultValue = 0
);
bool IniGetString (
const IniValue * value,
wchar * result,
unsigned resultChars,
unsigned index = 0,
const wchar defaultValue[] = nil
);
bool IniGetUuid (
const IniValue * value,
Uuid * result,
unsigned index = 0,
const Uuid & defaultValue = kNilGuid
);
// Bounded values
unsigned IniGetBoundedValue (
const Ini * ini,
const wchar sectionName[],
const wchar keyName[],
unsigned index,
unsigned minVal,
unsigned maxVal,
unsigned defVal
);
unsigned IniGetBoundedValue (
const IniValue * value,
unsigned index,
unsigned minVal,
unsigned maxVal,
unsigned defVal
);

View File

@ -1,40 +1,40 @@
/*==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
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 3 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, see <http://www.gnu.org/licenses/>.
You can contact Cyan Worlds, Inc. by email legal@cyan.com
or by snail mail at:
Cyan Worlds, Inc.
14617 N Newport Hwy
Mead, WA 99021
*==LICENSE==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniSrv.cpp
*
***/
#include "../Pch.h"
#pragma hdrstop
#ifdef SERVER
#endif
/*==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
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 3 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, see <http://www.gnu.org/licenses/>.
You can contact Cyan Worlds, Inc. by email legal@cyan.com
or by snail mail at:
Cyan Worlds, Inc.
14617 N Newport Hwy
Mead, WA 99021
*==LICENSE==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniSrv.cpp
*
***/
#include "../Pch.h"
#pragma hdrstop
#ifdef SERVER
#endif

View File

@ -1,61 +1,61 @@
/*==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
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 3 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, see <http://www.gnu.org/licenses/>.
You can contact Cyan Worlds, Inc. by email legal@cyan.com
or by snail mail at:
Cyan Worlds, Inc.
14617 N Newport Hwy
Mead, WA 99021
*==LICENSE==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniSrv.h
*
***/
#ifdef PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINISRV_H
#error "Header $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniSrv.h included more than once"
#endif
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINISRV_H
#ifdef SERVER
/*****************************************************************************
*
* ServerRights API
*
***/
// These values may never change because server modules
// must use the same values as plServer.exe
enum EServerRights {
kSrvRightsNone = 0,
kSrvRightsBasic = 1,
kSrvRightsServer = 2,
kNumSrvRights
};
EServerRights SrvIniGetServerRightsByNode (NetAddressNode addrNode);
EServerRights SrvIniGetServerRights (const NetAddress & addr);
void SrvIniParseServerRights (Ini * ini);
#endif
/*==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
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 3 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, see <http://www.gnu.org/licenses/>.
You can contact Cyan Worlds, Inc. by email legal@cyan.com
or by snail mail at:
Cyan Worlds, Inc.
14617 N Newport Hwy
Mead, WA 99021
*==LICENSE==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniSrv.h
*
***/
#ifdef PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINISRV_H
#error "Header $/Plasma20/Sources/Plasma/NucleusLib/pnIni/Private/pnIniSrv.h included more than once"
#endif
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PRIVATE_PNINISRV_H
#ifdef SERVER
/*****************************************************************************
*
* ServerRights API
*
***/
// These values may never change because server modules
// must use the same values as plServer.exe
enum EServerRights {
kSrvRightsNone = 0,
kSrvRightsBasic = 1,
kSrvRightsServer = 2,
kNumSrvRights
};
EServerRights SrvIniGetServerRightsByNode (NetAddressNode addrNode);
EServerRights SrvIniGetServerRights (const NetAddress & addr);
void SrvIniParseServerRights (Ini * ini);
#endif

View File

@ -1,37 +1,37 @@
/*==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
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 3 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, see <http://www.gnu.org/licenses/>.
You can contact Cyan Worlds, Inc. by email legal@cyan.com
or by snail mail at:
Cyan Worlds, Inc.
14617 N Newport Hwy
Mead, WA 99021
*==LICENSE==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/pnIni.h
*
***/
#ifndef PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PNINI_H
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PNINI_H
#include "Private/pnIniAllIncludes.h"
#endif // PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PNINI_H
/*==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
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 3 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, see <http://www.gnu.org/licenses/>.
You can contact Cyan Worlds, Inc. by email legal@cyan.com
or by snail mail at:
Cyan Worlds, Inc.
14617 N Newport Hwy
Mead, WA 99021
*==LICENSE==*/
/*****************************************************************************
*
* $/Plasma20/Sources/Plasma/NucleusLib/pnIni/pnIni.h
*
***/
#ifndef PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PNINI_H
#define PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PNINI_H
#include "Private/pnIniAllIncludes.h"
#endif // PLASMA20_SOURCES_PLASMA_NUCLEUSLIB_PNINI_PNINI_H