icatalogtableread

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ICatalogTableRead interface identifier 0e3d6630-b46b-11d1-9d2d-006008b0e5ca
	CatalogTableReadIID = &dcom.IID{Data1: 0x0e3d6630, Data2: 0xb46b, Data3: 0x11d1, Data4: []byte{0x9d, 0x2d, 0x00, 0x60, 0x08, 0xb0, 0xe5, 0xca}}
	// Syntax UUID
	CatalogTableReadSyntaxUUID = &uuid.UUID{TimeLow: 0xe3d6630, TimeMid: 0xb46b, TimeHiAndVersion: 0x11d1, ClockSeqHiAndReserved: 0x9d, ClockSeqLow: 0x2d, Node: [6]uint8{0x0, 0x60, 0x8, 0xb0, 0xe5, 0xca}}
	// Syntax ID
	CatalogTableReadSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: CatalogTableReadSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/coma"
)

Functions

func CatalogTableReadServerHandle

func CatalogTableReadServerHandle(ctx context.Context, o CatalogTableReadServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)

func NewCatalogTableReadServerHandle

func NewCatalogTableReadServerHandle(o CatalogTableReadServer) dcerpc.ServerHandle

func RegisterCatalogTableReadServer

func RegisterCatalogTableReadServer(conn dcerpc.Conn, o CatalogTableReadServer, opts ...dcerpc.Option)

Types

type CatalogTableReadClient

type CatalogTableReadClient interface {

	// IUnknown retrieval method.
	Unknown() iunknown.UnknownClient

	// This method is called by a client to read entries from a catalog table according
	// to a query.
	//
	// Return Values: This method MUST return S_OK (0x00000000) on success, and a failure
	// result, as specified in [MS-ERREF] section 2.1, on failure. All failure results MUST
	// be treated identically, with the exception of E_DETAILEDERRORS (0x80110802).
	ReadTable(context.Context, *ReadTableRequest, ...dcerpc.CallOption) (*ReadTableResponse, error)

	// AlterContext alters the client context.
	AlterContext(context.Context, ...dcerpc.Option) error

	// IPID sets the object interface identifier.
	IPID(context.Context, *dcom.IPID) CatalogTableReadClient
}

ICatalogTableRead interface.

func NewCatalogTableReadClient

func NewCatalogTableReadClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (CatalogTableReadClient, error)

type CatalogTableReadServer

type CatalogTableReadServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// This method is called by a client to read entries from a catalog table according
	// to a query.
	//
	// Return Values: This method MUST return S_OK (0x00000000) on success, and a failure
	// result, as specified in [MS-ERREF] section 2.1, on failure. All failure results MUST
	// be treated identically, with the exception of E_DETAILEDERRORS (0x80110802).
	ReadTable(context.Context, *ReadTableRequest) (*ReadTableResponse, error)
}

ICatalogTableRead server interface.

type ReadTableRequest

type ReadTableRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// pCatalogIdentifier:  The catalog identifier of the COMA catalog. MUST be set to
	// {6E38D3C4-C2A7-11D1-8DEC-00C04FC2E0C7}.
	CatalogID *dtyp.GUID `idl:"name:pCatalogIdentifier" json:"catalog_id"`
	// pTableIdentifier:  The table identifier for one of the tables defined in section
	// 3.1.1.3 for the negotiated catalog version.
	TableID *dtyp.GUID `idl:"name:pTableIdentifier" json:"table_id"`
	// tableFlags:  An fTableFlags (section 2.2.1.1) value supported (see section 3.1.1.2.3)
	// by the table identified by pTableIdentifier.
	TableFlags uint32 `idl:"name:tableFlags" json:"table_flags"`
	// pQueryCellArray:  A QueryCellArray structure, marshaled in the negotiated format
	// as specified in section 2.2.1.5, for a supported query (see section 3.1.1.2.2) on
	// the table identified by pTableIdentifier.
	QueryCellArray []byte `idl:"name:pQueryCellArray;size_is:(cbQueryCellArray);pointer:unique" json:"query_cell_array"`
	// cbQueryCellArray:  The size in bytes of pQueryCellArray.
	QueryCellArrayLength uint32 `idl:"name:cbQueryCellArray" json:"query_cell_array_length"`
	// pQueryComparison:  A QueryComparisonData (section 2.2.1.6) structure for a supported
	// query (see section 3.1.1.2.2) on the table identified by pTableIdentifier.
	QueryComparison []byte `idl:"name:pQueryComparison;size_is:(cbQueryComparison);pointer:unique" json:"query_comparison"`
	// cbQueryComparison:  The size in bytes of pQueryComparison.
	QueryComparisonLength uint32 `idl:"name:cbQueryComparison" json:"query_comparison_length"`
	// eQueryFormat:  MUST be set to eQUERYFORMAT_1 (0x00000001).
	QueryFormat uint32 `idl:"name:eQueryFormat" json:"query_format"`
}

ReadTableRequest structure represents the ReadTable operation request

func (*ReadTableRequest) MarshalNDR

func (o *ReadTableRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ReadTableRequest) UnmarshalNDR

func (o *ReadTableRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type ReadTableResponse

type ReadTableResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// ppTableDataFixed:  A pointer to a variable that, upon successful completion, MUST
	// be set to a TableDataFixed structure, marshaled as specified in section 2.2.1.10.
	TableDataFixed []byte `idl:"name:ppTableDataFixed;size_is:(, pcbTableDataFixed)" json:"table_data_fixed"`
	// pcbTableDataFixed:  A pointer to a value that, upon successful completion, MUST
	// be set to the length in bytes of the TableDataFixed structure returned in ppTableDataFixed.
	TableDataFixedLength uint32 `idl:"name:pcbTableDataFixed" json:"table_data_fixed_length"`
	// ppTableDataVariable:  A pointer to a pointer variable that, upon successful completion,
	// MUST be set to a TableDataVariable structure, marshaled as specified in section 2.2.1.15.
	TableDataVariable []byte `idl:"name:ppTableDataVariable;size_is:(, pcbTableDataVariable)" json:"table_data_variable"`
	// pcbTableDataVariable: A pointer to a value that, upon successful completion, MUST
	// be the length in bytes of the TableDataVariable structure returned in ppTableDataVariable.
	TableDataVariableLength uint32 `idl:"name:pcbTableDataVariable" json:"table_data_variable_length"`
	// ppTableDetailedErrors: A pointer to a variable that, upon successful completion,
	// MUST be set to NULL, and that upon partial failure MAY<291> be set to a TableDetailedErrorArray
	// structure, marshaled as specified in section 2.2.1.17.
	TableDetailedErrors []byte `idl:"name:ppTableDetailedErrors;size_is:(, pcbTableDetailedErrors)" json:"table_detailed_errors"`
	// pcbTableDetailedErrors: A pointer to a pointer variable that, upon completion, MUST
	// be set to the length in bytes of the TableDetailedErrorArray structure returned in
	// ppTableDetailedErrors if such a structure was returned, and MUST be set to zero otherwise.
	TableDetailedErrorsLength uint32 `idl:"name:pcbTableDetailedErrors" json:"table_detailed_errors_length"`
	// Return: The ReadTable return value.
	Return int32 `idl:"name:Return" json:"return"`
}

ReadTableResponse structure represents the ReadTable operation response

func (*ReadTableResponse) MarshalNDR

func (o *ReadTableResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ReadTableResponse) UnmarshalNDR

func (o *ReadTableResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

Jump to

Keyboard shortcuts

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