Freeciv-3.2: /fast/freeciv/nightly/S3_2/common/capstr.c File Reference

Freeciv-3.2

Loading...
Searching...
No Matches
Functions | Variables
capstr.c File Reference
`#include <stdlib.h>`
`#include "version_gen.h"`
`#include "support.h"`
`#include "connection.h"`
`#include "capstr.h"`

Go to the source code of this file.

## Functions

void | init_our_capability (void)

## Variables

static char | our_capability_internal [MAX_LEN_CAPSTR]
const char *const | our_capability = our_capability_internal

## Function Documentation

## ◆ init_our_capability()

void init_our_capability | ( | void |  | ) |

Setup our internal network capability string.

Definition at line 87 of file capstr.c.

Referenced by client_main(), main(), and main().

## Variable Documentation

## ◆ our_capability

const char* const our_capability = our_capability_internal

Definition at line 32 of file capstr.c.

Referenced by establish_new_connection(), handle_login_request(), handle_server_join_reply(), make_connection(), and reject_new_connection().

## ◆ our_capability_internal

char our_capability_internal[MAX_LEN_CAPSTR]

static

Definition at line 31 of file capstr.c.

Referenced by init_our_capability().