Tizen Native API
Public Attributes
TCSScanResult_struct Struct Reference

Public Attributes

int iNumDetected
TCSDetectedpDList
void(* pfFreeResult )(struct TCSScanResult_struct *pResult)

Detailed Description

Detected malware information is returned to the caller in the TCSScanResult structure provided by the caller. The TCSScanResult structure contains a pointer to a structure that contains scan result information and a pointer to a function used to remove the scan result resource. The memory used to hold the scan result is allocated by the scan functions and freed by calling the function pointed by the pfFreeResult pointer. The detected malware information includes the malware information which had been reported via the callback (pfCallback) function during scanning.

Since :
2.3
 int ScanAppData( ... )
 {
     TCSScanResult scanResult;
     .
     .
     if (TCSScanData(hScanner, &scanParam, &scanResult) == 0)
     {
         .
         .
         scanResult.pfFreeResult( &scanResult );
     }
     .
     .
 }

Member Data Documentation

Number of malware found.

Detected malware list.

Function pointer used to free reported scan result.

This is a synchronous API.

Parameters:
[in]pResultPointer to data structure in which detected scan result information is stored.
Returns:
None

Except as noted, this content - excluding the Code Examples - is licensed under Creative Commons Attribution 3.0 and all of the Code Examples contained herein are licensed under BSD-3-Clause.
For details, see the Content License