summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_router.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/nxt_router.h b/src/nxt_router.h
index 2a8a30e1..6e44f1d8 100644
--- a/src/nxt_router.h
+++ b/src/nxt_router.h
@@ -66,6 +66,11 @@ typedef struct {
} nxt_joint_job_t;
+
+typedef nxt_int_t (*nxt_app_prepare_msg_t)(nxt_task_t *task,
+ nxt_app_request_t *r, nxt_app_wmsg_t *wmsg);
+
+
struct nxt_app_s {
nxt_thread_mutex_t mutex; /* Protects ports queue. */
nxt_queue_t ports; /* of nxt_port_t.app_link */
@@ -83,7 +88,7 @@ struct nxt_app_s {
nxt_queue_link_t link;
nxt_str_t conf;
- nxt_app_module_t *module;
+ nxt_app_prepare_msg_t prepare_msg;
};