summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_process.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_process.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nxt_process.h b/src/nxt_process.h
index c2a011ef..1a36d9df 100644
--- a/src/nxt_process.h
+++ b/src/nxt_process.h
@@ -23,6 +23,8 @@ typedef struct {
typedef struct nxt_process_init_s nxt_process_init_t;
typedef nxt_int_t (*nxt_process_start_t)(nxt_task_t *task, void *data);
+typedef nxt_int_t (*nxt_process_restart_t)(nxt_task_t *task, nxt_runtime_t *rt,
+ nxt_process_init_t *init);
struct nxt_process_init_s {
@@ -38,7 +40,7 @@ struct nxt_process_init_s {
void *data;
uint32_t stream;
- nxt_bool_t restart;
+ nxt_process_restart_t restart;
};