Deleted
Added
nxt_event_engine.h (53:0b10a73d4993) | nxt_event_engine.h (62:5e1efcc7b740) |
---|---|
1 2/* 3 * Copyright (C) Igor Sysoev 4 * Copyright (C) NGINX, Inc. 5 */ 6 7#ifndef _NXT_EVENT_ENGINE_H_INCLUDED_ 8#define _NXT_EVENT_ENGINE_H_INCLUDED_ --- 109 unchanged lines hidden (view full) --- 118 void (*enable_accept)(nxt_event_engine_t *engine, 119 nxt_fd_event_t *ev); 120 121 /* 122 * Add a file to an event set and enable a file change notification 123 * events. 124 */ 125 void (*enable_file)(nxt_event_engine_t *engine, | 1 2/* 3 * Copyright (C) Igor Sysoev 4 * Copyright (C) NGINX, Inc. 5 */ 6 7#ifndef _NXT_EVENT_ENGINE_H_INCLUDED_ 8#define _NXT_EVENT_ENGINE_H_INCLUDED_ --- 109 unchanged lines hidden (view full) --- 118 void (*enable_accept)(nxt_event_engine_t *engine, 119 nxt_fd_event_t *ev); 120 121 /* 122 * Add a file to an event set and enable a file change notification 123 * events. 124 */ 125 void (*enable_file)(nxt_event_engine_t *engine, |
126 nxt_event_file_t *fev); | 126 nxt_file_event_t *ev); |
127 128 /* 129 * Delete a file from an event set before closing the file descriptor. 130 */ 131 void (*close_file)(nxt_event_engine_t *engine, | 127 128 /* 129 * Delete a file from an event set before closing the file descriptor. 130 */ 131 void (*close_file)(nxt_event_engine_t *engine, |
132 nxt_event_file_t *fev); | 132 nxt_file_event_t *ev); |
133 134 /* 135 * Enable post event notifications and set a post handler to handle 136 * the zero signal. 137 */ 138 nxt_int_t (*enable_post)(nxt_event_engine_t *engine, 139 nxt_work_handler_t handler); 140 --- 11 unchanged lines hidden (view full) --- 152 void (*signal)(nxt_event_engine_t *engine, 153 nxt_uint_t signo); 154 155 /* Poll an event set for new event notifications. */ 156 void (*poll)(nxt_event_engine_t *engine, 157 nxt_msec_t timeout); 158 159 /* I/O operations suitable to underlying event facility. */ | 133 134 /* 135 * Enable post event notifications and set a post handler to handle 136 * the zero signal. 137 */ 138 nxt_int_t (*enable_post)(nxt_event_engine_t *engine, 139 nxt_work_handler_t handler); 140 --- 11 unchanged lines hidden (view full) --- 152 void (*signal)(nxt_event_engine_t *engine, 153 nxt_uint_t signo); 154 155 /* Poll an event set for new event notifications. */ 156 void (*poll)(nxt_event_engine_t *engine, 157 nxt_msec_t timeout); 158 159 /* I/O operations suitable to underlying event facility. */ |
160 nxt_event_conn_io_t *io; | 160 nxt_conn_io_t *io; |
161 162 /* True if an event facility supports file change event notifications. */ 163 uint8_t file_support; /* 1 bit */ 164 165 /* True if an event facility supports signal event notifications. */ 166 uint8_t signal_support; /* 1 bit */ 167} nxt_event_interface_t; 168 --- 355 unchanged lines hidden --- | 161 162 /* True if an event facility supports file change event notifications. */ 163 uint8_t file_support; /* 1 bit */ 164 165 /* True if an event facility supports signal event notifications. */ 166 uint8_t signal_support; /* 1 bit */ 167} nxt_event_interface_t; 168 --- 355 unchanged lines hidden --- |