Documentation ¶
Index ¶
- Variables
- func NewReportServerHandle(o ReportServer) dcerpc.ServerHandle
- func RegisterReportServer(conn dcerpc.Conn, o ReportServer, opts ...dcerpc.Option)
- func ReportServerHandle(ctx context.Context, o ReportServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- type DeleteRequest
- type DeleteResponse
- type GetDescriptionRequest
- type GetDescriptionResponse
- type GetFilterRequest
- type GetFilterResponse
- type GetLastGeneratedFileNamePrefixRequest
- type GetLastGeneratedFileNamePrefixResponse
- type GetNameRequest
- type GetNameResponse
- type GetTypeRequest
- type GetTypeResponse
- type ReportClient
- type ReportServer
- type SetDescriptionRequest
- type SetDescriptionResponse
- type SetFilterRequest
- type SetFilterResponse
- type SetNameRequest
- type SetNameResponse
Constants ¶
This section is empty.
Variables ¶
var ( // IFsrmReport interface identifier d8cc81d9-46b8-4fa4-bfa5-4aa9dec9b638 ReportIID = &dcom.IID{Data1: 0xd8cc81d9, Data2: 0x46b8, Data3: 0x4fa4, Data4: []byte{0xbf, 0xa5, 0x4a, 0xa9, 0xde, 0xc9, 0xb6, 0x38}} // Syntax UUID ReportSyntaxUUID = &uuid.UUID{TimeLow: 0xd8cc81d9, TimeMid: 0x46b8, TimeHiAndVersion: 0x4fa4, ClockSeqHiAndReserved: 0xbf, ClockSeqLow: 0xa5, Node: [6]uint8{0x4a, 0xa9, 0xde, 0xc9, 0xb6, 0x38}} // Syntax ID ReportSyntaxV1_0 = &dcerpc.SyntaxID{IfUUID: ReportSyntaxUUID, IfVersionMajor: 1, IfVersionMinor: 0} )
var (
// import guard
GoPackage = "dcom/fsrm"
)
Functions ¶
func NewReportServerHandle ¶
func NewReportServerHandle(o ReportServer) dcerpc.ServerHandle
func RegisterReportServer ¶
func RegisterReportServer(conn dcerpc.Conn, o ReportServer, opts ...dcerpc.Option)
Types ¶
type DeleteRequest ¶
type DeleteRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
DeleteRequest structure represents the Delete operation request
func (*DeleteRequest) MarshalNDR ¶
func (*DeleteRequest) UnmarshalNDR ¶
type DeleteResponse ¶
type DeleteResponse 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 Delete return value. Return int32 `idl:"name:Return" json:"return"` }
DeleteResponse structure represents the Delete operation response
func (*DeleteResponse) MarshalNDR ¶
func (*DeleteResponse) UnmarshalNDR ¶
type GetDescriptionRequest ¶
type GetDescriptionRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetDescriptionRequest structure represents the Description operation request
func (*GetDescriptionRequest) MarshalNDR ¶
func (*GetDescriptionRequest) UnmarshalNDR ¶
type GetDescriptionResponse ¶
type GetDescriptionResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` Description *oaut.String `idl:"name:description" json:"description"` // Return: The Description return value. Return int32 `idl:"name:Return" json:"return"` }
GetDescriptionResponse structure represents the Description operation response
func (*GetDescriptionResponse) MarshalNDR ¶
func (*GetDescriptionResponse) UnmarshalNDR ¶
type GetFilterRequest ¶
type GetFilterRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // filter: Contains the value from the FsrmReportFilter (section 2.2.1.2.16) enumeration // of the filter to get. Filter fsrm.ReportFilter `idl:"name:filter" json:"filter"` }
GetFilterRequest structure represents the GetFilter operation request
func (*GetFilterRequest) MarshalNDR ¶
func (*GetFilterRequest) UnmarshalNDR ¶
type GetFilterResponse ¶
type GetFilterResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // filterValue: Pointer to a variable that upon completion contains the value of the // specified filter for the specified report type. FilterValue *oaut.Variant `idl:"name:filterValue" json:"filter_value"` // Return: The GetFilter return value. Return int32 `idl:"name:Return" json:"return"` }
GetFilterResponse structure represents the GetFilter operation response
func (*GetFilterResponse) MarshalNDR ¶
func (*GetFilterResponse) UnmarshalNDR ¶
type GetLastGeneratedFileNamePrefixRequest ¶
type GetLastGeneratedFileNamePrefixRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetLastGeneratedFileNamePrefixRequest structure represents the LastGeneratedFileNamePrefix operation request
func (*GetLastGeneratedFileNamePrefixRequest) MarshalNDR ¶
func (*GetLastGeneratedFileNamePrefixRequest) UnmarshalNDR ¶
type GetLastGeneratedFileNamePrefixResponse ¶
type GetLastGeneratedFileNamePrefixResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // prefix: Pointer to a variable that upon completion contains the last generated file // name prefix of the report. Prefix *oaut.String `idl:"name:prefix" json:"prefix"` // Return: The LastGeneratedFileNamePrefix return value. Return int32 `idl:"name:Return" json:"return"` }
GetLastGeneratedFileNamePrefixResponse structure represents the LastGeneratedFileNamePrefix operation response
func (*GetLastGeneratedFileNamePrefixResponse) MarshalNDR ¶
func (*GetLastGeneratedFileNamePrefixResponse) 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 GetTypeRequest ¶
type GetTypeRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetTypeRequest structure represents the Type operation request
func (*GetTypeRequest) MarshalNDR ¶
func (*GetTypeRequest) UnmarshalNDR ¶
type GetTypeResponse ¶
type GetTypeResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` ReportType fsrm.ReportType `idl:"name:reportType" json:"report_type"` // Return: The Type return value. Return int32 `idl:"name:Return" json:"return"` }
GetTypeResponse structure represents the Type operation response
func (*GetTypeResponse) MarshalNDR ¶
func (*GetTypeResponse) UnmarshalNDR ¶
type ReportClient ¶
type ReportClient interface { // IDispatch retrieval method. Dispatch() idispatch.DispatchClient // Type operation. GetType(context.Context, *GetTypeRequest, ...dcerpc.CallOption) (*GetTypeResponse, error) // Name operation. GetName(context.Context, *GetNameRequest, ...dcerpc.CallOption) (*GetNameResponse, error) // Name operation. SetName(context.Context, *SetNameRequest, ...dcerpc.CallOption) (*SetNameResponse, error) // Description operation. GetDescription(context.Context, *GetDescriptionRequest, ...dcerpc.CallOption) (*GetDescriptionResponse, error) // Description operation. SetDescription(context.Context, *SetDescriptionRequest, ...dcerpc.CallOption) (*SetDescriptionResponse, error) // The LastGeneratedFileNamePrefix (get) method retrieves the last generated file name // prefix of the report for the most recently generated report 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 prefix parameter is NULL. | // +-------------------------+-------------------------------+ GetLastGeneratedFileNamePrefix(context.Context, *GetLastGeneratedFileNamePrefixRequest, ...dcerpc.CallOption) (*GetLastGeneratedFileNamePrefixResponse, error) // The GetFilter method returns the current value of the specified report filter for // the report object. // // Return Values: The method MUST return zero on success, or a nonzero error code on // failure. // // +-------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------+----------------------------------------------------------------------------------+ // +-------------------------+----------------------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The filter parameter is not a | // | | valid FsrmReportFilter (section 2.2.1.2.16) value. The filterValue parameter is | // | | NULL. | // +-------------------------+----------------------------------------------------------------------------------+ GetFilter(context.Context, *GetFilterRequest, ...dcerpc.CallOption) (*GetFilterResponse, error) // The SetFilter method sets the value of the specified report filter for the report // object. The filter value will override the default value set by using the IFsrmReportManager::SetDefaultFilter // (section 3.2.4.2.33.8) method. // // Return Values: The method MUST return zero on success, or a nonzero error code on // failure. // // +-------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------+----------------------------------------------------------------------------------+ // +-------------------------+----------------------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The filter parameter is not a | // | | valid FsrmReportFilter (section 2.2.1.2.16) value. An attempt was made to set | // | | the FsrmReportFilter_Property filter value with a supplied value that is not in | // | | a valid property name format, or the property does not exist. The variant does | // | | not have the correct member set for the filter. The string filter values are not | // | | valid characters. | // +-------------------------+----------------------------------------------------------------------------------+ SetFilter(context.Context, *SetFilterRequest, ...dcerpc.CallOption) (*SetFilterResponse, error) // Delete operation. Delete(context.Context, *DeleteRequest, ...dcerpc.CallOption) (*DeleteResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) ReportClient }
IFsrmReport interface.
func NewReportClient ¶
type ReportServer ¶
type ReportServer interface { // IDispatch base class. idispatch.DispatchServer // Type operation. GetType(context.Context, *GetTypeRequest) (*GetTypeResponse, error) // Name operation. GetName(context.Context, *GetNameRequest) (*GetNameResponse, error) // Name operation. SetName(context.Context, *SetNameRequest) (*SetNameResponse, error) // Description operation. GetDescription(context.Context, *GetDescriptionRequest) (*GetDescriptionResponse, error) // Description operation. SetDescription(context.Context, *SetDescriptionRequest) (*SetDescriptionResponse, error) // The LastGeneratedFileNamePrefix (get) method retrieves the last generated file name // prefix of the report for the most recently generated report 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 prefix parameter is NULL. | // +-------------------------+-------------------------------+ GetLastGeneratedFileNamePrefix(context.Context, *GetLastGeneratedFileNamePrefixRequest) (*GetLastGeneratedFileNamePrefixResponse, error) // The GetFilter method returns the current value of the specified report filter for // the report object. // // Return Values: The method MUST return zero on success, or a nonzero error code on // failure. // // +-------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------+----------------------------------------------------------------------------------+ // +-------------------------+----------------------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The filter parameter is not a | // | | valid FsrmReportFilter (section 2.2.1.2.16) value. The filterValue parameter is | // | | NULL. | // +-------------------------+----------------------------------------------------------------------------------+ GetFilter(context.Context, *GetFilterRequest) (*GetFilterResponse, error) // The SetFilter method sets the value of the specified report filter for the report // object. The filter value will override the default value set by using the IFsrmReportManager::SetDefaultFilter // (section 3.2.4.2.33.8) method. // // Return Values: The method MUST return zero on success, or a nonzero error code on // failure. // // +-------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------+----------------------------------------------------------------------------------+ // +-------------------------+----------------------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The filter parameter is not a | // | | valid FsrmReportFilter (section 2.2.1.2.16) value. An attempt was made to set | // | | the FsrmReportFilter_Property filter value with a supplied value that is not in | // | | a valid property name format, or the property does not exist. The variant does | // | | not have the correct member set for the filter. The string filter values are not | // | | valid characters. | // +-------------------------+----------------------------------------------------------------------------------+ SetFilter(context.Context, *SetFilterRequest) (*SetFilterResponse, error) // Delete operation. Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) }
IFsrmReport server interface.
type SetDescriptionRequest ¶
type SetDescriptionRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` Description *oaut.String `idl:"name:description" json:"description"` }
SetDescriptionRequest structure represents the Description operation request
func (*SetDescriptionRequest) MarshalNDR ¶
func (*SetDescriptionRequest) UnmarshalNDR ¶
type SetDescriptionResponse ¶
type SetDescriptionResponse 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 Description return value. Return int32 `idl:"name:Return" json:"return"` }
SetDescriptionResponse structure represents the Description operation response
func (*SetDescriptionResponse) MarshalNDR ¶
func (*SetDescriptionResponse) UnmarshalNDR ¶
type SetFilterRequest ¶
type SetFilterRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // filter: Contains the value from the FsrmReportFilter (section 2.2.1.2.16) enumeration // of the filter to set. Filter fsrm.ReportFilter `idl:"name:filter" json:"filter"` // filterValue: Contains the value of the specified filter for the specified report // type. FilterValue *oaut.Variant `idl:"name:filterValue" json:"filter_value"` }
SetFilterRequest structure represents the SetFilter operation request
func (*SetFilterRequest) MarshalNDR ¶
func (*SetFilterRequest) UnmarshalNDR ¶
type SetFilterResponse ¶
type SetFilterResponse 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 SetFilter return value. Return int32 `idl:"name:Return" json:"return"` }
SetFilterResponse structure represents the SetFilter operation response
func (*SetFilterResponse) MarshalNDR ¶
func (*SetFilterResponse) 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