Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlReport_Send Function
PHT_PROBLEM_REPORT

The PrlReport_Send function is provided for convenience.

Syntax
PRL_HANDLE PrlReport_Send(
    PRL_HANDLE hProblemReport, 
    PRL_BOOL bUseProxy, 
    PRL_CONST_STR sProxyHost, 
    PRL_UINT32 nProxyPort, 
    PRL_CONST_STR sProxyUserLogin, 
    PRL_CONST_STR sProxyUserPasswd, 
    PRL_UINT32 nProblemSendTimeout, 
    PRL_UINT32 nReserved, 
    PRL_EVENT_HANDLER_PTR handler, 
    PRL_VOID_PTR pUserData
);
File

PrlApiCore.h

Parameters

hProblemReport
A handle of type PHT_PROBLEM_REPORT containing report data. 

bUseProxy
Specifies whether proxy should be used. The call can obtain and use the system proxy settings or you can specify your own settings. Note that custom values override system settings. 

sProxyHost
[optional] If using proxy, this parameter allows to specify the proxy server host address/name (can be null or empty). 

nProxyPort
[optional] If using proxy, this parameter allows to specify the proxy server port (to use the system setting, set this parameter to 0). 

sProxyUserLogin
[optional] If using proxy, this parameter allows to specify user login if it’s not set in the system settings (can be null or empty). 

sProxyUserPasswd
[optional] If using proxy, this parameter allows to specify the user password if it’s not specified in the system settings. 

nProblemSendTimeout
Timeout in milliseconds. Can be set to 0 for unlimited timeout. 

nReserved
[unused] Reserved parameter for future use. 

handler
[optional] A pointer to a user callback function (event handler) that will be called every time a problem report sending progress is updated or when the job is completed. 

pUserData
[optional] A pointer to a user data that will be passed to the optional callback function.
 

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Remarks

It allows submitting a previously generated problem report to the Virtuozzo support server. The report could be generated using the PrlSrv_GetPackedProblemReport (PrlSrv_GetProblemReport) or PrlVm_GetProblemReport (PrlVm_GetPackedProblemReport) functions, or created and assembled using PrlApi_CreateProblemReport/PrlReport_Assembly functions.

Links
Copyright ©2016-2017 Parallels International GmbH. All rights reserved.