FreeRDP
libwinpr/comm/comm.h File Reference
#include <winpr/comm.h>
#include "../handle/handle.h"
#include <winpr/config.h>
This graph shows which files directly or indirectly include this file:

Data Structures

struct  WINPR_COMM
 

Macros

#define SERIAL_EV_RXCHAR   0x0001
 
#define SERIAL_EV_RXFLAG   0x0002
 
#define SERIAL_EV_TXEMPTY   0x0004
 
#define SERIAL_EV_CTS   0x0008
 
#define SERIAL_EV_DSR   0x0010
 
#define SERIAL_EV_RLSD   0x0020
 
#define SERIAL_EV_BREAK   0x0040
 
#define SERIAL_EV_ERR   0x0080
 
#define SERIAL_EV_RING   0x0100
 
#define SERIAL_EV_PERR   0x0200
 
#define SERIAL_EV_RX80FULL   0x0400
 
#define SERIAL_EV_EVENT1   0x0800
 
#define SERIAL_EV_EVENT2   0x1000
 
#define SERIAL_EV_WINPR_WAITING   0x4000 /* bit today unused by other SERIAL_EV_* */
 
#define SERIAL_EV_WINPR_STOP   0x8000 /* bit today unused by other SERIAL_EV_* */
 
#define WINPR_PURGE_TXABORT   0x00000001 /* abort pending transmission */
 
#define WINPR_PURGE_RXABORT   0x00000002 /* abort pending reception */
 

Functions

void CommLog_Print (DWORD wlog_level,...)
 
BOOL CommIsHandled (HANDLE handle)
 
BOOL CommIsHandleValid (HANDLE handle)
 
BOOL CommCloseHandle (HANDLE handle)
 
HANDLE_CREATORGetCommHandleCreator (void)
 

Macro Definition Documentation

◆ SERIAL_EV_BREAK

#define SERIAL_EV_BREAK   0x0040

◆ SERIAL_EV_CTS

#define SERIAL_EV_CTS   0x0008

◆ SERIAL_EV_DSR

#define SERIAL_EV_DSR   0x0010

◆ SERIAL_EV_ERR

#define SERIAL_EV_ERR   0x0080

◆ SERIAL_EV_EVENT1

#define SERIAL_EV_EVENT1   0x0800

◆ SERIAL_EV_EVENT2

#define SERIAL_EV_EVENT2   0x1000

◆ SERIAL_EV_PERR

#define SERIAL_EV_PERR   0x0200

◆ SERIAL_EV_RING

#define SERIAL_EV_RING   0x0100

◆ SERIAL_EV_RLSD

#define SERIAL_EV_RLSD   0x0020

◆ SERIAL_EV_RX80FULL

#define SERIAL_EV_RX80FULL   0x0400

◆ SERIAL_EV_RXCHAR

#define SERIAL_EV_RXCHAR   0x0001

◆ SERIAL_EV_RXFLAG

#define SERIAL_EV_RXFLAG   0x0002

◆ SERIAL_EV_TXEMPTY

#define SERIAL_EV_TXEMPTY   0x0004

◆ SERIAL_EV_WINPR_STOP

#define SERIAL_EV_WINPR_STOP   0x8000 /* bit today unused by other SERIAL_EV_* */

◆ SERIAL_EV_WINPR_WAITING

#define SERIAL_EV_WINPR_WAITING   0x4000 /* bit today unused by other SERIAL_EV_* */

◆ WINPR_PURGE_RXABORT

#define WINPR_PURGE_RXABORT   0x00000002 /* abort pending reception */

◆ WINPR_PURGE_TXABORT

#define WINPR_PURGE_TXABORT   0x00000001 /* abort pending transmission */

Function Documentation

◆ CommCloseHandle()

BOOL CommCloseHandle ( HANDLE  handle)
Here is the call graph for this function:

◆ CommIsHandled()

BOOL CommIsHandled ( HANDLE  handle)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CommIsHandleValid()

BOOL CommIsHandleValid ( HANDLE  handle)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CommLog_Print()

void CommLog_Print ( DWORD  wlog_level,
  ... 
)
Here is the call graph for this function:

◆ GetCommHandleCreator()

HANDLE_CREATOR* GetCommHandleCreator ( void  )
Here is the call graph for this function:
Here is the caller graph for this function: