Freeciv21
Develop your civilization from humble roots to a global empire
net_types.h
Go to the documentation of this file.
1
/**************************************************************************
2
Copyright (c) 1996-2020 Freeciv21 and Freeciv contributors. This file is
3
__ __ part of Freeciv21. Freeciv21 is free software: you can
4
/ \\..// \ redistribute it and/or modify it under the terms of the GNU
5
( oo ) General Public License as published by the Free Software
6
\__/ Foundation, either version 3 of the License, or (at your
7
option) any later version. You should have received
8
a copy of the GNU General Public License along with Freeciv21. If not,
9
see https://www.gnu.org/licenses/.
10
**************************************************************************/
11
12
/* This header contained some upper level types related to networking. It is
13
* now reduced to some definitions related to LAN scans that don't have a
14
* direct Qt equivalent. */
15
16
#pragma once
17
18
// Which protocol will be used for LAN announcements
19
enum
announce_type
{
ANNOUNCE_NONE
,
ANNOUNCE_IPV4
,
ANNOUNCE_IPV6
};
20
21
#define ANNOUNCE_DEFAULT ANNOUNCE_IPV4
announce_type
announce_type
Definition:
net_types.h:19
ANNOUNCE_IPV6
@ ANNOUNCE_IPV6
Definition:
net_types.h:19
ANNOUNCE_IPV4
@ ANNOUNCE_IPV4
Definition:
net_types.h:19
ANNOUNCE_NONE
@ ANNOUNCE_NONE
Definition:
net_types.h:19
utility
net_types.h
Generated by
1.9.1