mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-22 14:04:58 +02:00
Document takes_argument_t and its members.
This commit is contained in:
parent
4c25ea6703
commit
6cea2bd498
@ -2447,9 +2447,15 @@ options_act(const or_options_t *old_options)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Enumeration to describe the syntax for a command-line option.
|
||||||
|
**/
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
/** Describe an option that does not take an argument. */
|
||||||
ARGUMENT_NONE = 0,
|
ARGUMENT_NONE = 0,
|
||||||
|
/** Describes an option that takes a single argument. */
|
||||||
ARGUMENT_NECESSARY = 1,
|
ARGUMENT_NECESSARY = 1,
|
||||||
|
/** Describes an option that takes a single optinal argument. */
|
||||||
ARGUMENT_OPTIONAL = 2
|
ARGUMENT_OPTIONAL = 2
|
||||||
} takes_argument_t;
|
} takes_argument_t;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user