EPICS Base  7.0.8.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Attributes | List of all members
iocshArg Struct Reference

#include <iocsh.h>

Public Attributes

const char * name
 
iocshArgType type
 

Detailed Description

This struct is used to indicate data types of function parameters for iocshRegister(). The name element is used by the help command to print a synopsis for the command. The type element describes the data type of the argument and takes a value from iocshArgType.

static const iocshArg AsynGenericConfigArg0 = {"Port Name", iocshArgString};
static const iocshArg AsynGenericConfigArg1 = {"Number Devices", iocshArgInt};
static const iocshArg* const AsynGenericConfigArgs[]
= { &AsynAXEConfigArg0, &AsynAXEConfigArg1 };

Definition at line 137 of file iocsh.h.


The documentation for this struct was generated from the following file: