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

functions

import "github.com/TheManticoreProject/Manticore/network/dcerpc/interfaces/22e5386d-8b12-4bf0-b0ec-6a1ea419e366/1.0/functions"

Index

func RpcNetEventCloseSession

func RpcNetEventCloseSession(rpc ndr.Invoker, sessionHandle mslrec.PSESSION_HANDLE) (mslrec.PSESSION_HANDLE, error)

RpcNetEventCloseSession calls RpcNetEventCloseSession (opnum 2) ([MS-LREC] 3.1.4.2.3), closing the event session referenced by sessionHandle. The method returns void; on success the server returns a zeroed context handle, which is returned to the caller.

func RpcNetEventOpenSession

func RpcNetEventOpenSession(rpc ndr.Invoker, loggerName ndr.WSTR) (SessionHandle mslrec.PSESSION_HANDLE, err error)

RpcNetEventOpenSession calls RpcNetEventOpenSession (opnum 0) ([MS-LREC] 3.1.4.2.1), opening a context handle to the running event session named loggerName (the Name of a previously started MSFT_NetEventSession). On success the server begins accumulating matching events and returns the session handle.

func RpcNetEventReceiveData

func RpcNetEventReceiveData(rpc ndr.Invoker, sessionHandle mslrec.PSESSION_HANDLE) (EventBuffer mslrec.EVENT_BUFFER, err error)

RpcNetEventReceiveData calls RpcNetEventReceiveData (opnum 1) ([MS-LREC] 3.1.4.2.2), draining buffered events for the session referenced by sessionHandle. The returned EVENT_BUFFER holds one or more NET_EVENT_DATA_HEADER structures with their payloads; the server determines the buffer size and may block until enough events accumulate.