|
FreeRDP
|
#include <errno.h>#include "pollset.h"#include <winpr/handle.h>#include <winpr/sysinfo.h>#include <winpr/assert.h>#include "../log.h"Macros | |
| #define | TAG WINPR_TAG("sync.pollset") |
Functions | |
| BOOL | pollset_init (WINPR_POLL_SET *set, size_t nhandles) |
| void | pollset_uninit (WINPR_POLL_SET *set) |
| void | pollset_reset (WINPR_POLL_SET *set) |
| BOOL | pollset_add (WINPR_POLL_SET *set, int fd, ULONG mode) |
| int | pollset_poll (WINPR_POLL_SET *set, DWORD dwMilliseconds) |
| BOOL | pollset_isSignaled (WINPR_POLL_SET *set, size_t idx) |
| BOOL | pollset_isReadSignaled (WINPR_POLL_SET *set, size_t idx) |
| BOOL | pollset_isWriteSignaled (WINPR_POLL_SET *set, size_t idx) |
| #define TAG WINPR_TAG("sync.pollset") |
| BOOL pollset_add | ( | WINPR_POLL_SET * | set, |
| int | fd, | ||
| ULONG | mode | ||
| ) |

| BOOL pollset_init | ( | WINPR_POLL_SET * | set, |
| size_t | nhandles | ||
| ) |

| BOOL pollset_isReadSignaled | ( | WINPR_POLL_SET * | set, |
| size_t | idx | ||
| ) |
| BOOL pollset_isSignaled | ( | WINPR_POLL_SET * | set, |
| size_t | idx | ||
| ) |

| BOOL pollset_isWriteSignaled | ( | WINPR_POLL_SET * | set, |
| size_t | idx | ||
| ) |
| int pollset_poll | ( | WINPR_POLL_SET * | set, |
| DWORD | dwMilliseconds | ||
| ) |


| void pollset_reset | ( | WINPR_POLL_SET * | set | ) |

| void pollset_uninit | ( | WINPR_POLL_SET * | set | ) |
