public static extern void cre2_opt_set_log_errors(cre2_options_t_ptr opt, int flag);
public static extern void cre2_opt_set_dot_nl(cre2_options_t_ptr opt, int flag);
public static extern int cre2_opt_log_errors(cre2_options_t_ptr opt);
public static extern void cre2_opt_set_longest_match(cre2_options_t_ptr opt, int flag);
public static extern void cre2_opt_set_one_line(cre2_options_t_ptr opt, int flag);
public static extern void cre2_opt_set_encoding(cre2_options_t_ptr opt, cre2_encoding_t enc);
public static extern int cre2_opt_word_boundary(cre2_options_t_ptr opt);
public static extern void cre2_opt_set_perl_classes(cre2_options_t_ptr opt, int flag);
public static extern int cre2_opt_case_sensitive(cre2_options_t_ptr opt);
public static extern int cre2_opt_perl_classes(cre2_options_t_ptr opt);
public static extern int cre2_opt_never_capture(cre2_options_t_ptr opt);
public static extern int cre2_opt_dot_nl(cre2_options_t_ptr opt);
public static extern int cre2_opt_literal(cre2_options_t_ptr opt);
public static extern void cre2_opt_set_never_capture(cre2_options_t_ptr opt, int flag);
public static extern int cre2_opt_one_line(cre2_options_t_ptr opt);
public static extern void cre2_opt_set_case_sensitive(cre2_options_t_ptr opt, int flag);
public static extern long cre2_opt_max_mem(cre2_options_t_ptr opt);
public static extern void cre2_opt_set_word_boundary(cre2_options_t_ptr opt, int flag);
public static extern cre2_encoding_t cre2_opt_encoding(cre2_options_t_ptr opt);
public static extern void cre2_opt_set_max_mem(cre2_options_t_ptr opt, [MarshalAs(UnmanagedType.I8)] long m);
public static extern void cre2_opt_set_posix_syntax(cre2_options_t_ptr opt, int flag);
public static extern int cre2_opt_posix_syntax(cre2_options_t_ptr opt);
public static extern int cre2_opt_longest_match(cre2_options_t_ptr opt);