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); +}