man3mngr/rmt_PostListenAll

Table of Contents

Name

rmt_PostListenAll- Perform a subscription on all entries in the CONFLIST database

Description

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.

Syntax

int rmt_PostListenAll(
   int s,

   CONFLIST CFpnt[],

   int Size,

   );

Arguments

s

database channel

CFpnt

The pointer to the start of the CONFLIST array

Size

the size of the CONFLIST array.

Return Value

If there are problems a complaint is written to stderr and -1 is returned, otherwise 0 is always returned.

Notes

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.

See Also

libmngr(3mngr)

Manual page revision

$Id: rmt_PostListenAll.3,v 1.1 2002/04/07 18:35:52 kitchen Exp $


Table of Contents