OpenTTD Source: src/network/core/core.cpp File Reference

OpenTTD Source 15.3

Functions
core.cpp File Reference

Functions used to initialize/shut down the core network. More...

`#include "../../stdafx.h"`
`#include "../../debug.h"`
`#include "os_abstraction.h"`
`#include "packet.h"`
`#include "../../safeguards.h"`

Go to the source code of this file.

## Functions
bool | NetworkCoreInitialize ()
| Initializes the network core (as that is needed for some platforms.
void | NetworkCoreShutdown ()
| Shuts down the network core (as that is needed for some platforms.

## Detailed Description

Functions used to initialize/shut down the core network.

Definition in file core.cpp.

## Function Documentation

## ◆ NetworkCoreInitialize()

bool NetworkCoreInitialize | ( |  | ) |

Initializes the network core (as that is needed for some platforms.

Returns
  true if the core has been initialized, false otherwise

Definition at line 24 of file core.cpp.

References Debug.

Referenced by NetworkStartUp().

## ◆ NetworkCoreShutdown()

void NetworkCoreShutdown | ( |  | ) |

Shuts down the network core (as that is needed for some platforms.

Definition at line 44 of file core.cpp.

Referenced by NetworkShutDown().