From dad04f2aca8574e91495d959915911e296fbd865 Mon Sep 17 00:00:00 2001 From: hadaq Date: Fri, 25 Apr 2008 17:26:27 +0000 Subject: [PATCH] Those files are not needed. Sergey Yurevich. --- ebctrl/ioc/ebctrlApp/Db/dbExample2.db | 38 ----------------------- ebctrl/ioc/ebctrlApp/Db/dbSubExample.db | 5 --- ebctrl/ioc/ebctrlApp/src/dbSubExample.c | 32 ------------------- ebctrl/ioc/ebctrlApp/src/dbSubExample.dbd | 3 -- ebctrl/ioc/ebctrlApp/src/ebctrlHello.c | 31 ------------------ ebctrl/ioc/ebctrlApp/src/ebctrlHello.dbd | 1 - 6 files changed, 110 deletions(-) delete mode 100644 ebctrl/ioc/ebctrlApp/Db/dbExample2.db delete mode 100644 ebctrl/ioc/ebctrlApp/Db/dbSubExample.db delete mode 100644 ebctrl/ioc/ebctrlApp/src/dbSubExample.c delete mode 100644 ebctrl/ioc/ebctrlApp/src/dbSubExample.dbd delete mode 100644 ebctrl/ioc/ebctrlApp/src/ebctrlHello.c delete mode 100644 ebctrl/ioc/ebctrlApp/src/ebctrlHello.dbd diff --git a/ebctrl/ioc/ebctrlApp/Db/dbExample2.db b/ebctrl/ioc/ebctrlApp/Db/dbExample2.db deleted file mode 100644 index 836c53d..0000000 --- a/ebctrl/ioc/ebctrlApp/Db/dbExample2.db +++ /dev/null @@ -1,38 +0,0 @@ -record(calc, "$(user):calcExample$(no)") -{ - field(DESC, "Counter No. $(no)") - field(SCAN,"$(scan)") - field(FLNK, "$(user):aiExample$(no)") - field(CALC, "(A - -#include -#include -#include -#include - -int mySubDebug; - -typedef long (*processMethod)(subRecord *precord); - -static long mySubInit(subRecord *precord,processMethod process) -{ - if (mySubDebug) - printf("Record %s called mySubInit(%p, %p)\n", - precord->name, (void*) precord, (void*) process); - return(0); -} - -static long mySubProcess(subRecord *precord) -{ - if (mySubDebug) - printf("Record %s called mySubProcess(%p)\n", - precord->name, (void*) precord); - return(0); -} - -/* Register these symbols for use by IOC code: */ - -epicsExportAddress(int, mySubDebug); -epicsRegisterFunction(mySubInit); -epicsRegisterFunction(mySubProcess); diff --git a/ebctrl/ioc/ebctrlApp/src/dbSubExample.dbd b/ebctrl/ioc/ebctrlApp/src/dbSubExample.dbd deleted file mode 100644 index a907fb7..0000000 --- a/ebctrl/ioc/ebctrlApp/src/dbSubExample.dbd +++ /dev/null @@ -1,3 +0,0 @@ -variable(mySubDebug) -function(mySubInit) -function(mySubProcess) diff --git a/ebctrl/ioc/ebctrlApp/src/ebctrlHello.c b/ebctrl/ioc/ebctrlApp/src/ebctrlHello.c deleted file mode 100644 index 9b4418a..0000000 --- a/ebctrl/ioc/ebctrlApp/src/ebctrlHello.c +++ /dev/null @@ -1,31 +0,0 @@ -/* Example showing how to register a new command with iocsh */ - -#include - -#include -#include - -/* This is the command, which the vxWorks shell will call directly */ -void hello(const char *name) { - if (name) { - printf("Hello %s, from ebctrl\n", name); - } else { - puts("Hello from ebctrl"); - } -} - -/* Information needed by iocsh */ -static const iocshArg helloArg0 = {"name", iocshArgString}; -static const iocshArg *helloArgs[] = {&helloArg0}; -static const iocshFuncDef helloFuncDef = {"hello", 1, helloArgs}; - -/* Wrapper called by iocsh, selects the argument types that hello needs */ -static void helloCallFunc(const iocshArgBuf *args) { - hello(args[0].sval); -} - -/* Registration routine, runs at startup */ -static void helloRegister(void) { - iocshRegister(&helloFuncDef, helloCallFunc); -} -epicsExportRegistrar(helloRegister); diff --git a/ebctrl/ioc/ebctrlApp/src/ebctrlHello.dbd b/ebctrl/ioc/ebctrlApp/src/ebctrlHello.dbd deleted file mode 100644 index 64eb038..0000000 --- a/ebctrl/ioc/ebctrlApp/src/ebctrlHello.dbd +++ /dev/null @@ -1 +0,0 @@ -registrar(helloRegister) -- 2.43.0