 
#include <string>#include "SDL.h"#include "regcom/server/Server.h"| Defines | |
| #define | PACKAGE "regcom" | 
| #define | VERSION "0.0.5" | 
| Functions | |
| void | display_help (void) | 
| void | display_version (void) | 
| void | report_invalid_option (char *option) | 
| int | get_int_argument (char *option) | 
| char * | get_string_argument (char *option) | 
| void | parse_options (int argc, char **argv) | 
| int | main (int argc, char **argv) | 
| Variables | |
| struct { | |
| int server_port | |
| std::string database_host | |
| std::string database_user | |
| std::string database_pass | |
| } | options | 
| static const char * | help_text [] | 
| #define PACKAGE "regcom" | 
| #define VERSION "0.0.5" | 
| void display_help | ( | void | ) | 
| void display_version | ( | void | ) | 
| void report_invalid_option | ( | char * | option | ) | 
| int get_int_argument | ( | char * | option | ) | 
| char* get_string_argument | ( | char * | option | ) | 
| void parse_options | ( | int | argc, | |
| char ** | argv | |||
| ) | 
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) | 
Main entry point.
| int server_port | 
| std::string database_host | 
| std::string database_user | 
| std::string database_pass | 
| struct { ... }   options  [static] | 
| const char* help_text[]  [static] | 
Initial value:
{
    "                                                   \n",
    "Usage: regcom.server [OPTION] ...                  \n",
    "                                                   \n",
    "Options:                                           \n",
    "                                                   \n",
    "  --help      display help information             \n",
    "  --version   display version information          \n",
    "                                                   \n",
    "Server options:                                    \n",
    "                                                   \n",
    "  --server_port=PORT   server port                 \n",
    "                                                   \n",
    "Database options:                                  \n",
    "                                                   \n",
    "  --database_host=HOST   database host name        \n",
    "  --database_user=USER   database user name        \n",
    "  --database_pass=PASS   database password         \n",
    "                                                   \n",
    "Report bugs to <regcom-bugs@lists.sourceforge.net>.\n",
    "                                                   \n",
    NULL
}
Navigation
Home Page
	Screen Shots
	Developers
	Documentation
Doxygen
Namespace List
	Class List
	Class Hierarchy
	File List
	Todo List
Links
	SDL Library
	License
	SourceForge Project
	Forums
	Download
	
Regimental Command
Copyright © 2008
Randi J. Relander