struct tapi_iomux_handle

Overview

Handle for a multiplexer context. More…

#include <tapi_iomux.h>

struct tapi_iomux_handle {
    // fields

    rcf_rpc_server* rpcs;
    tapi_iomux_type type;
    const tapi_iomux_methods* methods;
    int fds_num;
    tapi_iomux_evts_list_h evts;
    tapi_iomux_evt_fd* revts;
    rpc_sigset_p sigmask;
    void* opaque;
    tapi_iomux_select_context select;
    tapi_iomux_poll_context poll;
    tapi_iomux_epoll_context epoll;
};

Detailed Documentation

Handle for a multiplexer context.

Fields

rcf_rpc_server* rpcs

RPC server handle.

tapi_iomux_type type

Multiplexor type.

const tapi_iomux_methods* methods

Multiplexor methods.

int fds_num

File descriptors number in the set.

tapi_iomux_evts_list_h evts

Events list.

tapi_iomux_evt_fd* revts

Pointer to the returned events array.

rpc_sigset_p sigmask

RPC pointer to a signal mask.

void* opaque

Opaque pointer for possible extensions.

tapi_iomux_select_context select

‘select’ API context.

tapi_iomux_poll_context poll

‘poll’ API context.

tapi_iomux_epoll_context epoll

‘epoll’ API context.