Table of Contents

Name

rmtMenuCMD - remote - send a menu command to dbman

Description

rmtMenuCMD sends a CMDDISK record to dbman. dbman interprets this as a command issued from it’s own menu.

The request is passed in remote mode.

This function is part of librmt.

Syntax

int rmtMenuCMD(
int fo,
char C,
char Cs,
char *H,
char *S,
char *L,
char *D,
double V,
double Vp,
int E,
int verbosity
);

Arguments

fo

The file descriptor for the connection to dbman.

C

CMDDISK.FuncCode The item code from dbman’s main menu.

Cs

CMDDISK.SubCode - not used.

H

The host name - not used.

S

The service name - not used.

L

CMDDISK.Label - not used.

D

CMDDISK.RefName - not used.

V

CMDDISK.Value - not used.

Vp

CMDDISK.PrevValue - not used.

E

CMDDISK.error - not used.

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.

Return Values

ERRok is returned if the transaction is successful.
The error code from the transaction is returned if there is a communications error.

Notes

Invoke dbman as dbman rather than dbmand to see the menus.

See Also

librmt(3rmt)

Manual page revision

$Id: rmtMenuCMD.3,v 1.2 2008/08/22 16:22:16 mcnamer Exp $


Table of Contents