man3mngr/rmt_PostListenAll
Table of Contents
rmt_PostListenAll- Perform a subscription on all entries in the CONFLIST
database
rmt_PostListenAll posts subscription requests for all
entries in the
CONFLIST array to dbman.
rmt_PostListenAll traverses the
CONFLIST array and uses the information from the CONFLIST records to formulate
subscription requests and post the requests to dbman.
It uses rmtAddQueLst(3rmt)
to perform the subscription request.
If there is an error when rmtAddQueLst(3rmt)
is called an error message is written to stderr.
This function communicates
with dbman in remote mode.
This function is part of libmngr.
int rmt_PostListenAll(
int s,
CONFLIST CFpnt[],
int Size,
);
database channel
The pointer to the start of the
CONFLIST
array
the size of the
CONFLIST array.
If there are problems
a complaint is written to stderr and -1 is returned, otherwise 0 is always
returned.
The AccelNET error code from
rmtAddQueLst(3rmt)
should be
returned rather than 0 always being returned.
Plan carefully when writing
your program and designing your CONFLIST if you use this function because
EVERYTHING in the CONFLIST array will be subscribed to. The results can
be quite fascinating and the problems very mysterious if you are not careful.
libmngr(3mngr)
$Id: rmt_PostListenAll.3,v 1.1
2002/04/07 18:35:52 kitchen Exp $
Table of Contents