libosmocore  0.9.3
Osmocom core library
osmo_fd Struct Reference

Structure representing a file dsecriptor. More...

#include <select.h>

Data Fields

struct llist_head list
int fd
unsigned int when
int(* cb )(struct osmo_fd *fd, unsigned int what)
void * data
unsigned int priv_nr

Detailed Description

Structure representing a file dsecriptor.


Field Documentation

int(* osmo_fd::cb)(struct osmo_fd *fd, unsigned int what)

call-back function to be called once file descriptor becomes available

Referenced by osmo_wqueue_init().

data pointer passed through to call-back function

actual operating-system level file decriptor

Referenced by gsmtap_inst_fd().

linked list for internal management

unsigned int osmo_fd::priv_nr

private number, extending data


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