Welcome to mirror list, hosted at ThFree Co, Russian Federation.

XrdpStream.template.cpp - github.com/neutrinolabs/ulalaca-xrdp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8b55b5899086a433595b34a7d904f2e78ce0b59f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef __ULALACA_XRDPSTREAM_TEMPLATE_CPP__
#define __ULALACA_XRDPSTREAM_TEMPLATE_CPP__

#include "ulalaca.hpp"

template <>
XrdpStream &XrdpStream::operator<<(uint8_t value) {
    out_uint8(_stream, value);
}

template <>
XrdpStream &XrdpStream::operator<<(uint16_t value) {
    out_uint16_le(_stream, value);
}

template <>
XrdpStream &XrdpStream::operator<<(uint32_t value) {
    out_uint32_le(_stream, value);
}

template <>
XrdpStream &XrdpStream::operator<<(uint64_t value) {
    out_uint64_le(_stream, value);
}

#endif