Previous PageTable Of Contents../index.htmlIndexNext Page

gfdReadStatusFileRecord( )

Description | Example

Data Type

Field Name

Description

int

cp_status_version

Version of the status file.

int

cp_header_size

Size of the header in bytes.

int

cp_record_size

Allocated size for each fax channel.

int

cp_max_channel

Number of fax channels active in the chassis.

time_t

cp_last_update

Time of last update.

Name:

int gfdReadStatusFileRecord (int status_fid,
CPRECORD *rec, int channel)

Inputs:

int status_fid

   · The file handle for the status file (returned by gfdOpenStatusFile).

 

int channel

   · The logical-channel number for which the status is to be obtained.

Outputs:

CPRECORD *rec

   · The status record returned if the function is successful.

Returns:

GFD_SUCCESS

   · Successful.

 

GFDBAD_STATUS_FILE

   · The status file is corrupt.

 

GFDNO_STATUS_FILE

   · The status file could not be found.

Includes:

gfdstatu.h

 
 

gfdmsg.h

 
 

gfdipc.h

 
 
NOTE:
gfdipc.h requires that the gfdmsg.h file be included first.

Top Of PageDescription

The gfdReadStatusFileRecord( ) function that reads a record from the status file if the file already is open.

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