
Name: |
int gfdGetFileNumChannel (int chassis) | |
Inputs: |
int chassis |
|
Outputs: |
None |
|
Returns: |
Number of active channels |
|
|
0 |
|
|
<0 |
|
Includes: |
gfdstatu.h |
|
The gfdGetFileNumChannel( ) function gets the number of channels from the status file. This is a high-level status function will return the number of active channels in the chassis. A value less than zero indicates an error. A value of zero indicates that the status file exists and is valid, but that no fax channels are active.
#include "gfdstatu.h"
nc = gfdGetFileNumChannel (1);
if (nc > = 0)
printf ("Found %d channels\n", nc);
else
printf ("can't open status file\n");
Click here to contact Dialogic Customer Engineering
Copyright 2000, Dialogic Corporation