xref: /unit/src/python/nxt_python_asgi_str.h (revision 1624:e46b1b422545)
1 
2 /*
3  * Copyright (C) NGINX, Inc.
4  */
5 
6 #ifndef _NXT_PYTHON_ASGI_STR_H_INCLUDED_
7 #define _NXT_PYTHON_ASGI_STR_H_INCLUDED_
8 
9 
10 extern PyObject  *nxt_py_1_0_str;
11 extern PyObject  *nxt_py_1_1_str;
12 extern PyObject  *nxt_py_2_0_str;
13 extern PyObject  *nxt_py_2_1_str;
14 extern PyObject  *nxt_py_3_0_str;
15 extern PyObject  *nxt_py_add_done_callback_str;
16 extern PyObject  *nxt_py_asgi_str;
17 extern PyObject  *nxt_py_bad_state_str;
18 extern PyObject  *nxt_py_body_str;
19 extern PyObject  *nxt_py_bytes_str;
20 extern PyObject  *nxt_py_client_str;
21 extern PyObject  *nxt_py_code_str;
22 extern PyObject  *nxt_py_done_str;
23 extern PyObject  *nxt_py_exception_str;
24 extern PyObject  *nxt_py_failed_to_send_body_str;
25 extern PyObject  *nxt_py_headers_str;
26 extern PyObject  *nxt_py_http_str;
27 extern PyObject  *nxt_py_http_disconnect_str;
28 extern PyObject  *nxt_py_http_request_str;
29 extern PyObject  *nxt_py_http_version_str;
30 extern PyObject  *nxt_py_https_str;
31 extern PyObject  *nxt_py_lifespan_str;
32 extern PyObject  *nxt_py_lifespan_shutdown_str;
33 extern PyObject  *nxt_py_lifespan_startup_str;
34 extern PyObject  *nxt_py_method_str;
35 extern PyObject  *nxt_py_message_str;
36 extern PyObject  *nxt_py_message_too_big_str;
37 extern PyObject  *nxt_py_more_body_str;
38 extern PyObject  *nxt_py_path_str;
39 extern PyObject  *nxt_py_query_string_str;
40 extern PyObject  *nxt_py_result_str;
41 extern PyObject  *nxt_py_raw_path_str;
42 extern PyObject  *nxt_py_root_path_str;
43 extern PyObject  *nxt_py_scheme_str;
44 extern PyObject  *nxt_py_server_str;
45 extern PyObject  *nxt_py_set_exception_str;
46 extern PyObject  *nxt_py_set_result_str;
47 extern PyObject  *nxt_py_spec_version_str;
48 extern PyObject  *nxt_py_status_str;
49 extern PyObject  *nxt_py_subprotocol_str;
50 extern PyObject  *nxt_py_subprotocols_str;
51 extern PyObject  *nxt_py_text_str;
52 extern PyObject  *nxt_py_type_str;
53 extern PyObject  *nxt_py_version_str;
54 extern PyObject  *nxt_py_websocket_str;
55 extern PyObject  *nxt_py_websocket_accept_str;
56 extern PyObject  *nxt_py_websocket_close_str;
57 extern PyObject  *nxt_py_websocket_connect_str;
58 extern PyObject  *nxt_py_websocket_disconnect_str;
59 extern PyObject  *nxt_py_websocket_receive_str;
60 extern PyObject  *nxt_py_websocket_send_str;
61 extern PyObject  *nxt_py_ws_str;
62 extern PyObject  *nxt_py_wss_str;
63 
64 
65 nxt_int_t nxt_py_asgi_str_init(void);
66 void nxt_py_asgi_str_done(void);
67 
68 
69 #endif  /* _NXT_PYTHON_ASGI_STR_H_INCLUDED_ */
70