include/relpipe/protocol/typedefs.h
author František Kučera <franta-hg@frantovo.cz>
Thu, 29 Nov 2018 22:30:11 +0100
branchv_0
changeset 3 64049055fc1d
parent 0 0f855036489e
child 4 7bb871f68805
permissions -rw-r--r--
license: GNU GPLv3+
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3
64049055fc1d license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
     1
/**
64049055fc1d license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
     2
 * Relational pipes
64049055fc1d license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
     3
 * Copyright © 2018 František Kučera (Frantovo.cz, GlobalCode.info)
64049055fc1d license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
     4
 *
64049055fc1d license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
     5
 * This program is free software: you can redistribute it and/or modify
64049055fc1d license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
     6
 * it under the terms of the GNU General Public License as published by
64049055fc1d license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
     7
 * the Free Software Foundation, either version 3 of the License, or
64049055fc1d license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
     8
 * (at your option) any later version.
64049055fc1d license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
     9
 *
64049055fc1d license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
    10
 * This program is distributed in the hope that it will be useful,
64049055fc1d license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
    11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
64049055fc1d license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
    12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
64049055fc1d license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
    13
 * GNU General Public License for more details.
64049055fc1d license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
    14
 *
64049055fc1d license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
    15
 * You should have received a copy of the GNU General Public License
64049055fc1d license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
    16
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
64049055fc1d license: GNU GPLv3+
František Kučera <franta-hg@frantovo.cz>
parents: 0
diff changeset
    17
 */
0
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    18
#pragma once
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    19
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    20
#include <cstdint>
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    21
#include <string>
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    22
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    23
namespace relpipe {
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    24
namespace protocol {
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    25
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    26
using octet_t = uint8_t;
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    27
using integer_t = uint64_t;
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    28
using boolean_t = bool;
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    29
using string_t = std::wstring;
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    30
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    31
}
0f855036489e common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    32
}