summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_event_file.h
blob: 06f1762f95e4f7eec0f4a59d7270abec01b36d01 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright (C) Igor Sysoev
 * Copyright (C) NGINX, Inc.
 */

#ifndef _NXT_EVENT_FILE_H_INCLUDED_
#define _NXT_EVENT_FILE_H_INCLUDED_


typedef struct {
    void                *data;
    nxt_file_t          *file;
    nxt_work_handler_t  handler;
    nxt_task_t          *task;
} nxt_event_file_t;


#endif /* _NXT_EVENT_FILE_H_INCLUDED_ */