man3rmt/rmtCMD

Table of Contents

Name

rmtCMD - remote - send a command

Description

rmtCMD sends a CMDDISK record to dbman.

The request is passed in remote mode.

This function is part of librmt.

Syntax

int rmtCMD(
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

Cs

CMDDISK.SubCode

H

The host name

S

The service name

L

CMDDISK.Label

D

CMDDISK.RefName

V

CMDDISK.Value

Vp

CMDDISK.PrevValue

E

CMDDISK.error

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.

See Also

librmt(3rmt)

Manual page revision

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


Table of Contents