Go to the source code of this file.
◆ CHANNEL_CHUNK_LENGTH
#define CHANNEL_CHUNK_LENGTH 1600 |
◆ CHANNEL_FLAG_FIRST
#define CHANNEL_FLAG_FIRST 0x01 |
◆ CHANNEL_FLAG_LAST
#define CHANNEL_FLAG_LAST 0x02 |
◆ CHANNEL_FLAG_SHOW_PROTOCOL
#define CHANNEL_FLAG_SHOW_PROTOCOL 0x10 |
◆ MAX_CHANNELS
◆ channel_init()
Definition at line 69 of file channels.c.
STREAM sec_init(uint32 flags, int maxlen)
GLenum GLuint GLenum GLsizei length
#define s_push_layer(s, h, n)
Referenced by cliprdr_send_packet(), lspci_send(), rdpdr_send_available(), rdpdr_send_clientcapabilty(), rdpdr_send_completion(), rdpdr_send_connect(), rdpdr_send_name(), rdpsnd_init_packet(), and seamless_send().
◆ channel_process()
Definition at line 138 of file channels.c.
149 if (channel->
mcs_id == mcs_channel)
177 thislength =
MIN(
s->end -
s->p,
in->data +
in->size -
in->p);
#define CHANNEL_FLAG_LAST
void * xrealloc(void *oldmem, size_t size)
#define CHANNEL_FLAG_FIRST
GLenum GLuint GLenum GLsizei length
#define memcpy(s1, s2, n)
VCHANNEL g_channels[MAX_CHANNELS]
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
unsigned int g_num_channels
#define in_uint32_le(s, v)
Referenced by sec_recv().
◆ channel_register()
Definition at line 46 of file channels.c.
55 error(
"Channel table full, increase MAX_CHANNELS\n");
char * strncpy(char *DstString, const char *SrcString, ACPI_SIZE Count)
#define MCS_GLOBAL_CHANNEL
RDP_VERSION g_rdp_version
VCHANNEL g_channels[MAX_CHANNELS]
unsigned int g_num_channels
static IPrintDialogCallback callback
Referenced by cliprdr_init(), lspci_init(), rdpdr_init(), rdpsnd_init(), and seamless_init().
◆ channel_send()
Definition at line 79 of file channels.c.
82 uint32 thislength, remaining;
100 remaining =
length - thislength;
107 data =
s->end =
s->p + thislength;
108 DEBUG_CHANNEL((
"Sending %d bytes with FLAG_FIRST\n", thislength));
112 while (remaining > 0)
115 remaining -= thislength;
#define out_uint8p(s, v, n)
STREAM sec_init(uint32 flags, int maxlen)
#define CHANNEL_CHUNK_LENGTH
#define out_uint32_le(s, v)
#define CHANNEL_FLAG_LAST
#define SCARD_LOCK_CHANNEL
#define CHANNEL_FLAG_FIRST
GLenum GLuint GLenum GLsizei length
#define s_pop_layer(s, h)
#define DEBUG_CHANNEL(args)
void scard_unlock(int lock)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
#define CHANNEL_FLAG_SHOW_PROTOCOL
void sec_send_to_channel(STREAM s, uint32 flags, uint16 channel)
void scard_lock(int lock)
#define CHANNEL_OPTION_SHOW_PROTOCOL
Referenced by cliprdr_send_packet(), lspci_send(), rdpdr_send_available(), rdpdr_send_clientcapabilty(), rdpdr_send_completion(), rdpdr_send_connect(), rdpdr_send_name(), rdpsnd_send(), and seamless_send().
◆ g_channels
◆ g_encryption
◆ g_num_channels
◆ g_rdp_version