Generated from Manticore v1.1.6 • 388 packages. View on pkg.go.dev

functions

import "github.com/TheManticoreProject/Manticore/network/dcerpc/interfaces/ccd8c074-d0e5-4a40-92b4-d074faa6ba28/1.1/functions"

Index

func WitnessrAsyncNotify

func WitnessrAsyncNotify(rpc ndr.Invoker, pContext msswn.PCONTEXT_HANDLE_SHARED) (PResp *msswn.RESP_ASYNC_NOTIFY, err error)

WitnessrAsyncNotify calls WitnessrAsyncNotify (opnum 3) ([MS-SWN] 3.1.4.4). It long-polls the server for pending notifications on a registration; the server blocks until a notification is available.

func WitnessrGetInterfaceList

func WitnessrGetInterfaceList(rpc ndr.Invoker) (InterfaceList *msswn.WITNESS_INTERFACE_LIST, err error)

WitnessrGetInterfaceList calls WitnessrGetInterfaceList (opnum 0) ([MS-SWN] 3.1.4.1). It returns the list of witness-capable interfaces the server exposes.

func WitnessrRegister

func WitnessrRegister(rpc ndr.Invoker, version ndr.DWORD, netName *ndr.WSTR, ipAddress *ndr.WSTR, clientComputerName *ndr.WSTR) (PpContext msswn.PPCONTEXT_HANDLE, err error)

WitnessrRegister calls WitnessrRegister (opnum 1) ([MS-SWN] 3.1.4.2). It registers the client for resource state-change notifications on a NetName/IpAddress (Witness protocol v1).

func WitnessrRegisterEx

func WitnessrRegisterEx(rpc ndr.Invoker, version ndr.DWORD, netName *ndr.WSTR, shareName *ndr.WSTR, ipAddress *ndr.WSTR, clientComputerName *ndr.WSTR, flags ndr.DWORD, keepAliveTimeout ndr.DWORD) (PpContext msswn.PPCONTEXT_HANDLE, err error)

WitnessrRegisterEx calls WitnessrRegisterEx (opnum 4) ([MS-SWN] 3.1.4.5). It registers the client for notifications on a specific share with optional flags and keep-alive (Witness protocol v2 only).

func WitnessrUnRegister

func WitnessrUnRegister(rpc ndr.Invoker, pContext msswn.PCONTEXT_HANDLE) (err error)

WitnessrUnRegister calls WitnessrUnRegister (opnum 2) ([MS-SWN] 3.1.4.3). It removes a registration created by WitnessrRegister.

func WitnessrUnRegisterEx

func WitnessrUnRegisterEx(rpc ndr.Invoker, ppContext msswn.PPCONTEXT_HANDLE) (PpContext msswn.PPCONTEXT_HANDLE, err error)

WitnessrUnRegisterEx calls WitnessrUnRegisterEx (opnum 5) ([MS-SWN] 3.1.4.6). It removes a registration created by WitnessrRegisterEx (Witness protocol v2 only).