openvpn

package
v1.26.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginStructVerMin c.Int = 5
	PluginVerMin       c.Int = 3
	PluginTypeMask           = 1<<c.OpenVPNPluginUp |
		1<<c.OpenVPNPluginAuthUserPassVerify |
		1<<c.OpenVPNPluginClientConnectV2 |
		1<<c.OpenVPNPluginClientDisconnect
)

Variables

This section is empty.

Functions

func PluginAbortV1

func PluginAbortV1(handlePtr c.OpenVPNPluginHandle)

func PluginClientDestructorV1

func PluginClientDestructorV1(handlePtr c.OpenVPNPluginHandle, perClientContext *ClientContext)

func PluginCloseV1

func PluginCloseV1(handlePtr c.OpenVPNPluginHandle)

func PluginOpenV3

func PluginOpenV3(v3structver c.Int, args *c.OpenVPNPluginArgsOpenIn, ret *c.OpenVPNPluginArgsOpenReturn) c.Int

Types

type ClientContext

type ClientContext struct {
	// contains filtered or unexported fields
}

func PluginClientConstructorV1

func PluginClientConstructorV1(handlePtr c.OpenVPNPluginHandle) *ClientContext

type PluginHandle

type PluginHandle struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL