#include #include #include #include "caPutLog.h" static const iocshArg caPutLogInitArg0 = {"address", iocshArgString}; static const iocshArg caPutLogInitArg1 = {"config", iocshArgInt}; static const iocshArg *const caPutLogInitArgs[] = { &caPutLogInitArg0, &caPutLogInitArg1 }; static const iocshFuncDef caPutLogInitDef = {"caPutLogInit", 2, caPutLogInitArgs}; static void caPutLogInitCall(const iocshArgBuf *args) { caPutLogInit(args[0].sval, args[1].ival); } static const iocshArg caPutLogReconfArg0 = {"config", iocshArgInt}; static const iocshArg *const caPutLogReconfArgs[] = { &caPutLogReconfArg0 }; static const iocshFuncDef caPutLogReconfDef = {"caPutLogReconf", 1, caPutLogReconfArgs}; static void caPutLogReconfCall(const iocshArgBuf *args) { caPutLogReconf(args[0].ival); } static const iocshArg caPutLogShowArg0 = {"level", iocshArgInt}; static const iocshArg *const caPutLogShowArgs[] = { &caPutLogShowArg0 }; static const iocshFuncDef caPutLogShowDef = {"caPutLogShow", 1, caPutLogShowArgs}; static void caPutLogShowCall(const iocshArgBuf *args) { caPutLogShow(args[0].ival); } static void caPutLogRegister(void) { static int done = FALSE; if(done) return; done = TRUE; iocshRegister(&caPutLogInitDef,caPutLogInitCall); iocshRegister(&caPutLogReconfDef,caPutLogReconfCall); iocshRegister(&caPutLogShowDef,caPutLogShowCall); } epicsExportRegistrar(caPutLogRegister);