
Description | Example | Error
Name: |
int gl_unlisten (int chan) | |
Inputs: |
int chan |
|
Returns: |
0 |
|
|
-1 |
|
Includes: |
gfsc.h |
|
The gl_unlisten( ) function disconnects fax channel receive data stream from SCbus. This function disconnects the receive data stream of a fax channel from the SCbus. If gl_unlisten( ) is called to disconnect a fax channel that has no existing connection, no operation will be performed and the function will return an indication of success.
#include "gfsc.h"
int devh1, status;
devh1 = 1;
/* disconnect devh1 rxslot */
status = gl_unlisten( devh1 );
if (status)
{
fprintf(stderr, "gl_unlisten( ) error %d\n", status);
return (status);
}
Click here to contact Dialogic Customer Engineering
Copyright 2000, Dialogic Corporation