OpenVPN
|
Go to the source code of this file.
Data Structures | |
struct | msica_arg |
Argument list. More... | |
struct | msica_arg_seq |
Argument sequence. More... | |
Functions | |
void | msica_arg_seq_init (_Inout_ struct msica_arg_seq *seq) |
Initializes argument sequence. More... | |
void | msica_arg_seq_free (_Inout_ struct msica_arg_seq *seq) |
Frees argument sequence. More... | |
void | msica_arg_seq_add_head (_Inout_ struct msica_arg_seq *seq, _In_z_ LPCTSTR argument) |
Inserts argument to the beginning of the argument sequence. More... | |
void | msica_arg_seq_add_tail (_Inout_ struct msica_arg_seq *seq, _Inout_ LPCTSTR argument) |
Appends argument to the end of the argument sequence. More... | |
LPTSTR | msica_arg_seq_join (_In_ const struct msica_arg_seq *seq) |
Join arguments of the argument sequence into a space delimited string. More... | |
void msica_arg_seq_add_head | ( | _Inout_ struct msica_arg_seq * | seq, |
_In_z_ LPCTSTR | argument | ||
) |
Inserts argument to the beginning of the argument sequence.
seq | Pointer to the argument sequence |
argument | Zero-terminated argument string to insert. |
Definition at line 55 of file msica_arg.c.
References M_FATAL, msg, msica_arg::next, and msica_arg::val.
Referenced by schedule_adapter_create(), and schedule_adapter_delete().
void msica_arg_seq_add_tail | ( | _Inout_ struct msica_arg_seq * | seq, |
_Inout_ LPCTSTR | argument | ||
) |
Appends argument to the end of the argument sequence.
seq | Pointer to the argument sequence |
argument | Zero-terminated argument string to append. |
Definition at line 76 of file msica_arg.c.
References M_FATAL, msg, msica_arg::next, and msica_arg::val.
Referenced by EvaluateTUNTAPAdapters(), schedule_adapter_create(), and schedule_adapter_delete().
void msica_arg_seq_free | ( | _Inout_ struct msica_arg_seq * | seq | ) |
Frees argument sequence.
seq | Pointer to the argument sequence |
Definition at line 42 of file msica_arg.c.
References msica_arg::next.
Referenced by EvaluateTUNTAPAdapters().
void msica_arg_seq_init | ( | _Inout_ struct msica_arg_seq * | seq | ) |
Initializes argument sequence.
seq | Pointer to uninitialized argument sequence |
Definition at line 34 of file msica_arg.c.
Referenced by EvaluateTUNTAPAdapters().
LPTSTR msica_arg_seq_join | ( | _In_ const struct msica_arg_seq * | seq | ) |
Join arguments of the argument sequence into a space delimited string.
seq | Pointer to the argument sequence |
Definition at line 94 of file msica_arg.c.
References M_FATAL, msg, and msica_arg::next.
Referenced by setup_sequence().