icatalogtableinfo

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ICatalogTableInfo interface identifier a8927a41-d3ce-11d1-8472-006008b0e5ca
	CatalogTableInfoIID = &dcom.IID{Data1: 0xa8927a41, Data2: 0xd3ce, Data3: 0x11d1, Data4: []byte{0x84, 0x72, 0x00, 0x60, 0x08, 0xb0, 0xe5, 0xca}}
	// Syntax UUID
	CatalogTableInfoSyntaxUUID = &uuid.UUID{TimeLow: 0xa8927a41, TimeMid: 0xd3ce, TimeHiAndVersion: 0x11d1, ClockSeqHiAndReserved: 0x84, ClockSeqLow: 0x72, Node: [6]uint8{0x0, 0x60, 0x8, 0xb0, 0xe5, 0xca}}
	// Syntax ID
	CatalogTableInfoSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: CatalogTableInfoSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/coma"
)

Functions

func CatalogTableInfoServerHandle

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

func NewCatalogTableInfoServerHandle

func NewCatalogTableInfoServerHandle(o CatalogTableInfoServer) dcerpc.ServerHandle

func RegisterCatalogTableInfoServer

func RegisterCatalogTableInfoServer(conn dcerpc.Conn, o CatalogTableInfoServer, opts ...dcerpc.Option)

Types

type CatalogTableInfoClient

type CatalogTableInfoClient interface {

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

	// This method is called by a client to retrieve the table metadata (section 3.1.1.2.1)
	// for a catalog table.
	//
	// 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.
	GetClientTableInfo(context.Context, *GetClientTableInfoRequest, ...dcerpc.CallOption) (*GetClientTableInfoResponse, error)

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

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

ICatalogTableInfo interface.

func NewCatalogTableInfoClient

func NewCatalogTableInfoClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (CatalogTableInfoClient, error)

type CatalogTableInfoServer

type CatalogTableInfoServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// This method is called by a client to retrieve the table metadata (section 3.1.1.2.1)
	// for a catalog table.
	//
	// 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.
	GetClientTableInfo(context.Context, *GetClientTableInfoRequest) (*GetClientTableInfoResponse, error)
}

ICatalogTableInfo server interface.

type GetClientTableInfoRequest

type GetClientTableInfoRequest 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 by the table identified
	// by pTableIdentifier.
	TableFlags uint32 `idl:"name:tableFlags" json:"table_flags"`
	// pQueryCellArray: A QueryCellArray (section 2.2.1.5) structure, marshaled in the negotiated
	// format, as specified in section 2.2.1.5, for a supported query (see section 3.1.1.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) 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"`
}

GetClientTableInfoRequest structure represents the GetClientTableInfo operation request

func (*GetClientTableInfoRequest) MarshalNDR

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

func (*GetClientTableInfoRequest) UnmarshalNDR

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

type GetClientTableInfoResponse

type GetClientTableInfoResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pRequiredFixedGuid:  A pointer to a variable that, upon successful completion, MUST
	// be set to {92AD68AB-17E0-11D1-B230-00C04FB9473F} and SHOULD<285> be ignored on receipt.
	RequiredFixedGUID *dtyp.GUID `idl:"name:pRequiredFixedGuid" json:"required_fixed_guid"`
	// ppAuxiliaryGuid: A pointer to a variable that, upon successful completion, MUST be
	// set to the AuxiliaryGuid value specified in the definition of the table identified
	// by pTableIdentifier, and NULL if the table definition specifies no such value. This
	// value SHOULD<286> be ignored on receipt.
	AuxiliaryGUID []*dtyp.GUID `idl:"name:ppAuxiliaryGuid;size_is:(, pcAuxiliaryGuid)" json:"auxiliary_guid"`
	// pcAuxiliaryGuid: A pointer to a variable that, upon successful completion, MUST be
	// the number of elements in ppAuxiliaryGuids (zero or one).
	AuxiliaryGUIDCount uint32 `idl:"name:pcAuxiliaryGuid" json:"auxiliary_guid_count"`
	// ppPropertyMeta: A pointer to a variable that, upon successful completion, MUST be
	// set to an array of PropertyMeta (section 2.2.1.7) structures representing the schema
	// (see section 3.1.1.1) for the table identified by pTableIdentifier in the negotiated
	// catalog version.
	PropertyMeta []*coma.PropertyMeta `idl:"name:ppPropertyMeta;size_is:(, pcProperties)" json:"property_meta"`
	// pcProperties: A pointer to a variable that, upon successful completion, MUST be set
	// to the length of the array returned in ppPropertyMeta.
	PropertiesCount uint32 `idl:"name:pcProperties" json:"properties_count"`
	// piid: A pointer to a variable that, upon successful completion, MUST be set to IID_ICatalogTableRead
	// (see section 1.9).
	IIDs *dcom.IID `idl:"name:piid" json:"iids"`
	// pItf: A pointer to a variable that, upon successful completion, MUST be set to the
	// ICatalogTableRead (section 3.1.4.8) interface of the server.
	Interface []byte `idl:"name:pItf" json:"interface"`
	// Return: The GetClientTableInfo return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetClientTableInfoResponse structure represents the GetClientTableInfo operation response

func (*GetClientTableInfoResponse) MarshalNDR

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

func (*GetClientTableInfoResponse) UnmarshalNDR

func (o *GetClientTableInfoResponse) 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