nxt_application.h (394:28ec49e1e6b0) nxt_application.h (417:47366bb40f2c)
1
2/*
3 * Copyright (C) Max Romanov
4 * Copyright (C) Valentin V. Bartenev
5 * Copyright (C) NGINX, Inc.
6 */
7
8#ifndef _NXT_APPLICATION_H_INCLUDED_

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

159/* TODO asynchronous mmap buffer assignment */
160NXT_EXPORT u_char *nxt_app_msg_write_get_buf(nxt_task_t *task,
161 nxt_app_wmsg_t *msg, size_t size);
162
163NXT_EXPORT nxt_int_t nxt_app_msg_write(nxt_task_t *task, nxt_app_wmsg_t *msg,
164 u_char *c, size_t size);
165
166NXT_EXPORT nxt_int_t nxt_app_msg_write_prefixed_upcase(nxt_task_t *task,
1
2/*
3 * Copyright (C) Max Romanov
4 * Copyright (C) Valentin V. Bartenev
5 * Copyright (C) NGINX, Inc.
6 */
7
8#ifndef _NXT_APPLICATION_H_INCLUDED_

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

159/* TODO asynchronous mmap buffer assignment */
160NXT_EXPORT u_char *nxt_app_msg_write_get_buf(nxt_task_t *task,
161 nxt_app_wmsg_t *msg, size_t size);
162
163NXT_EXPORT nxt_int_t nxt_app_msg_write(nxt_task_t *task, nxt_app_wmsg_t *msg,
164 u_char *c, size_t size);
165
166NXT_EXPORT nxt_int_t nxt_app_msg_write_prefixed_upcase(nxt_task_t *task,
167 nxt_app_wmsg_t *msg, const nxt_str_t *prefix, const nxt_str_t *v);
167 nxt_app_wmsg_t *msg, const nxt_str_t *prefix, u_char *c, size_t size);
168
169nxt_inline nxt_int_t
170nxt_app_msg_write_nvp_(nxt_task_t *task, nxt_app_wmsg_t *msg,
171 u_char *n, size_t nsize, u_char *v, size_t vsize);
172
173
174#define nxt_app_msg_write_const(task, msg, c) \
175 nxt_app_msg_write((task), (msg), (u_char *)(c), sizeof(c) - 1)

--- 131 unchanged lines hidden ---
168
169nxt_inline nxt_int_t
170nxt_app_msg_write_nvp_(nxt_task_t *task, nxt_app_wmsg_t *msg,
171 u_char *n, size_t nsize, u_char *v, size_t vsize);
172
173
174#define nxt_app_msg_write_const(task, msg, c) \
175 nxt_app_msg_write((task), (msg), (u_char *)(c), sizeof(c) - 1)

--- 131 unchanged lines hidden ---