File: XrdpTransport.cpp

package info (click to toggle)
xrdp 0.10.5-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 15,088 kB
  • sloc: ansic: 107,426; sh: 5,852; asm: 4,742; cpp: 2,555; makefile: 1,474
file content (22 lines) | stat: -rw-r--r-- 408 bytes parent folder | download | duplicates (4)
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
    }
{

}