The query_results structure is returned by dlog_query. This structure contains the number of entries matching the search criteria and a pointer to the entries matching the search criteria. The calling application is responsible for allocating memory for the query_results structure. This structure is defined in diag_log.h.
The query_results structure is defined as:
typedef struct _log_query_results { unsigned int numEntries; query_output **entryArray; }query_results;
numEntries | Number of entries matching the search criteria. |
entryArray | Pointer to the entries matching the search criteria. |