Table of Contents
rmtMenuCMD - remote - send a menu command to dbman
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.
int rmtMenuCMD(
int fo,
char C,
char Cs,
char *H,
char *S,
char *L,
char *D,
double V,
double Vp,
int E,
int verbosity
);
The file descriptor for the connection to dbman.
CMDDISK.FuncCode
The item code from dbman’s main menu.
CMDDISK.SubCode - not used.
The host
name - not used.
The service name - not used.
CMDDISK.Label - not used.
CMDDISK.RefName
- not used.
CMDDISK.Value - not used.
CMDDISK.PrevValue - not used.
CMDDISK.error
- not used.
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.
ERRok is returned
if the transaction is successful.
The error code from the transaction is returned if there is a communications
error.
Invoke dbman as dbman rather than dbmand to see the menus.
librmt(3rmt)
$Id: rmtMenuCMD.3,v 1.2 2008/08/22 16:22:16
mcnamer Exp $
Table of Contents