nxt_job_file.h (1:fdc027c56872) nxt_job_file.h (65:10688b89aa16)
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_

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

61 uint16_t close_before_open:1;
62 uint16_t test_before_open:1;
63 uint16_t read_ahead:1;
64 uint16_t close:1;
65 uint16_t complete:1;
66};
67
68
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_

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

61 uint16_t close_before_open:1;
62 uint16_t test_before_open:1;
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);
69NXT_EXPORT nxt_job_file_t *nxt_job_file_create(nxt_mp_t *mp);
70NXT_EXPORT void nxt_job_file_init(nxt_job_file_t *jbf);
71NXT_EXPORT void nxt_job_file_read(nxt_task_t *task, nxt_job_t *job);
72
73
74#endif /* _NXT_JOB_FILE_H_INCLUDED_ */
70NXT_EXPORT void nxt_job_file_init(nxt_job_file_t *jbf);
71NXT_EXPORT void nxt_job_file_read(nxt_task_t *task, nxt_job_t *job);
72
73
74#endif /* _NXT_JOB_FILE_H_INCLUDED_ */