From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/login__server_8h-source.html | 143 ++++++++++++++++++++++++++ 1 file changed, 143 insertions(+) create mode 100644 docs/doxygen/nel/login__server_8h-source.html (limited to 'docs/doxygen/nel/login__server_8h-source.html') diff --git a/docs/doxygen/nel/login__server_8h-source.html b/docs/doxygen/nel/login__server_8h-source.html new file mode 100644 index 00000000..40ffe7aa --- /dev/null +++ b/docs/doxygen/nel/login__server_8h-source.html @@ -0,0 +1,143 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

login_server.h

Go to the documentation of this file.
00001 
+00008 /* Copyright, 2000 Nevrax Ltd.
+00009  *
+00010  * This file is part of NEVRAX NEL.
+00011  * NEVRAX NEL is free software; you can redistribute it and/or modify
+00012  * it under the terms of the GNU General Public License as published by
+00013  * the Free Software Foundation; either version 2, or (at your option)
+00014  * any later version.
+00015 
+00016  * NEVRAX NEL is distributed in the hope that it will be useful, but
+00017  * WITHOUT ANY WARRANTY; without even the implied warranty of
+00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+00019  * General Public License for more details.
+00020 
+00021  * You should have received a copy of the GNU General Public License
+00022  * along with NEVRAX NEL; see the file COPYING. If not, write to the
+00023  * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+00024  * MA 02111-1307, USA.
+00025  */
+00026 
+00027 #ifndef NL_LOGIN_SERVER_H
+00028 #define NL_LOGIN_SERVER_H
+00029 
+00030 #include "nel/misc/types_nl.h"
+00031 
+00032 #include <string>
+00033 #include <vector>
+00034 
+00035 #include "nel/net/callback_server.h"
+00036 #include "nel/net/login_cookie.h"
+00037 
+00038 namespace NLMISC
+00039 {
+00040         class CConfigFile;
+00041 }
+00042 
+00043 namespace NLNET
+00044 {
+00045 
+00047 typedef void (*TNewClientCallback) (TSockId from, const CLoginCookie &cookie);
+00048 
+00050 typedef void (*TDisconnectClientCallback) (uint32 userId);
+00051 
+00052 class CUdpSock;
+00053 class IDisplayer;
+00054 
+00065 class CLoginServer {
+00066 public:
+00067 
+00073         static void init (CCallbackServer &server, TNewClientCallback ncl);
+00074 
+00077         static void init (CUdpSock &server, TDisconnectClientCallback dc);
+00078 
+00080         static std::string CLoginServer::isValidCookie (const CLoginCookie &lc);
+00081 
+00084         static void clientDisconnected (uint32 userId);
+00085 
+00086 private:
+00087 
+00089         static void connectToWS ();
+00090 
+00091 };
+00092 
+00093 
+00094 } // NLNET
+00095 
+00096 #endif // NL_LOGIN_SERVER_H
+00097 
+00098 /* End of login_server.h */
+
+ + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1