nxt_var.h (1959:45b25ffb2e8c) nxt_var.h (2124:6e74a08303ad)
1
2/*
3 * Copyright (C) NGINX, Inc.
4 */
5
6#ifndef _NXT_VAR_H_INCLUDED_
7#define _NXT_VAR_H_INCLUDED_
8
9
10typedef struct nxt_var_s nxt_var_t;
11typedef struct nxt_var_query_s nxt_var_query_t;
12
13
14typedef nxt_int_t (*nxt_var_handler_t)(nxt_task_t *task,
1
2/*
3 * Copyright (C) NGINX, Inc.
4 */
5
6#ifndef _NXT_VAR_H_INCLUDED_
7#define _NXT_VAR_H_INCLUDED_
8
9
10typedef struct nxt_var_s nxt_var_t;
11typedef struct nxt_var_query_s nxt_var_query_t;
12
13
14typedef nxt_int_t (*nxt_var_handler_t)(nxt_task_t *task,
15 nxt_var_query_t *query,
16 nxt_str_t *str,
17 void *ctx);
18
19typedef struct {
20 nxt_str_t name;
21 nxt_var_handler_t handler;
22 uint32_t index;
23} nxt_var_decl_t;

--- 28 unchanged lines hidden ---
15 nxt_str_t *str,
16 void *ctx);
17
18typedef struct {
19 nxt_str_t name;
20 nxt_var_handler_t handler;
21 uint32_t index;
22} nxt_var_decl_t;

--- 28 unchanged lines hidden ---