Groonga 3.0.9 Source Code Document
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros | Typedefs | Functions
ngx_event_connect.h File Reference
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_event.h>
Include dependency graph for ngx_event_connect.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ngx_peer_connection_s

Macros

#define NGX_PEER_KEEPALIVE   1
#define NGX_PEER_NEXT   2
#define NGX_PEER_FAILED   4

Typedefs

typedef struct
ngx_peer_connection_s 
ngx_peer_connection_t
typedef ngx_int_t(* ngx_event_get_peer_pt )(ngx_peer_connection_t *pc, void *data)
typedef void(* ngx_event_free_peer_pt )(ngx_peer_connection_t *pc, void *data, ngx_uint_t state)

Functions

ngx_int_t ngx_event_connect_peer (ngx_peer_connection_t *pc)
ngx_int_t ngx_event_get_peer (ngx_peer_connection_t *pc, void *data)

Macro Definition Documentation

#define NGX_PEER_FAILED   4

Definition at line 19 of file ngx_event_connect.h.

#define NGX_PEER_KEEPALIVE   1

Definition at line 17 of file ngx_event_connect.h.

#define NGX_PEER_NEXT   2

Definition at line 18 of file ngx_event_connect.h.

Typedef Documentation

typedef void(* ngx_event_free_peer_pt)(ngx_peer_connection_t *pc, void *data, ngx_uint_t state)

Definition at line 26 of file ngx_event_connect.h.

typedef ngx_int_t(* ngx_event_get_peer_pt)(ngx_peer_connection_t *pc, void *data)

Definition at line 24 of file ngx_event_connect.h.

Definition at line 22 of file ngx_event_connect.h.

Function Documentation

ngx_int_t ngx_event_connect_peer ( ngx_peer_connection_t pc)

Definition at line 15 of file ngx_event_connect.c.

Here is the call graph for this function:

Here is the caller graph for this function:

ngx_int_t ngx_event_get_peer ( ngx_peer_connection_t pc,
void *  data 
)

Definition at line 255 of file ngx_event_connect.c.

Here is the caller graph for this function: