diff options
author | Subv <s.v.h21@hotmail.com> | 2012-10-04 19:39:09 -0500 |
---|---|---|
committer | Subv <s.v.h21@hotmail.com> | 2012-10-04 19:39:09 -0500 |
commit | f7d3600e7e7ffaba971b77e4371a705e55593cfd (patch) | |
tree | 2d4e898bb4e09ede5dba97918741597da6fd2d2e /src/server/authserver/Main.cpp | |
parent | d2437407f4f7ad1af3baeb351626b41bd700065c (diff) | |
parent | 74707a08d3d63dc66e7b6943431c91f50258b0f9 (diff) |
Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps
Conflicts:
src/server/game/Movement/MovementGenerators/FleeingMovementGenerator.cpp
Diffstat (limited to 'src/server/authserver/Main.cpp')
-rwxr-xr-x | src/server/authserver/Main.cpp | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/server/authserver/Main.cpp b/src/server/authserver/Main.cpp index ed0fa9ab06a..011210dd95b 100755 --- a/src/server/authserver/Main.cpp +++ b/src/server/authserver/Main.cpp @@ -15,7 +15,13 @@ * You should have received a copy of the GNU General Public License along * with this program. If not, see <http://www.gnu.org/licenses/>. */ - +/** +* @file main.cpp +* @brief Authentication Server main program +* +* This file contains the main program for the +* authentication server +*/ #include <ace/Dev_Poll_Reactor.h> #include <ace/TP_Reactor.h> #include <ace/ACE.h> @@ -44,7 +50,7 @@ bool stopEvent = false; // Setting it to tru LoginDatabaseWorkerPool LoginDatabase; // Accessor to the auth server database -// Handle authserver's termination signals +/// Handle authserver's termination signals class AuthServerSignalHandler : public Trinity::SignalHandler { public: @@ -68,7 +74,7 @@ void usage(const char *prog) prog); } -// Launch the auth server +/// Launch the auth server extern int main(int argc, char **argv) { // Command line parsing to get the configuration file name @@ -232,7 +238,7 @@ extern int main(int argc, char **argv) return 0; } -// Initialize connection to the database +/// Initialize connection to the database bool StartDB() { MySQL::Library_Init(); @@ -270,6 +276,7 @@ bool StartDB() return true; } +/// Close the connection to the database void StopDB() { LoginDatabase.Close(); |