nxt_job_file.h (0:a63ceefd6ab0) nxt_job_file.h (1:fdc027c56872)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_JOB_FILE_H_INCLUDED_
8#define _NXT_JOB_FILE_H_INCLUDED_

--- 54 unchanged lines hidden (view full) ---

63 uint16_t read_ahead:1;
64 uint16_t close:1;
65 uint16_t complete:1;
66};
67
68
69NXT_EXPORT nxt_job_file_t *nxt_job_file_create(nxt_mem_pool_t *mp);
70NXT_EXPORT void nxt_job_file_init(nxt_job_file_t *jbf);
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_JOB_FILE_H_INCLUDED_
8#define _NXT_JOB_FILE_H_INCLUDED_

--- 54 unchanged lines hidden (view full) ---

63 uint16_t read_ahead:1;
64 uint16_t close:1;
65 uint16_t complete:1;
66};
67
68
69NXT_EXPORT nxt_job_file_t *nxt_job_file_create(nxt_mem_pool_t *mp);
70NXT_EXPORT void nxt_job_file_init(nxt_job_file_t *jbf);
71NXT_EXPORT void nxt_job_file_read(nxt_thread_t *thr, nxt_job_t *job);
71NXT_EXPORT void nxt_job_file_read(nxt_task_t *task, nxt_job_t *job);
72
73
74#endif /* _NXT_JOB_FILE_H_INCLUDED_ */
72
73
74#endif /* _NXT_JOB_FILE_H_INCLUDED_ */