forked from Juniper/juise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrequest.h
53 lines (39 loc) · 1.14 KB
/
request.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
* $Id$
*
* Copyright (c) 2012, Juniper Networks, Inc.
* All rights reserved.
* This SOFTWARE is licensed under the LICENSE provided in the
* ../Copyright file. By downloading, installing, copying, or otherwise
* using the SOFTWARE, you agree to be bound by the terms of that
* LICENSE.
*/
mx_request_t *
mx_request_create (mx_sock_websocket_t *mswp, mx_buffer_t *mbp, int len,
mx_muxid_t muxid, const char *tag, const char **attr);
int
mx_request_start_rpc (mx_sock_websocket_t *mswp, mx_request_t *mrp);
mx_request_t *
mx_request_find (mx_muxid_t muxid);
void
mx_request_free (mx_request_t *mrp);
void
mx_request_print (mx_request_t *mrp, int indent, const char *prefix);
void
mx_request_init (void);
void
mx_request_release_session (mx_sock_session_t *session);
void
mx_request_release_client (mx_sock_t *client);
void
mx_request_restart_rpc (mx_request_t *mrp);
void
mx_request_set_state (mx_request_t *mrp, unsigned state);
void
mx_request_release (mx_request_t *mrp);
void
mx_request_print_all (int indent, const char *prefix);
void
mx_request_error (mx_request_t *mrp, const char *fmt, ...);
void
mx_request_check_health (void);