Documentation ¶
Index ¶
- Variables
- func CatalogTableWriteServerHandle(ctx context.Context, o CatalogTableWriteServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewCatalogTableWriteServerHandle(o CatalogTableWriteServer) dcerpc.ServerHandle
- func RegisterCatalogTableWriteServer(conn dcerpc.Conn, o CatalogTableWriteServer, opts ...dcerpc.Option)
- type CatalogTableWriteClient
- type CatalogTableWriteServer
- type WriteTableRequest
- type WriteTableResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ICatalogTableWrite interface identifier 0e3d6631-b46b-11d1-9d2d-006008b0e5ca CatalogTableWriteIID = &dcom.IID{Data1: 0x0e3d6631, Data2: 0xb46b, Data3: 0x11d1, Data4: []byte{0x9d, 0x2d, 0x00, 0x60, 0x08, 0xb0, 0xe5, 0xca}} // Syntax UUID CatalogTableWriteSyntaxUUID = &uuid.UUID{TimeLow: 0xe3d6631, TimeMid: 0xb46b, TimeHiAndVersion: 0x11d1, ClockSeqHiAndReserved: 0x9d, ClockSeqLow: 0x2d, Node: [6]uint8{0x0, 0x60, 0x8, 0xb0, 0xe5, 0xca}} // Syntax ID CatalogTableWriteSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: CatalogTableWriteSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/coma"
)
Functions ¶
func NewCatalogTableWriteServerHandle ¶
func NewCatalogTableWriteServerHandle(o CatalogTableWriteServer) dcerpc.ServerHandle
func RegisterCatalogTableWriteServer ¶
func RegisterCatalogTableWriteServer(conn dcerpc.Conn, o CatalogTableWriteServer, opts ...dcerpc.Option)
Types ¶
type CatalogTableWriteClient ¶
type CatalogTableWriteClient interface { // IUnknown retrieval method. Unknown() iunknown.UnknownClient // This method is called by a client to write entries to 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, with the exception of E_DETAILEDERRORS (0x80110802). WriteTable(context.Context, *WriteTableRequest, ...dcerpc.CallOption) (*WriteTableResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) CatalogTableWriteClient }
ICatalogTableWrite interface.
type CatalogTableWriteServer ¶
type CatalogTableWriteServer interface { // IUnknown base class. iunknown.UnknownServer // This method is called by a client to write entries to 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, with the exception of E_DETAILEDERRORS (0x80110802). WriteTable(context.Context, *WriteTableRequest) (*WriteTableResponse, error) }
ICatalogTableWrite server interface.
type WriteTableRequest ¶
type WriteTableRequest 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 {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) 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"` // pTableDataFixedWrite: A TableDataFixedWrite structure, marshaled as specified in // section 2.2.1.13. TableDataFixedWrite []byte `idl:"name:pTableDataFixedWrite;size_is:(cbTableDataFixedWrite)" json:"table_data_fixed_write"` // cbTableDataFixedWrite: The length in bytes of the TableDataFixedWrite structure // passed in pTableDataFixedWrite. TableDataFixedWriteLength uint32 `idl:"name:cbTableDataFixedWrite" json:"table_data_fixed_write_length"` // pTableDataVariable: A TableDataVariable structure, marshaled as specified in section // 2.2.1.15. TableDataVariable []byte `idl:"name:pTableDataVariable;size_is:(cbTableDataVariable)" json:"table_data_variable"` // cbTableDataVariable: The length in bytes of the TableDataVariable structure passed // in pTableDataVariable. TableDataVariableLength uint32 `idl:"name:cbTableDataVariable" json:"table_data_variable_length"` }
WriteTableRequest structure represents the WriteTable operation request
func (*WriteTableRequest) MarshalNDR ¶
func (*WriteTableRequest) UnmarshalNDR ¶
type WriteTableResponse ¶
type WriteTableResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // ppTableDetailedErrors: A pointer to a variable that, upon successful completion, // MUST be set to NULL, and that, upon partial failure, MAY<297> 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 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 WriteTable return value. Return int32 `idl:"name:Return" json:"return"` }
WriteTableResponse structure represents the WriteTable operation response
func (*WriteTableResponse) MarshalNDR ¶
func (*WriteTableResponse) UnmarshalNDR ¶
Click to show internal directories.
Click to hide internal directories.