man3rmt/rmtUpParAns2

Table of Contents

Name

rmtUpParAns2 - remote - update a parameter and get an answer

Description

rmtUpParAns2 posts a parameter update to dbman. dbman returns the value actually written to the datapoint and the status of the transaction.

The request is passed in remote mode.

This function is part of librmt.

Syntax

int rmtUpParAns2(
int fo,

char *L,

char *D,

double Vsend,

double *Vrecv,

int *db_status,

int send_verbosity,

int recv_verbosity

);

Arguments

fo

The file descriptor for the connection to dbman.

L

label string

D

refname string

Vsend

new value

Vrecv

a pointer to a variable to hold the new value retrieved from the database.

db_status

a pointer to a variable to hold the new status value retrieved from the database.

send_verbosity

Defines the amount of messages to print. This value is passed on to SendRec. A value of 0 produces no messages. See the SendRec manpage for full details on available values.

recv_verbosity

Defines the amount of messages to print. This value is passed on to RecvRec. A value of 0 produces no messages. See the RecvRec manpage for full details on available values.

Return Values

ERRok is returned if the transaction is successful.
ERRconn is returned on a connection error.

See Also

librmt(3rmt)

Manual page revision

$Id: rmtUpParAns2.3,v 1.1 2008/08/22 16:23:09 mcnamer Exp $


Table of Contents