]> git.proxmox.com Git - ceph.git/blob - ceph/src/civetweb/docs/api/mg_get_context.md
buildsys: switch source download to quincy
[ceph.git] / ceph / src / civetweb / docs / api / mg_get_context.md
1 # Civetweb API Reference
2
3 ### `mg_get_context( conn );`
4
5 ### Parameters
6
7 | Parameter | Type | Description |
8 | :--- | :--- | :--- |
9 |**`conn`**|`const struct mg_connection *`|The connection for which the context has to be returned|
10
11 ### Return Value
12
13 | Type | Description |
14 | :--- | :--- |
15 |`struct mg_context *`|A pointer to the context of the given connection|
16
17 ### Description
18
19 The function `mg_get_context()` returns the context associated with a connection.
20
21 ### See Also
22
23 * [`mg_start();`](mg_start.md)
24 * [`mg_stop();`](mg_stop.md)