24#define CHANNEL_CHUNK_LENGTH 1600
25#define CHANNEL_FLAG_FIRST 0x01
26#define CHANNEL_FLAG_LAST 0x02
27#define CHANNEL_FLAG_SHOW_PROTOCOL 0x10
55 error(
"Channel table full, increase MAX_CHANNELS\n");
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;
149 if (channel->
mcs_id == mcs_channel)
177 thislength =
MIN(
s->end -
s->p,
in->data +
in->size -
in->p);
char * strncpy(char *DstString, const char *SrcString, ACPI_SIZE Count)
VCHANNEL * channel_register(char *name, uint32 flags, void(*callback)(STREAM))
STREAM channel_init(VCHANNEL *channel, uint32 length)
#define CHANNEL_FLAG_LAST
RDP_VERSION g_rdp_version
#define CHANNEL_CHUNK_LENGTH
#define CHANNEL_FLAG_FIRST
#define CHANNEL_FLAG_SHOW_PROTOCOL
unsigned int g_num_channels
void channel_process(STREAM s, uint16 mcs_channel)
VCHANNEL g_channels[MAX_CHANNELS]
void channel_send(STREAM s, VCHANNEL *channel)
#define SCARD_LOCK_CHANNEL
#define CHANNEL_OPTION_SHOW_PROTOCOL
#define MCS_GLOBAL_CHANNEL
#define out_uint32_le(s, v)
#define s_pop_layer(s, h)
#define s_push_layer(s, h, n)
#define out_uint8p(s, v, n)
#define in_uint32_le(s, v)
void scard_lock(int lock)
void sec_send_to_channel(STREAM s, uint32 flags, uint16 channel)
void scard_unlock(int lock)
STREAM sec_init(uint32 flags, int maxlen)
void * xrealloc(void *oldmem, size_t size)
#define DEBUG_CHANNEL(args)
enum _RDP_VERSION RDP_VERSION
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLuint GLsizei GLsizei * length
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
#define memcpy(s1, s2, n)
static IPrintDialogCallback callback