diff --git a/named-soft-events.patch b/named-soft-events.patch index 372969375..106590741 100644 --- a/named-soft-events.patch +++ b/named-soft-events.patch @@ -295,25 +295,31 @@ --- src/db/dbScan.h 2010-10-05 19:27:37 +0000 +++ src/db/dbScan.h 2010-10-27 20:51:01 +0000 @@ -19,6 +19,7 @@ - + #include "menuScan.h" #include "shareLib.h" +#include "compilerDependencies.h" - + #ifdef __cplusplus extern "C" { -@@ -36,6 +37,7 @@ +@@ -32,10 +33,13 @@ + #define MAX_PHASE SHRT_MAX + #define MIN_PHASE SHRT_MIN + ++#define HAVE_NAMED_SOFT_EVENTS ++ + /*definitions for I/O Interrupt Scanning */ struct io_scan_list; - + typedef struct io_scan_list *IOSCANPVT; +typedef struct event_list *EVENTPVT; - + struct dbCommon; - -@@ -43,7 +45,9 @@ + +@@ -43,7 +47,9 @@ epicsShareFunc void scanRun(void); epicsShareFunc void scanPause(void); - + -epicsShareFunc void post_event(int event); +epicsShareFunc EVENTPVT eventNameToHandle(char* event); +epicsShareFunc void postEvent(EVENTPVT epvt); @@ -321,13 +327,13 @@ epicsShareFunc void scanAdd(struct dbCommon *); epicsShareFunc void scanDelete(struct dbCommon *); epicsShareFunc double scanPeriod(int scan); -@@ -54,7 +58,7 @@ +@@ -54,7 +60,7 @@ epicsShareFunc int scanppl(double rate); - + /*print event lists*/ -epicsShareFunc int scanpel(int event_number); +epicsShareFunc int scanpel(char *event_name); - + /*print io_event list*/ epicsShareFunc int scanpiol(void);