⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 init.h

📁 OpenVPN is a robust and highly flexible tunneling application that uses all of the encryption, authe
💻 H
字号:
/* *  OpenVPN -- An application to securely tunnel IP networks *             over a single TCP/UDP port, with support for SSL/TLS-based *             session authentication and key exchange, *             packet encryption, packet authentication, and *             packet compression. * *  Copyright (C) 2002-2004 James Yonan <jim@yonan.net> * *  This program is free software; you can redistribute it and/or modify *  it under the terms of the GNU General Public License as published by *  the Free Software Foundation; either version 2 of the License, or *  (at your option) any later version. * *  This program is distributed in the hope that it will be useful, *  but WITHOUT ANY WARRANTY; without even the implied warranty of *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the *  GNU General Public License for more details. * *  You should have received a copy of the GNU General Public License *  along with this program (see the file COPYING included with this *  distribution); if not, write to the Free Software Foundation, Inc., *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */#ifndef INIT_H#define INIT_H#include "openvpn.h"void context_clear (struct context *c);void context_clear_1 (struct context *c);void context_clear_2 (struct context *c);void context_init_1 (struct context *c);void context_clear_all_except_first_time (struct context *c);bool init_static (void);void uninit_static (void);#define IVM_LEVEL_1 (1<<0) #define IVM_LEVEL_2 (1<<1)void init_verb_mute (struct context *c, unsigned int flags);void init_options_dev (struct options *options);bool print_openssl_info (const struct options *options);bool do_genkey (const struct options *options);bool do_persist_tuntap (const struct options *options);void pre_setup (const struct options *options);void init_instance (struct context *c);void do_route (const struct options *options, struct route_list *route_list);void close_instance (struct context *c);bool do_test_crypto (const struct options *o);void context_gc_free (struct context *c);void do_up (struct context *c,	    bool pulled_options,	    unsigned int option_types_found);unsigned int pull_permission_mask (void);const char *format_common_name (struct context *c, struct gc_arena *gc);void reset_coarse_timers (struct context *c);void do_deferred_options (struct context *c, const unsigned int found);void inherit_context_child (struct context *dest,			    const struct context *src);void inherit_context_thread (struct context *dest,			     const struct context *src);void close_context (struct context *c, int sig);struct context_buffers *init_context_buffers (const struct frame *frame);void free_context_buffers (struct context_buffers *b);#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -