/* asynInt8ArraySyncIO.h */ /*********************************************************************** * Copyright (c) 2002 The University of Chicago, as Operator of Argonne * National Laboratory, and the Regents of the University of * California, as Operator of Los Alamos National Laboratory, and * Berliner Elektronenspeicherring-Gesellschaft m.b.H. (BESSY). * asynDriver is distributed subject to a Software License Agreement * found in file LICENSE that is included with this distribution. ***********************************************************************/ /* 28-June-2004 Mark Rivers */ #ifndef asynInt8ArraySyncIOH #define asynInt8ArraySyncIOH #include #include #include #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #define asynInt8ArraySyncIOType "asynInt8ArraySyncIO" typedef struct asynInt8ArraySyncIO { asynStatus (*connect)(const char *port, int addr, asynUser **ppasynUser, const char *drvInfo); asynStatus (*disconnect)(asynUser *pasynUser); asynStatus (*write)(asynUser *pasynUser,epicsInt8 *pvalue,size_t nelem,double timeout); asynStatus (*read)(asynUser *pasynUser,epicsInt8 *pvalue,size_t nelem,size_t *Nin,double timeout); asynStatus (*writeOnce)(const char *port, int addr, epicsInt8 *pvalue,size_t nelem,double timeout,const char *drvInfo); asynStatus (*readOnce)(const char *port, int addr, epicsInt8 *pvalue,size_t nelem,size_t *nIn,double timeout,const char *drvInfo); } asynInt8ArraySyncIO; epicsShareExtern asynInt8ArraySyncIO *pasynInt8ArraySyncIO; #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* asynInt8ArraySyncIOH */