OpenMPI  0.1.1
event_struct.h File Reference

Structures used by event.h. More...

#include <event2/event-config.h>
#include <event2/util.h>
#include <event2/keyvalq_struct.h>

Go to the source code of this file.

Data Structures

struct  event
 Structure to represent a single event. More...
 

Macros

#define EVLIST_TIMEOUT   0x01
 
#define EVLIST_INSERTED   0x02
 
#define EVLIST_SIGNAL   0x04
 
#define EVLIST_ACTIVE   0x08
 
#define EVLIST_INTERNAL   0x10
 
#define EVLIST_INIT   0x80
 
#define EVLIST_ALL   (0xf000 | 0x9f)
 
#define _EVENT_DEFINED_TQENTRY
 
#define TAILQ_ENTRY(type)
 
#define _EVENT_DEFINED_TQHEAD
 
#define TAILQ_HEAD(name, type)
 

Functions

 TAILQ_HEAD (event_list, event)
 

Detailed Description

Structures used by event.h.

Using these structures directly WILL harm forward compatibility: be careful.

No field declared in this file should be used directly in user code. Except for historical reasons, these fields would not be exposed at all.

Macro Definition Documentation

#define TAILQ_ENTRY (   type)
Value:
struct { \
struct type *tqe_next; /* next element */ \
struct type **tqe_prev; /* address of previous next element */ \
}
#define TAILQ_HEAD (   name,
  type 
)
Value:
struct name { \
struct type *tqh_first; \
struct type **tqh_last; \
}