FreeRDP
childsession.c File Reference
#include "tcp.h"
#include <winpr/library.h>
#include <winpr/assert.h>
#include <winpr/print.h>
#include <winpr/sysinfo.h>
#include <freerdp/utils/ringbuffer.h>
#include "childsession.h"

Macros

#define TAG   FREERDP_TAG("childsession")
 

Typedefs

typedef NTSTATUS(* WinStationCreateChildSessionTransportFn) (WCHAR *path, DWORD len)
 

Functions

static int transport_bio_named_uninit (BIO *bio)
 
static int transport_bio_named_write (BIO *bio, const char *buf, int size)
 
static BOOL treatReadResult (WINPR_BIO_NAMED *ptr, DWORD readBytes)
 
static BOOL doReadOp (WINPR_BIO_NAMED *ptr)
 
static int transport_bio_named_read (BIO *bio, char *buf, int size)
 
static int transport_bio_named_puts (BIO *bio, const char *str)
 
static int transport_bio_named_gets (BIO *bio, char *str, int size)
 
static long transport_bio_named_ctrl (BIO *bio, int cmd, long arg1, void *arg2)
 
static void BIO_NAMED_free (WINPR_BIO_NAMED *ptr)
 
static int transport_bio_named_new (BIO *bio)
 
static int transport_bio_named_free (BIO *bio)
 
static BIO_METHOD * BIO_s_namedpipe (void)
 
static BOOL createChildSessionTransport (HANDLE *pFile)
 
BIO * createChildSessionBio (void)
 

Macro Definition Documentation

◆ TAG

#define TAG   FREERDP_TAG("childsession")

FreeRDP: A Remote Desktop Protocol Implementation Named pipe transport

Copyright 2023-2024 David Fort conta.nosp@m.ct@h.nosp@m.arden.nosp@m.ing-.nosp@m.consu.nosp@m.ltin.nosp@m.g.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Typedef Documentation

◆ WinStationCreateChildSessionTransportFn

typedef NTSTATUS(* WinStationCreateChildSessionTransportFn) (WCHAR *path, DWORD len)

Function Documentation

◆ BIO_NAMED_free()

static void BIO_NAMED_free ( WINPR_BIO_NAMED *  ptr)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ BIO_s_namedpipe()

static BIO_METHOD* BIO_s_namedpipe ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createChildSessionBio()

BIO* createChildSessionBio ( void  )

FreeRDP: A Remote Desktop Protocol Implementation Connecting to windows child session

Copyright 2023 David Fort conta.nosp@m.ct@h.nosp@m.arden.nosp@m.ing-.nosp@m.consu.nosp@m.ltin.nosp@m.g.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createChildSessionTransport()

static BOOL createChildSessionTransport ( HANDLE *  pFile)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ doReadOp()

static BOOL doReadOp ( WINPR_BIO_NAMED *  ptr)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ transport_bio_named_ctrl()

static long transport_bio_named_ctrl ( BIO *  bio,
int  cmd,
long  arg1,
void *  arg2 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ transport_bio_named_free()

static int transport_bio_named_free ( BIO *  bio)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ transport_bio_named_gets()

static int transport_bio_named_gets ( BIO *  bio,
char *  str,
int  size 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ transport_bio_named_new()

static int transport_bio_named_new ( BIO *  bio)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ transport_bio_named_puts()

static int transport_bio_named_puts ( BIO *  bio,
const char *  str 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ transport_bio_named_read()

static int transport_bio_named_read ( BIO *  bio,
char *  buf,
int  size 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ transport_bio_named_uninit()

static int transport_bio_named_uninit ( BIO *  bio)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ transport_bio_named_write()

static int transport_bio_named_write ( BIO *  bio,
const char *  buf,
int  size 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ treatReadResult()

static BOOL treatReadResult ( WINPR_BIO_NAMED *  ptr,
DWORD  readBytes 
)
static
Here is the call graph for this function:
Here is the caller graph for this function: