This documentation supports the 9.1 to 9.1 Service Pack 3 version and its patches of BMC Atrium Core. The documentation for version 9.1.04 and its patches is available here.

To view the latest version, select the version from the Product version menu.

CMDBGraphWalkNext function

The CMDBGraphWalkNext function moves to the next chunk of nodes to retrieve in the graph walk. This function is used after setting up the start node in the CI and relationship graph using the CMDBGraphWalkBegin function.

You do not need to specify values for any of the parameters of the function. To retrieve rows in chunks, use only the hasNextChunk member of the CMDBGraphWalkStateStruct structure.

Synopsis


#include "ar.h"
#include "arextern.h"
#include "cmdb.h"

int CMDBGraphWalkNext(
      ARControlStruct *control,
      CMDBGraphWalkStateStruct *graphWalkStateStruct,
      CMDBGraphWalkResultStruct *graphWalkResultStruct,
      ARStatusList *status)

Input arguments



Input argument

Description

control

The control record for the operation, which contains information about the user requesting the operation and the server on which the operation is to be performed.

graphWalkStateStruct

The status of the start node setup for the graph walk query before performing the next query chunk. This structure is for internal use only.

Return values



Return value

Description

graphWalkStateStruct

The status of the graph walk after the next chunk is queried.

graphWalkResultStruct

The list of CI and relationship instances returned by the query.

status

A list of zero or more notes, warnings, or errors generated from a call of this function.

Was this page helpful? Yes No Submitting... Thank you

Comments