Table of Contents

Name

rmt_UnPostListen - Cancel a subscription on an entry in the CONFLIST database

Description

rmt_UnPostListen posts a subscription cancellation request to dbman.

rmt_UnPostListen 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 cancellation request and post the request to dbman.

It uses rmtRemQueLst(3rmt) to perform the request.

This function communicates with dbman in remote mode.

This function is part of libmngr.

Syntax

int rmt_UnPostListen(
   int s,

   CONFLIST CFpnt[],

   int Size,

   int Group,

   int Func,

   int Index

   );

Arguments

s

database channel

CFpnt

The pointer to the start of the CONFLIST array

Size

the size of the CONFLIST array.

Group, Func, Index

specify the CONFLIST element to search for and use for the transaction

Return Value

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

Notes

The AccelNET error code from rmtRemQueLst(3rmt) should be returned rather than 0 always being returned.

See Also

libmngr(3mngr)

Manual page revision

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


Table of Contents