FreeRDP
|
#include <time.h>
#include <winpr/sysinfo.h>
#include <winpr/path.h>
#include <winpr/string.h>
#include <freerdp/freerdp.h>
#include <freerdp/streamdump.h>
#include <freerdp/transport_io.h>
#include "streamdump.h"
Macros | |
#define | TAG FREERDP_TAG("streamdump") |
Functions | |
static UINT32 | crc32b (const BYTE *data, size_t length) |
static BOOL | stream_dump_read_line (FILE *fp, wStream *s, UINT64 *pts, size_t *pOffset, UINT32 *flags) |
static BOOL | stream_dump_write_line (FILE *fp, UINT32 flags, wStream *s) |
static FILE * | stream_dump_get_file (const rdpSettings *settings, const char *mode) |
SSIZE_T | stream_dump_append (const rdpContext *context, UINT32 flags, wStream *s, size_t *offset) |
SSIZE_T | stream_dump_get (const rdpContext *context, UINT32 *flags, wStream *s, size_t *offset, UINT64 *pts) |
static int | stream_dump_transport_write (rdpTransport *transport, wStream *s) |
static int | stream_dump_transport_read (rdpTransport *transport, wStream *s) |
static BOOL | stream_dump_register_write_handlers (rdpContext *context) |
static int | stream_dump_replay_transport_write (rdpTransport *transport, wStream *s) |
static int | stream_dump_replay_transport_read (rdpTransport *transport, wStream *s) |
static int | stream_dump_replay_transport_tcp_connect (rdpContext *context, rdpSettings *settings, const char *hostname, int port, DWORD timeout) |
static rdpTransportLayer * | stream_dump_replay_transport_connect_layer (rdpTransport *transport, const char *hostname, int port, DWORD timeout) |
static BOOL | stream_dump_replay_transport_tls_connect (rdpTransport *transport) |
static BOOL | stream_dump_replay_transport_accept (rdpTransport *transport) |
static BOOL | stream_dump_register_read_handlers (rdpContext *context) |
BOOL | stream_dump_register_handlers (rdpContext *context, CONNECTION_STATE state, BOOL isServer) |
void | stream_dump_free (rdpStreamDumpContext *dump) |
rdpStreamDumpContext * | stream_dump_new (void) |
#define TAG FREERDP_TAG("streamdump") |
FreeRDP: A Remote Desktop Protocol Implementation
RDP session stream dump interface
Copyright 2022 Armin Novak Copyright 2022 Thincast Technologies GmbH
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.
|
static |
SSIZE_T stream_dump_append | ( | const rdpContext * | context, |
UINT32 | flags, | ||
wStream * | s, | ||
size_t * | offset | ||
) |
void stream_dump_free | ( | rdpStreamDumpContext * | dump | ) |
SSIZE_T stream_dump_get | ( | const rdpContext * | context, |
UINT32 * | flags, | ||
wStream * | s, | ||
size_t * | offset, | ||
UINT64 * | pts | ||
) |
|
static |
rdpStreamDumpContext* stream_dump_new | ( | void | ) |
|
static |
BOOL stream_dump_register_handlers | ( | rdpContext * | context, |
CONNECTION_STATE | state, | ||
BOOL | isServer | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |