GNUnet debian-0.24.3-28-g4f2a77692
 
Loading...
Searching...
No Matches
GNUNET_SCHEDULER_FdInfo Struct Reference

Information about an event relating to a file descriptor/socket. More...

#include <gnunet_scheduler_lib.h>

Collaboration diagram for GNUNET_SCHEDULER_FdInfo:
[legend]

Data Fields

const struct GNUNET_NETWORK_Handlefd
 GNUnet network socket the event is about, matches sock, NULL if this is about a file handle or if no network handle was given to the scheduler originally.
 
const struct GNUNET_DISK_FileHandlefh
 GNUnet file handle the event is about, matches sock, NULL if this is about a network socket or if no network handle was given to the scheduler originally.
 
enum GNUNET_SCHEDULER_EventType et
 Type of the event that was generated related to sock.
 
int sock
 Underlying OS handle the event was about.
 

Detailed Description

Information about an event relating to a file descriptor/socket.

Definition at line 150 of file gnunet_scheduler_lib.h.

Field Documentation

◆ fd

const struct GNUNET_NETWORK_Handle* GNUNET_SCHEDULER_FdInfo::fd

GNUnet network socket the event is about, matches sock, NULL if this is about a file handle or if no network handle was given to the scheduler originally.

Definition at line 157 of file gnunet_scheduler_lib.h.

Referenced by destroy_task(), init_fd_info(), and select_add().

◆ fh

const struct GNUNET_DISK_FileHandle* GNUNET_SCHEDULER_FdInfo::fh

GNUnet file handle the event is about, matches sock, NULL if this is about a network socket or if no network handle was given to the scheduler originally.

Definition at line 164 of file gnunet_scheduler_lib.h.

Referenced by destroy_task(), init_fd_info(), and select_add().

◆ et

enum GNUNET_SCHEDULER_EventType GNUNET_SCHEDULER_FdInfo::et

Type of the event that was generated related to sock.

Definition at line 169 of file gnunet_scheduler_lib.h.

Referenced by driver_add_multiple(), GNUNET_SCHEDULER_do_work(), GNUNET_SCHEDULER_task_ready(), init_fd_info(), and select_add().

◆ sock

int GNUNET_SCHEDULER_FdInfo::sock

Underlying OS handle the event was about.

Definition at line 174 of file gnunet_scheduler_lib.h.

Referenced by GNUNET_SCHEDULER_do_work(), init_fd_info(), and select_add().


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