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

XrdpTransport.cpp - github.com/neutrinolabs/ulalaca-xrdp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e6cd56475885d71f2d29b99105ce21f49e75d280 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//
// Created by Gyuhwan Park on 2022/04/30.
//

#if defined(HAVE_CONFIG_H)
#include <config_ac.h>
#endif

#include "XrdpTransport.hpp"

static void XrdpTransportDeleter(XrdpTransport::Transport *transport) {
    trans_delete(transport);
}

XrdpTransport::XrdpTransport(int mode, int inSize, int outSize):
    _transport {
        trans_create(mode, inSize, outSize),
        XrdpTransportDeleter
    }
{

}