23 #define MAX_CHANNELS 6 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);
#define out_uint8p(s, v, n)
char * strncpy(char *DstString, const char *SrcString, ACPI_SIZE Count)
STREAM sec_init(uint32 flags, int maxlen)
#define CHANNEL_CHUNK_LENGTH
#define out_uint32_le(s, v)
void channel_process(STREAM s, uint16 mcs_channel)
#define CHANNEL_FLAG_LAST
#define SCARD_LOCK_CHANNEL
#define MCS_GLOBAL_CHANNEL
VCHANNEL * channel_register(char *name, uint32 flags, void(*callback)(STREAM))
void * xrealloc(void *oldmem, size_t size)
#define CHANNEL_FLAG_FIRST
GLenum GLuint GLenum GLsizei length
#define s_pop_layer(s, h)
#define DEBUG_CHANNEL(args)
RDP_VERSION g_rdp_version
void scard_unlock(int lock)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
#define CHANNEL_FLAG_SHOW_PROTOCOL
enum _RDP_VERSION RDP_VERSION
#define memcpy(s1, s2, n)
VCHANNEL g_channels[MAX_CHANNELS]
void sec_send_to_channel(STREAM s, uint32 flags, uint16 channel)
#define s_push_layer(s, h, n)
void scard_lock(int lock)
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
static IPrintDialogCallback callback
#define in_uint32_le(s, v)
void channel_send(STREAM s, VCHANNEL *channel)
STREAM channel_init(VCHANNEL *channel, uint32 length)
#define CHANNEL_OPTION_SHOW_PROTOCOL