FreeRDP
apc.h File Reference
#include <winpr/winpr.h>
#include <winpr/wtypes.h>
#include <pthread.h>
This graph shows which files directly or indirectly include this file:

Data Structures

struct  WINPR_APC_ITEM
 
struct  APC_QUEUE
 

Typedefs

typedef void(* apc_treatment) (LPVOID arg)
 

Enumerations

enum  ApcType { APC_TYPE_USER, APC_TYPE_TIMER, APC_TYPE_HANDLE_FREE }
 
enum  APC_REMOVE_RESULT { APC_REMOVE_OK, APC_REMOVE_ERROR, APC_REMOVE_DELAY_FREE }
 

Functions

BOOL apc_init (APC_QUEUE *apc)
 
BOOL apc_uninit (APC_QUEUE *apc)
 
void apc_register (WINPR_THREAD *thread, WINPR_APC_ITEM *addItem)
 
APC_REMOVE_RESULT apc_remove (WINPR_APC_ITEM *item)
 
BOOL apc_collectFds (WINPR_THREAD *thread, WINPR_POLL_SET *set, BOOL *haveAutoSignaled)
 
int apc_executeCompletions (WINPR_THREAD *thread, WINPR_POLL_SET *set, size_t startIndex)
 
void apc_cleanupThread (WINPR_THREAD *thread)
 

Typedef Documentation

◆ apc_treatment

typedef void(* apc_treatment) (LPVOID arg)

Enumeration Type Documentation

◆ APC_REMOVE_RESULT

Enumerator
APC_REMOVE_OK 
APC_REMOVE_ERROR 
APC_REMOVE_DELAY_FREE 

◆ ApcType

enum ApcType
Enumerator
APC_TYPE_USER 
APC_TYPE_TIMER 
APC_TYPE_HANDLE_FREE 

Function Documentation

◆ apc_cleanupThread()

void apc_cleanupThread ( WINPR_THREAD *  thread)
Here is the caller graph for this function:

◆ apc_collectFds()

BOOL apc_collectFds ( WINPR_THREAD *  thread,
WINPR_POLL_SET *  set,
BOOL *  haveAutoSignaled 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apc_executeCompletions()

int apc_executeCompletions ( WINPR_THREAD *  thread,
WINPR_POLL_SET *  set,
size_t  startIndex 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apc_init()

BOOL apc_init ( APC_QUEUE apc)
Here is the caller graph for this function:

◆ apc_register()

void apc_register ( WINPR_THREAD *  thread,
WINPR_APC_ITEM *  addItem 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apc_remove()

APC_REMOVE_RESULT apc_remove ( WINPR_APC_ITEM *  item)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apc_uninit()

BOOL apc_uninit ( APC_QUEUE apc)
Here is the caller graph for this function: