include/relpipe/protocol/typedefs.h
author František Kučera <franta-hg@frantovo.cz>
Sun, 19 Aug 2018 20:34:11 +0200
branchv_0
changeset 0 0f855036489e
child 3 64049055fc1d
permissions -rw-r--r--
common definitions of constants and types
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     1
#pragma once
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     2
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     3
#include <cstdint>
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     4
#include <string>
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     5
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     6
namespace relpipe {
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     7
namespace protocol {
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     8
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     9
using octet_t = uint8_t;
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    10
using integer_t = uint64_t;
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    11
using boolean_t = bool;
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    12
using string_t = std::wstring;
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    13
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    14
}
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    15
}