00001 /*----------------------------------------------------------------------------* 00002 * Copyright (c) 2005 Southeastern Universities Research Association, * 00003 * Thomas Jefferson National Accelerator Facility * 00004 * * 00005 * This software was developed under a United States Government license * 00006 * described in the NOTICE file included as part of this distribution. * 00007 * * 00008 * E.Wolin, 25-Feb-2005, Jefferson Lab * 00009 * * 00010 * Authors: Elliott Wolin * 00011 * wolin@jlab.org Jefferson Lab, MS-6B * 00012 * Phone: (757) 269-7365 12000 Jefferson Ave. * 00013 * Fax: (757) 269-5519 Newport News, VA 23606 * 00014 * 00015 *----------------------------------------------------------------------------*/ 00016 00017 00018 #ifndef _RunObject_h 00019 #define _RunObject_h 00020 00021 00022 #ifndef VXWORKS 00023 #include <dlfcn.h> 00024 #endif 00025 00026 00027 namespace codaObject { 00028 00029 using namespace std; 00030 00031 00035 typedef int (*dllFuncPtr)(const char *s, void *sysArg, void *userArg); 00036 00040 typedef int (*dllIntFuncPtr)(unsigned int flag, void *sysArg, void *userArg); 00041 00045 struct dllSysStruct { 00046 int *pRunNumber; 00047 unsigned int *pDataBuffer; 00048 }; 00049 00050 00051 } // namespace codaObject 00052 00053 #endif /* _RunObject_h */