ifsrmrule

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IFsrmRule interface identifier cb0df960-16f5-4495-9079-3f9360d831df
	RuleIID = &dcom.IID{Data1: 0xcb0df960, Data2: 0x16f5, Data3: 0x4495, Data4: []byte{0x90, 0x79, 0x3f, 0x93, 0x60, 0xd8, 0x31, 0xdf}}
	// Syntax UUID
	RuleSyntaxUUID = &uuid.UUID{TimeLow: 0xcb0df960, TimeMid: 0x16f5, TimeHiAndVersion: 0x4495, ClockSeqHiAndReserved: 0x90, ClockSeqLow: 0x79, Node: [6]uint8{0x3f, 0x93, 0x60, 0xd8, 0x31, 0xdf}}
	// Syntax ID
	RuleSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: RuleSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/fsrm"
)

Functions

func NewRuleServerHandle

func NewRuleServerHandle(o RuleServer) dcerpc.ServerHandle

func RegisterRuleServer

func RegisterRuleServer(conn dcerpc.Conn, o RuleServer, opts ...dcerpc.Option)

func RuleServerHandle

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

Types

type GetLastModifiedRequest

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

GetLastModifiedRequest structure represents the LastModified operation request

func (*GetLastModifiedRequest) MarshalNDR

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

func (*GetLastModifiedRequest) UnmarshalNDR

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

type GetLastModifiedResponse

type GetLastModifiedResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// lastModified: Pointer to a variable that upon completion contains the last modified
	// time when the rule was last modified.
	LastModified float64 `idl:"name:lastModified" json:"last_modified"`
	// Return: The LastModified return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetLastModifiedResponse structure represents the LastModified operation response

func (*GetLastModifiedResponse) MarshalNDR

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

func (*GetLastModifiedResponse) UnmarshalNDR

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

type GetModuleDefinitionNameRequest

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

GetModuleDefinitionNameRequest structure represents the ModuleDefinitionName operation request

func (*GetModuleDefinitionNameRequest) MarshalNDR

func (*GetModuleDefinitionNameRequest) UnmarshalNDR

type GetModuleDefinitionNameResponse

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

GetModuleDefinitionNameResponse structure represents the ModuleDefinitionName operation response

func (*GetModuleDefinitionNameResponse) MarshalNDR

func (*GetModuleDefinitionNameResponse) UnmarshalNDR

type GetNameRequest

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

GetNameRequest structure represents the Name operation request

func (*GetNameRequest) MarshalNDR

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

func (*GetNameRequest) UnmarshalNDR

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

type GetNameResponse

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

GetNameResponse structure represents the Name operation response

func (*GetNameResponse) MarshalNDR

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

func (*GetNameResponse) UnmarshalNDR

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

type GetNamespaceRootsRequest

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

GetNamespaceRootsRequest structure represents the NamespaceRoots operation request

func (*GetNamespaceRootsRequest) MarshalNDR

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

func (*GetNamespaceRootsRequest) UnmarshalNDR

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

type GetNamespaceRootsResponse

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

GetNamespaceRootsResponse structure represents the NamespaceRoots operation response

func (*GetNamespaceRootsResponse) MarshalNDR

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

func (*GetNamespaceRootsResponse) UnmarshalNDR

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

type GetParametersRequest

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

GetParametersRequest structure represents the Parameters operation request

func (*GetParametersRequest) MarshalNDR

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

func (*GetParametersRequest) UnmarshalNDR

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

type GetParametersResponse

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

GetParametersResponse structure represents the Parameters operation response

func (*GetParametersResponse) MarshalNDR

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

func (*GetParametersResponse) UnmarshalNDR

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

type GetRuleFlagsRequest

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

GetRuleFlagsRequest structure represents the RuleFlags operation request

func (*GetRuleFlagsRequest) MarshalNDR

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

func (*GetRuleFlagsRequest) UnmarshalNDR

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

type GetRuleFlagsResponse

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

GetRuleFlagsResponse structure represents the RuleFlags operation response

func (*GetRuleFlagsResponse) MarshalNDR

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

func (*GetRuleFlagsResponse) UnmarshalNDR

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

type GetRuleTypeRequest

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

GetRuleTypeRequest structure represents the RuleType operation request

func (*GetRuleTypeRequest) MarshalNDR

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

func (*GetRuleTypeRequest) UnmarshalNDR

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

type GetRuleTypeResponse

type GetRuleTypeResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// ruleType: Pointer to a variable that upon completion contains the rule type of the
	// rule.
	RuleType fsrm.RuleType `idl:"name:ruleType" json:"rule_type"`
	// Return: The RuleType return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetRuleTypeResponse structure represents the RuleType operation response

func (*GetRuleTypeResponse) MarshalNDR

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

func (*GetRuleTypeResponse) UnmarshalNDR

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

type RuleClient

type RuleClient interface {

	// IFsrmObject retrieval method.
	Object() ifsrmobject.ObjectClient

	// Name operation.
	GetName(context.Context, *GetNameRequest, ...dcerpc.CallOption) (*GetNameResponse, error)

	// Name operation.
	SetName(context.Context, *SetNameRequest, ...dcerpc.CallOption) (*SetNameResponse, error)

	// The RuleType (get) method retrieves the rule type of the rule as defined in the FsrmRuleType
	// (section 2.2.1.2.11) enumeration and returns S_OK upon successful completion.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+-----------------------------+
	//	|         RETURN          |                             |
	//	|       VALUE/CODE        |         DESCRIPTION         |
	//	|                         |                             |
	//	+-------------------------+-----------------------------+
	//	+-------------------------+-----------------------------+
	//	| 0x80070057 E_INVALIDARG | The type parameter is NULL. |
	//	+-------------------------+-----------------------------+
	GetRuleType(context.Context, *GetRuleTypeRequest, ...dcerpc.CallOption) (*GetRuleTypeResponse, error)

	// ModuleDefinitionName operation.
	GetModuleDefinitionName(context.Context, *GetModuleDefinitionNameRequest, ...dcerpc.CallOption) (*GetModuleDefinitionNameResponse, error)

	// ModuleDefinitionName operation.
	SetModuleDefinitionName(context.Context, *SetModuleDefinitionNameRequest, ...dcerpc.CallOption) (*SetModuleDefinitionNameResponse, error)

	// NamespaceRoots operation.
	GetNamespaceRoots(context.Context, *GetNamespaceRootsRequest, ...dcerpc.CallOption) (*GetNamespaceRootsResponse, error)

	// NamespaceRoots operation.
	SetNamespaceRoots(context.Context, *SetNamespaceRootsRequest, ...dcerpc.CallOption) (*SetNamespaceRootsResponse, error)

	// RuleFlags operation.
	GetRuleFlags(context.Context, *GetRuleFlagsRequest, ...dcerpc.CallOption) (*GetRuleFlagsResponse, error)

	// RuleFlags operation.
	SetRuleFlags(context.Context, *SetRuleFlagsRequest, ...dcerpc.CallOption) (*SetRuleFlagsResponse, error)

	// Parameters operation.
	GetParameters(context.Context, *GetParametersRequest, ...dcerpc.CallOption) (*GetParametersResponse, error)

	// Parameters operation.
	SetParameters(context.Context, *SetParametersRequest, ...dcerpc.CallOption) (*SetParametersResponse, error)

	// The LastModified (get) method retrieves the last modified time corresponding to the
	// time the rule was last modified and returns S_OK upon successful completion.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+-------------------------------------+
	//	|         RETURN          |                                     |
	//	|       VALUE/CODE        |             DESCRIPTION             |
	//	|                         |                                     |
	//	+-------------------------+-------------------------------------+
	//	+-------------------------+-------------------------------------+
	//	| 0x80070057 E_INVALIDARG | The lastModified parameter is NULL. |
	//	+-------------------------+-------------------------------------+
	GetLastModified(context.Context, *GetLastModifiedRequest, ...dcerpc.CallOption) (*GetLastModifiedResponse, error)

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

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

IFsrmRule interface.

func NewRuleClient

func NewRuleClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (RuleClient, error)

type RuleServer

type RuleServer interface {

	// IFsrmObject base class.
	ifsrmobject.ObjectServer

	// Name operation.
	GetName(context.Context, *GetNameRequest) (*GetNameResponse, error)

	// Name operation.
	SetName(context.Context, *SetNameRequest) (*SetNameResponse, error)

	// The RuleType (get) method retrieves the rule type of the rule as defined in the FsrmRuleType
	// (section 2.2.1.2.11) enumeration and returns S_OK upon successful completion.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+-----------------------------+
	//	|         RETURN          |                             |
	//	|       VALUE/CODE        |         DESCRIPTION         |
	//	|                         |                             |
	//	+-------------------------+-----------------------------+
	//	+-------------------------+-----------------------------+
	//	| 0x80070057 E_INVALIDARG | The type parameter is NULL. |
	//	+-------------------------+-----------------------------+
	GetRuleType(context.Context, *GetRuleTypeRequest) (*GetRuleTypeResponse, error)

	// ModuleDefinitionName operation.
	GetModuleDefinitionName(context.Context, *GetModuleDefinitionNameRequest) (*GetModuleDefinitionNameResponse, error)

	// ModuleDefinitionName operation.
	SetModuleDefinitionName(context.Context, *SetModuleDefinitionNameRequest) (*SetModuleDefinitionNameResponse, error)

	// NamespaceRoots operation.
	GetNamespaceRoots(context.Context, *GetNamespaceRootsRequest) (*GetNamespaceRootsResponse, error)

	// NamespaceRoots operation.
	SetNamespaceRoots(context.Context, *SetNamespaceRootsRequest) (*SetNamespaceRootsResponse, error)

	// RuleFlags operation.
	GetRuleFlags(context.Context, *GetRuleFlagsRequest) (*GetRuleFlagsResponse, error)

	// RuleFlags operation.
	SetRuleFlags(context.Context, *SetRuleFlagsRequest) (*SetRuleFlagsResponse, error)

	// Parameters operation.
	GetParameters(context.Context, *GetParametersRequest) (*GetParametersResponse, error)

	// Parameters operation.
	SetParameters(context.Context, *SetParametersRequest) (*SetParametersResponse, error)

	// The LastModified (get) method retrieves the last modified time corresponding to the
	// time the rule was last modified and returns S_OK upon successful completion.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+-------------------------------------+
	//	|         RETURN          |                                     |
	//	|       VALUE/CODE        |             DESCRIPTION             |
	//	|                         |                                     |
	//	+-------------------------+-------------------------------------+
	//	+-------------------------+-------------------------------------+
	//	| 0x80070057 E_INVALIDARG | The lastModified parameter is NULL. |
	//	+-------------------------+-------------------------------------+
	GetLastModified(context.Context, *GetLastModifiedRequest) (*GetLastModifiedResponse, error)
}

IFsrmRule server interface.

type SetModuleDefinitionNameRequest

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

SetModuleDefinitionNameRequest structure represents the ModuleDefinitionName operation request

func (*SetModuleDefinitionNameRequest) MarshalNDR

func (*SetModuleDefinitionNameRequest) UnmarshalNDR

type SetModuleDefinitionNameResponse

type SetModuleDefinitionNameResponse 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 ModuleDefinitionName return value.
	Return int32 `idl:"name:Return" json:"return"`
}

SetModuleDefinitionNameResponse structure represents the ModuleDefinitionName operation response

func (*SetModuleDefinitionNameResponse) MarshalNDR

func (*SetModuleDefinitionNameResponse) UnmarshalNDR

type SetNameRequest

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

SetNameRequest structure represents the Name operation request

func (*SetNameRequest) MarshalNDR

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

func (*SetNameRequest) UnmarshalNDR

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

type SetNameResponse

type SetNameResponse 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 Name return value.
	Return int32 `idl:"name:Return" json:"return"`
}

SetNameResponse structure represents the Name operation response

func (*SetNameResponse) MarshalNDR

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

func (*SetNameResponse) UnmarshalNDR

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

type SetNamespaceRootsRequest

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

SetNamespaceRootsRequest structure represents the NamespaceRoots operation request

func (*SetNamespaceRootsRequest) MarshalNDR

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

func (*SetNamespaceRootsRequest) UnmarshalNDR

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

type SetNamespaceRootsResponse

type SetNamespaceRootsResponse 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 NamespaceRoots return value.
	Return int32 `idl:"name:Return" json:"return"`
}

SetNamespaceRootsResponse structure represents the NamespaceRoots operation response

func (*SetNamespaceRootsResponse) MarshalNDR

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

func (*SetNamespaceRootsResponse) UnmarshalNDR

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

type SetParametersRequest

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

SetParametersRequest structure represents the Parameters operation request

func (*SetParametersRequest) MarshalNDR

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

func (*SetParametersRequest) UnmarshalNDR

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

type SetParametersResponse

type SetParametersResponse 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 Parameters return value.
	Return int32 `idl:"name:Return" json:"return"`
}

SetParametersResponse structure represents the Parameters operation response

func (*SetParametersResponse) MarshalNDR

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

func (*SetParametersResponse) UnmarshalNDR

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

type SetRuleFlagsRequest

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

SetRuleFlagsRequest structure represents the RuleFlags operation request

func (*SetRuleFlagsRequest) MarshalNDR

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

func (*SetRuleFlagsRequest) UnmarshalNDR

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

type SetRuleFlagsResponse

type SetRuleFlagsResponse 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 RuleFlags return value.
	Return int32 `idl:"name:Return" json:"return"`
}

SetRuleFlagsResponse structure represents the RuleFlags operation response

func (*SetRuleFlagsResponse) MarshalNDR

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

func (*SetRuleFlagsResponse) UnmarshalNDR

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