Documentation ¶
Index ¶
- Variables
- func NewRuleServerHandle(o RuleServer) dcerpc.ServerHandle
- func RegisterRuleServer(conn dcerpc.Conn, o RuleServer, opts ...dcerpc.Option)
- func RuleServerHandle(ctx context.Context, o RuleServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- type GetLastModifiedRequest
- type GetLastModifiedResponse
- type GetModuleDefinitionNameRequest
- type GetModuleDefinitionNameResponse
- type GetNameRequest
- type GetNameResponse
- type GetNamespaceRootsRequest
- type GetNamespaceRootsResponse
- type GetParametersRequest
- type GetParametersResponse
- type GetRuleFlagsRequest
- type GetRuleFlagsResponse
- type GetRuleTypeRequest
- type GetRuleTypeResponse
- type RuleClient
- type RuleServer
- type SetModuleDefinitionNameRequest
- type SetModuleDefinitionNameResponse
- type SetNameRequest
- type SetNameResponse
- type SetNamespaceRootsRequest
- type SetNamespaceRootsResponse
- type SetParametersRequest
- type SetParametersResponse
- type SetRuleFlagsRequest
- type SetRuleFlagsResponse
Constants ¶
This section is empty.
Variables ¶
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} )
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)
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 (*GetLastModifiedRequest) UnmarshalNDR ¶
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 (*GetLastModifiedResponse) UnmarshalNDR ¶
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 (*GetNameRequest) UnmarshalNDR ¶
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 (*GetNameResponse) UnmarshalNDR ¶
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 (*GetNamespaceRootsRequest) UnmarshalNDR ¶
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 (*GetNamespaceRootsResponse) UnmarshalNDR ¶
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 (*GetParametersRequest) UnmarshalNDR ¶
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 (*GetParametersResponse) UnmarshalNDR ¶
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 (*GetRuleFlagsRequest) UnmarshalNDR ¶
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 (*GetRuleFlagsResponse) UnmarshalNDR ¶
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 (*GetRuleTypeRequest) UnmarshalNDR ¶
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 (*GetRuleTypeResponse) UnmarshalNDR ¶
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 ¶
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 (*SetNameRequest) UnmarshalNDR ¶
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 (*SetNameResponse) UnmarshalNDR ¶
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 (*SetNamespaceRootsRequest) UnmarshalNDR ¶
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 (*SetNamespaceRootsResponse) UnmarshalNDR ¶
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 (*SetParametersRequest) UnmarshalNDR ¶
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 (*SetParametersResponse) UnmarshalNDR ¶
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 (*SetRuleFlagsRequest) UnmarshalNDR ¶
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