Freeciv-3.3
Loading...
Searching...
No Matches
Functions
srv_entrypoint.c File Reference
#include "fc_prehdrs.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "deprecations.h"
#include "fc_cmdline.h"
#include "fciconv.h"
#include "fcintl.h"
#include "log.h"
#include "support.h"
#include "capstr.h"
#include "fc_cmdhelp.h"
#include "game.h"
#include "version.h"
#include "aiiface.h"
#include "console.h"
#include "meta.h"
#include "sernet.h"
#include "srv_main.h"
#include "srv_signal.h"

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 

Function Documentation

◆ main()

int main ( int  argc,
char argv[] 
)

Entry point for Freeciv server. Basically, does two things:

  1. Parses command-line arguments
  2. Calls the main server-loop routine.

Definition at line 63 of file srv_entrypoint.c.