Zephyr API 3.6.99
Loading...
Searching...
No Matches
socket_ncs_pollcb Struct Reference

Option value for the SO_POLLCB socket option. More...

#include <socket_ncs.h>

Data Fields

socket_ncs_pollcb_t callback
 Callback function.
 
short events
 Event mask to subscribe to (for example, ZSOCK_POLLIN | ZSOCK_POLLOUT).
 
bool oneshot
 If set, the callback is automatically unset after first invocation.
 

Detailed Description

Option value for the SO_POLLCB socket option.

Field Documentation

◆ callback

socket_ncs_pollcb_t socket_ncs_pollcb::callback

Callback function.

◆ events

short socket_ncs_pollcb::events

Event mask to subscribe to (for example, ZSOCK_POLLIN | ZSOCK_POLLOUT).

◆ oneshot

bool socket_ncs_pollcb::oneshot

If set, the callback is automatically unset after first invocation.


The documentation for this struct was generated from the following file: