FreeRDP
streamdump.c File Reference
#include <winpr/sysinfo.h>
#include <winpr/path.h>
#include <winpr/string.h>
#include <freerdp/streamdump.h>
#include <freerdp/transport_io.h>

Functions

BOOL stream_dump_read_line (FILE *fp, wStream *s, UINT64 *pts, size_t *pOffset)
 
BOOL stream_dump_write_line (FILE *fp, wStream *s)
 
static FILE * stream_dump_get_file (const rdpSettings *settings, const char *name, const char *mode)
 
SSIZE_T stream_dump_append (const rdpContext *context, const char *name, wStream *s, size_t *offset)
 
SSIZE_T stream_dump_get (const rdpContext *context, const char *name, 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 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)
 
void stream_dump_free (rdpStreamDumpContext *dump)
 
rdpStreamDumpContext * stream_dump_new (void)
 

Function Documentation

◆ stream_dump_append()

SSIZE_T stream_dump_append ( const rdpContext *  context,
const char *  name,
wStream *  s,
size_t *  offset 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ stream_dump_free()

void stream_dump_free ( rdpStreamDumpContext *  dump)
Here is the caller graph for this function:

◆ stream_dump_get()

SSIZE_T stream_dump_get ( const rdpContext *  context,
const char *  name,
wStream *  s,
size_t *  offset,
UINT64 *  pts 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ stream_dump_get_file()

static FILE* stream_dump_get_file ( const rdpSettings *  settings,
const char *  name,
const char *  mode 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ stream_dump_new()

rdpStreamDumpContext* stream_dump_new ( void  )
Here is the caller graph for this function:

◆ stream_dump_read_line()

BOOL stream_dump_read_line ( FILE *  fp,
wStream *  s,
UINT64 *  pts,
size_t *  pOffset 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ stream_dump_register_handlers()

BOOL stream_dump_register_handlers ( rdpContext *  context,
CONNECTION_STATE  state 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ stream_dump_register_read_handlers()

static BOOL stream_dump_register_read_handlers ( rdpContext *  context)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ stream_dump_register_write_handlers()

static BOOL stream_dump_register_write_handlers ( rdpContext *  context)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ stream_dump_replay_transport_accept()

static BOOL stream_dump_replay_transport_accept ( rdpTransport *  transport)
static
Here is the caller graph for this function:

◆ stream_dump_replay_transport_read()

static int stream_dump_replay_transport_read ( rdpTransport *  transport,
wStream *  s 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ stream_dump_replay_transport_tcp_connect()

static int stream_dump_replay_transport_tcp_connect ( rdpContext *  context,
rdpSettings *  settings,
const char *  hostname,
int  port,
DWORD  timeout 
)
static
Here is the caller graph for this function:

◆ stream_dump_replay_transport_tls_connect()

static BOOL stream_dump_replay_transport_tls_connect ( rdpTransport *  transport)
static
Here is the caller graph for this function:

◆ stream_dump_replay_transport_write()

static int stream_dump_replay_transport_write ( rdpTransport *  transport,
wStream *  s 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ stream_dump_transport_read()

static int stream_dump_transport_read ( rdpTransport *  transport,
wStream *  s 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ stream_dump_transport_write()

static int stream_dump_transport_write ( rdpTransport *  transport,
wStream *  s 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ stream_dump_write_line()

BOOL stream_dump_write_line ( FILE *  fp,
wStream *  s 
)
Here is the call graph for this function:
Here is the caller graph for this function: