59 lines
1.8 KiB
C
59 lines
1.8 KiB
C
/*************************************************************************\
|
|
* Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
|
* National Laboratory.
|
|
* Copyright (c) 2002 The Regents of the University of California, as
|
|
* Operator of Los Alamos National Laboratory.
|
|
* EPICS BASE Versions 3.13.7
|
|
* and higher are distributed subject to a Software License Agreement found
|
|
* in file LICENSE that is included with this distribution.
|
|
\*************************************************************************/
|
|
/* $Id$
|
|
*
|
|
* Author: Marty Kraimer
|
|
* Date: 07-17-91
|
|
*/
|
|
|
|
#ifndef INCdbScanH
|
|
#define INCdbScanH
|
|
|
|
#include "shareLib.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Note that these must match the first three definitions in choiceGbl.ascii*/
|
|
#define SCAN_PASSIVE 0
|
|
#define SCAN_EVENT 1
|
|
#define SCAN_IO_EVENT 2
|
|
#define SCAN_1ST_PERIODIC 3
|
|
|
|
/*definitions for SCAN_IO_EVENT */
|
|
struct io_scan_list;
|
|
|
|
typedef struct io_scan_list *IOSCANPVT;
|
|
|
|
struct dbCommon;
|
|
|
|
epicsShareFunc long epicsShareAPI scanInit(void);
|
|
epicsShareFunc void epicsShareAPI post_event(int event);
|
|
epicsShareFunc void epicsShareAPI scanAdd(struct dbCommon *);
|
|
epicsShareFunc void epicsShareAPI scanDelete(struct dbCommon *);
|
|
epicsShareFunc double epicsShareAPI scanPeriod(int scan);
|
|
epicsShareFunc void epicsShareAPI scanOnce(struct dbCommon *);
|
|
epicsShareFunc int epicsShareAPI scanOnceSetQueueSize(int size);
|
|
/*print periodic lists*/
|
|
epicsShareFunc int epicsShareAPI scanppl(double rate);
|
|
/*print event lists*/
|
|
epicsShareFunc int epicsShareAPI scanpel(int event_number);
|
|
/*print io_event list*/
|
|
epicsShareFunc int epicsShareAPI scanpiol(void);
|
|
epicsShareFunc void epicsShareAPI scanIoInit(IOSCANPVT *);
|
|
epicsShareFunc void epicsShareAPI scanIoRequest(IOSCANPVT);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|