Table of Contents
PostListen - Perform a subscription on an entry in the CONFLIST database
PostListen posts a subscription request to dbman.
PostListen
traverses the CONFLIST array looking for a Group, Func and Index match.
If a match is found the information from the CONFLIST record is used to
formulate a subscription request and post the request to dbman.
It uses
lclAddQueLst(3rmt)
to perform the subscription request.
If there is an error
when lclAddQueLst(3rmt)
is called an error message is written to stderr.
This function communicates with dbman in local mode.
This function is part
of libmngr.
int PostListen(
int s,
CONFLIST CFpnt[],
int Size,
int Group,
int Func,
int Index
);
database channel
The pointer to the start of the CONFLIST
array
the size of the CONFLIST array.
specify the
CONFLIST element to search for and use for the transaction
If
there is no match a complaint is written to stderr and -1 is returned, otherwise
0 is always returned.
The AccelNET error code from lclAddQueLst(3rmt)
should be returned rather than 0 always being returned.
libmngr(3mngr)
$Id: PostListen.3,v 1.1 2002/04/07 18:35:52 kitchen Exp
$
Table of Contents