diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-09-27 19:47:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-27 19:47:36 +0200 |
commit | ad7daf7b52348e1b71aa803be10de5b2134cba11 (patch) | |
tree | e5a528d0e9be11f678d113dde3ec4b49f3d96c26 /src/network/networkprotocol.h | |
parent | 50b2185ced9dc64e054ce743bbc22d15ecdf6192 (diff) | |
download | minetest-ad7daf7b52348e1b71aa803be10de5b2134cba11.tar.gz minetest-ad7daf7b52348e1b71aa803be10de5b2134cba11.tar.bz2 minetest-ad7daf7b52348e1b71aa803be10de5b2134cba11.zip |
Add session_t typedef + remove unused functions (#6470)
* Add session_t typedef + remove unused functions
u16 peer_id is used everywhere, to be more consistent and permit some evolutions on this type in the future (i'm working on a PoC), uniformize u16 peer_id to SessionId peer_id
Diffstat (limited to 'src/network/networkprotocol.h')
-rw-r--r-- | src/network/networkprotocol.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkprotocol.h b/src/network/networkprotocol.h index 28132396b..76e90b560 100644 --- a/src/network/networkprotocol.h +++ b/src/network/networkprotocol.h @@ -206,6 +206,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #define TEXTURENAME_ALLOWED_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_.-" +typedef u16 session_t; + enum ToClientCommand { TOCLIENT_HELLO = 0x02, |