Using and Administering

ll_next_obj Subroutine

Purpose

The ll_next_obj subroutine returns the next object in the query_element list you specify.

Library

LoadLeveler API library libllapi.a

Syntax

#include "llapi.h"
 
LL_element * ll_next_obj(LL_element *query_element);

Parameters

query_element
Is a pointer to the LL_element returned by the ll_query function.

Description

query_element is the input field for this subroutine.

Use this subroutine in conjunction with the ll_get_objs subroutine to "loop" through the list of objects queried.

Return Values

This subroutine returns a pointer to the next object in the list.

Error Values

NULL
Indicates an error or the end of the list of objects.

Related Information

Subroutines: ll_get_data, ll_set_request, ll_query, ll_get_objs, ll_free_objs, ll_deallocate.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]