|
OpenVPN
|
#include "msica_arg.h"#include "../tapctl/error.h"#include "../tapctl/tap.h"#include <windows.h>#include <malloc.h>
Go to the source code of this file.
Functions | |
| void | msica_arg_seq_init (_Inout_ struct msica_arg_seq *seq) |
| Initializes argument sequence. | |
| void | msica_arg_seq_free (_Inout_ struct msica_arg_seq *seq) |
| Frees argument sequence. | |
| void | msica_arg_seq_add_head (_Inout_ struct msica_arg_seq *seq, _In_z_ LPCWSTR argument) |
| Inserts argument to the beginning of the argument sequence. | |
| void | msica_arg_seq_add_tail (_Inout_ struct msica_arg_seq *seq, _Inout_ LPCWSTR argument) |
| Appends argument to the end of the argument sequence. | |
| LPWSTR | msica_arg_seq_join (_In_ const struct msica_arg_seq *seq) |
| Join arguments of the argument sequence into a space delimited string. | |
| void msica_arg_seq_add_head | ( | _Inout_ struct msica_arg_seq * | seq, |
| _In_z_ LPCWSTR | 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 54 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_ LPCWSTR | 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 74 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 41 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 33 of file msica_arg.c.
Referenced by EvaluateTUNTAPAdapters().
| LPWSTR 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 91 of file msica_arg.c.
Referenced by setup_sequence().