summaryrefslogtreecommitdiffstats
path: root/src/civetweb/docs/api/mg_get_valid_option_names.md
blob: c6b43ad7c531881024b51e630181da87120dfe68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Civetweb API Reference

### ~~`mg_get_valid_option_names();`~~

### Parameters

*none*

### Return Value

| Type | Description |
| :--- | :--- |
|`const char **`|An array with strings where the even elements represent the option names, and the odd element the option values The array is NULL terminated.|

### Description

The function `mg_get_valid_option_names()` is depricated. Use [`mg_get_valid_options()`](mg_get_valid_options.md) instead.

This function returns an array with option/value pairs describing the valid configuration options for Civetweb. En element value of NULL signals the end of the list.

### See Also

* [`struct mg_option;`](mg_option.md)
* [`mg_get_valid_options();`](mg_get_valid_options.md)