Previous PageTable Of Contents../index.htmlIndexNext Page

gfqFindNext( )

Description | Example

Name:

  int gfqFindNext (GFQCHAR *gfqFileName, GFQRECORD *pQRec, GFQINT Direction, GFQCHAR *User)

Inputs:

GFQCHAR *gfqFileName

  • Name of queue file to access.

GFQRECORD *pQRec

  • Queue record buffer.

GFQINT Direction

  • Direction to read from current. Values are GDQREAD_FWD and GFQREAD_BWD

GFQCHAR *User

  • User id string or "" for all.

Outputs:

None

 

Returns:

GFQSUCCESS

  • A valid record was found.

GFQLIST_NOTFOUND

  • The link specified was not valid.

GFQLIST_EOF

  • No records matching the search values were found.

GFQRECORD_NOT_FOUND

  • The list is empty.

GFQRECORD_KEY_ERROR

  • The key information in the queue record has been modified since it was retrieved.

GFQRECORD_INV_READ_DIR

  • Direction specified was unrecognized.

Includes:

gfq.h

 

Top Of PageDescription

The gfqFindNext( ) function reads the next record in the specified direction, verifies the record passed in from the application has not changed, then it finds the next record in a list. Using the User parameter will limit the search of valid records.

Top Of PageExample


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2000, Dialogic Corporation
All rights reserved
This page generated January, 2002