From d38346ede654dd9bb8c4f6337a84952ad27f2b9c Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Fri, 2 Jun 2000 15:14:39 +0000 Subject: [PATCH] The exampleApp now has one src directory. --- .../top/exampleApp/src/exampleMain.c | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/makeBaseApp/top/exampleApp/src/exampleMain.c diff --git a/src/makeBaseApp/top/exampleApp/src/exampleMain.c b/src/makeBaseApp/top/exampleApp/src/exampleMain.c new file mode 100644 index 000000000..cf23e3795 --- /dev/null +++ b/src/makeBaseApp/top/exampleApp/src/exampleMain.c @@ -0,0 +1,37 @@ +/* exampleMain.c */ +/* Author: Marty Kraimer Date: 17MAR2000 */ + +/********************COPYRIGHT NOTIFICATION********************************** +This software was developed under a United States Government license +described on the COPYRIGHT_UniversityOfChicago file included as part +of this distribution. +****************************************************************************/ + +#include +#include +#include +#include +#include + +#include "osiThread.h" +#include "dbAccess.h" +#include "errlog.h" +#include "dbTest.h" +#include "registryRecordType.h" +#include "ioccrf.h" +#include "ioccrfRegisterCommon.h" +#include "registerRecordDeviceDriverRegister.h" + +int main(int argc,char *argv[]) +{ + threadInit(); + ioccrfRegisterCommon(); + registerRecordDeviceDriverRegister(); + if(argc>=2) { + ioccrf(argv[1]); + threadSleep(.2); + } + ioccrf(NULL); + threadExitMain(); + return(0); +}