icatalogutils

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ICatalogUtils interface identifier 456129e2-1078-11d2-b0f9-00805fc73204
	CatalogUtilsIID = &dcom.IID{Data1: 0x456129e2, Data2: 0x1078, Data3: 0x11d2, Data4: []byte{0xb0, 0xf9, 0x00, 0x80, 0x5f, 0xc7, 0x32, 0x04}}
	// Syntax UUID
	CatalogUtilsSyntaxUUID = &uuid.UUID{TimeLow: 0x456129e2, TimeMid: 0x1078, TimeHiAndVersion: 0x11d2, ClockSeqHiAndReserved: 0xb0, ClockSeqLow: 0xf9, Node: [6]uint8{0x0, 0x80, 0x5f, 0xc7, 0x32, 0x4}}
	// Syntax ID
	CatalogUtilsSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: CatalogUtilsSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/coma"
)

Functions

func CatalogUtilsServerHandle

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

func NewCatalogUtilsServerHandle

func NewCatalogUtilsServerHandle(o CatalogUtilsServer) dcerpc.ServerHandle

func RegisterCatalogUtilsServer

func RegisterCatalogUtilsServer(conn dcerpc.Conn, o CatalogUtilsServer, opts ...dcerpc.Option)

Types

type CatalogUtilsClient

type CatalogUtilsClient interface {

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

	// This method is called by a client to verify that a user account and password are
	// valid.
	//
	// Return Values: This method MUST return a value in the table below on success, or
	// a failure result, as specified in [MS-ERREF] section 2.1, on failure. All failure
	// results MUST be treated identically.
	//
	//	+--------------------+-------------------------------------------------------------+
	//	|       RETURN       |                                                             |
	//	|     VALUE/CODE     |                         DESCRIPTION                         |
	//	|                    |                                                             |
	//	+--------------------+-------------------------------------------------------------+
	//	+--------------------+-------------------------------------------------------------+
	//	| 0x00000000 S_OK    | The user account and password are valid.                    |
	//	+--------------------+-------------------------------------------------------------+
	//	| 0x00000001 S_FALSE | The user account was not found or the password was invalid. |
	//	+--------------------+-------------------------------------------------------------+
	ValidateUser(context.Context, *ValidateUserRequest, ...dcerpc.CallOption) (*ValidateUserResponse, error)

	// This method is called by a COMA client to synchronize with the server after performing
	// a write operation.
	//
	// This method has no parameters.
	//
	// 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.
	//
	//	+-------------------+--------------------------+
	//	|      RETURN       |                          |
	//	|    VALUE/CODE     |       DESCRIPTION        |
	//	|                   |                          |
	//	+-------------------+--------------------------+
	//	+-------------------+--------------------------+
	//	| 0x00000000 S_OK   | The call was successful. |
	//	+-------------------+--------------------------+
	WaitForEndWrites(context.Context, *WaitForEndWritesRequest, ...dcerpc.CallOption) (*WaitForEndWritesResponse, error)

	// This method is called by a client to get information about the event classes associated
	// with an IID that are configured in the Global Partition.
	//
	// 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.
	//
	//	+-------------------+--------------------------+
	//	|      RETURN       |                          |
	//	|    VALUE/CODE     |       DESCRIPTION        |
	//	|                   |                          |
	//	+-------------------+--------------------------+
	//	+-------------------+--------------------------+
	//	| 0x00000000 S_OK   | The call was successful. |
	//	+-------------------+--------------------------+
	GetEventClassesForIID(context.Context, *GetEventClassesForIIDRequest, ...dcerpc.CallOption) (*GetEventClassesForIIDResponse, error)

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

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

ICatalogUtils interface.

func NewCatalogUtilsClient

func NewCatalogUtilsClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (CatalogUtilsClient, error)

type CatalogUtilsServer

type CatalogUtilsServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// This method is called by a client to verify that a user account and password are
	// valid.
	//
	// Return Values: This method MUST return a value in the table below on success, or
	// a failure result, as specified in [MS-ERREF] section 2.1, on failure. All failure
	// results MUST be treated identically.
	//
	//	+--------------------+-------------------------------------------------------------+
	//	|       RETURN       |                                                             |
	//	|     VALUE/CODE     |                         DESCRIPTION                         |
	//	|                    |                                                             |
	//	+--------------------+-------------------------------------------------------------+
	//	+--------------------+-------------------------------------------------------------+
	//	| 0x00000000 S_OK    | The user account and password are valid.                    |
	//	+--------------------+-------------------------------------------------------------+
	//	| 0x00000001 S_FALSE | The user account was not found or the password was invalid. |
	//	+--------------------+-------------------------------------------------------------+
	ValidateUser(context.Context, *ValidateUserRequest) (*ValidateUserResponse, error)

	// This method is called by a COMA client to synchronize with the server after performing
	// a write operation.
	//
	// This method has no parameters.
	//
	// 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.
	//
	//	+-------------------+--------------------------+
	//	|      RETURN       |                          |
	//	|    VALUE/CODE     |       DESCRIPTION        |
	//	|                   |                          |
	//	+-------------------+--------------------------+
	//	+-------------------+--------------------------+
	//	| 0x00000000 S_OK   | The call was successful. |
	//	+-------------------+--------------------------+
	WaitForEndWrites(context.Context, *WaitForEndWritesRequest) (*WaitForEndWritesResponse, error)

	// This method is called by a client to get information about the event classes associated
	// with an IID that are configured in the Global Partition.
	//
	// 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.
	//
	//	+-------------------+--------------------------+
	//	|      RETURN       |                          |
	//	|    VALUE/CODE     |       DESCRIPTION        |
	//	|                   |                          |
	//	+-------------------+--------------------------+
	//	+-------------------+--------------------------+
	//	| 0x00000000 S_OK   | The call was successful. |
	//	+-------------------+--------------------------+
	GetEventClassesForIID(context.Context, *GetEventClassesForIIDRequest) (*GetEventClassesForIIDResponse, error)
}

ICatalogUtils server interface.

type GetEventClassesForIIDRequest

type GetEventClassesForIIDRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// wszIID: The Curly Braced GUID String Syntax ([MS-DTYP] section 2.3.4.3) representation
	// of an IID for which event classes will be retrieved, or NULL for an empty (zero-length)
	// string to indicate all event classes.
	IID string `idl:"name:wszIID;string;pointer:unique" json:"iid"`
}

GetEventClassesForIIDRequest structure represents the GetEventClassesForIID operation request

func (*GetEventClassesForIIDRequest) MarshalNDR

func (*GetEventClassesForIIDRequest) UnmarshalNDR

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

type GetEventClassesForIIDResponse

type GetEventClassesForIIDResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pcClasses: A pointer to a value that, upon successful completion, MUST be set to
	// the number of event classes for which information was returned.
	ClassesCount uint32 `idl:"name:pcClasses" json:"classes_count"`
	// pawszCLSIDs: A pointer to a value that, upon successful completion, MUST be set to
	// an array of Curly Braced GUID String Syntax ([MS-DTYP] section 2.3.4.3) representations
	// of CLSIDs of event classes.
	ClassIDs []string `idl:"name:pawszCLSIDs;size_is:(, pcClasses);string" json:"class_ids"`
	// pawszProgIDs: A pointer to a value that, upon successful completion, MUST be set
	// to an array of ProgIDs of event classes, in the same order as pawszCLSIDs.
	ProgIDs []string `idl:"name:pawszProgIDs;size_is:(, pcClasses);string" json:"prog_ids"`
	// pawszDescriptions: A pointer to a value that, upon successful completion, MUST be
	// set to an array of descriptions of event classes, in the same order as pawszCLSIDs.
	Descriptions []string `idl:"name:pawszDescriptions;size_is:(, pcClasses);string" json:"descriptions"`
	// Return: The GetEventClassesForIID return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetEventClassesForIIDResponse structure represents the GetEventClassesForIID operation response

func (*GetEventClassesForIIDResponse) MarshalNDR

func (*GetEventClassesForIIDResponse) UnmarshalNDR

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

type ValidateUserRequest

type ValidateUserRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// pwszPrincipalName:  The principal name of the user account.
	PrincipalName string `idl:"name:pwszPrincipalName;string;pointer:unique" json:"principal_name"`
	// pwszPassword:  A password for the user account.
	Password string `idl:"name:pwszPassword;string;pointer:unique" json:"password"`
}

ValidateUserRequest structure represents the ValidateUser operation request

func (*ValidateUserRequest) MarshalNDR

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

func (*ValidateUserRequest) UnmarshalNDR

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

type ValidateUserResponse

type ValidateUserResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// Return: The ValidateUser return value.
	Return int32 `idl:"name:Return" json:"return"`
}

ValidateUserResponse structure represents the ValidateUser operation response

func (*ValidateUserResponse) MarshalNDR

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

func (*ValidateUserResponse) UnmarshalNDR

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

type WaitForEndWritesRequest

type WaitForEndWritesRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

WaitForEndWritesRequest structure represents the WaitForEndWrites operation request

func (*WaitForEndWritesRequest) MarshalNDR

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

func (*WaitForEndWritesRequest) UnmarshalNDR

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

type WaitForEndWritesResponse

type WaitForEndWritesResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// Return: The WaitForEndWrites return value.
	Return int32 `idl:"name:Return" json:"return"`
}

WaitForEndWritesResponse structure represents the WaitForEndWrites operation response

func (*WaitForEndWritesResponse) MarshalNDR

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

func (*WaitForEndWritesResponse) UnmarshalNDR

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