23#ifndef OPTIONS_STRING_H
24#define OPTIONS_STRING_H
Buffer management functions and garbage collection.
bool options_cmp_equal(char *actual, const char *expected)
bool options_cmp_equal_safe(char *actual, const char *expected, size_t actual_n)
void options_warning_safe(char *actual, const char *expected, size_t actual_n)
char * options_string_extract_option(const char *options_string, const char *opt_name, struct gc_arena *gc)
Given an OpenVPN options string, extract the value of an option.
void options_warning(char *actual, const char *expected)
const char * options_string_version(const char *s, struct gc_arena *gc)
char * options_string(const struct options *o, const struct frame *frame, struct tuntap *tt, openvpn_net_ctx_t *ctx, bool remote, struct gc_arena *gc)
Build an options string to represent data channel encryption options.
Packet geometry parameters.
Garbage collection arena used to keep track of dynamically allocated memory.