mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-13 14:43:46 +01:00
Further clarify our clarification about the type of POSINT
This commit is contained in:
parent
c60a85d22a
commit
f007437292
@ -73,10 +73,10 @@ typedef enum config_type_t {
|
|||||||
typedef union {
|
typedef union {
|
||||||
char **STRING;
|
char **STRING;
|
||||||
char **FILENAME;
|
char **FILENAME;
|
||||||
int *POSINT; /* yes, really: Even though the confparse type is called
|
int *POSINT; /* yes, this is really an int, and not an unsigned int. For
|
||||||
* "POSINT", it still uses the C int type -- it just enforces
|
* historical reasons, many configuration values are restricted
|
||||||
* that the values are in range [0,INT_MAX].
|
* to the range [0,INT_MAX], and stored in signed ints.
|
||||||
*/
|
*/
|
||||||
uint64_t *UINT64;
|
uint64_t *UINT64;
|
||||||
int *INT;
|
int *INT;
|
||||||
int *INTERVAL;
|
int *INTERVAL;
|
||||||
|
Loading…
Reference in New Issue
Block a user