nginx/src/event/ngx_event_connect.h


/*
 * Copyright (C) Igor Sysoev
 * Copyright (C) Nginx, Inc.
 */


#ifndef _NGX_EVENT_CONNECT_H_INCLUDED_
#define _NGX_EVENT_CONNECT_H_INCLUDED_


#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_event.h>


#define NGX_PEER_KEEPALIVE
#define NGX_PEER_NEXT
#define NGX_PEER_FAILED


ngx_peer_connection_t;

ngx_event_get_peer_pt;
ngx_event_free_peer_pt;
ngx_event_notify_peer_pt;
ngx_event_set_peer_session_pt;
ngx_event_save_peer_session_pt;


struct ngx_peer_connection_s {};


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);


#endif /* _NGX_EVENT_CONNECT_H_INCLUDED_ */