Documentation
¶
Index ¶
- Constants
- func PluginAbortV1(handlePtr c.OpenVPNPluginHandle)
- func PluginClientDestructorV1(handlePtr c.OpenVPNPluginHandle, perClientContext *ClientContext)
- func PluginCloseV1(handlePtr c.OpenVPNPluginHandle)
- func PluginFuncV3(v3structver c.Int, args *c.OpenVPNPluginArgsFuncIn, ...) c.OpenVPNPluginFuncStatus
- func PluginOpenV3(v3structver c.Int, args *c.OpenVPNPluginArgsOpenIn, ...) c.Int
- type ClientContext
- type PluginHandle
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 PluginFuncV3 ¶
func PluginFuncV3(v3structver c.Int, args *c.OpenVPNPluginArgsFuncIn, ret *c.OpenVPNPluginArgsFuncReturn) c.OpenVPNPluginFuncStatus
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
}
Click to show internal directories.
Click to hide internal directories.