Back to home page

sPhenix code displayed by LXR

 
 

    


Warning, /rcdaq/rcdaq_rpc.x is written in an unsupported language. File is not indexed.

0001 
0002 const STATUSFORMAT_SHORT  = 0;
0003 const STATUSFORMAT_NORMAL = 1;
0004 const STATUSFORMAT_LONG   = 2;
0005 const STATUSFORMAT_VLONG  = 3;
0006 
0007 
0008 
0009 struct shortResult {
0010   string str<>;
0011   int content;
0012   int what;
0013   int status;
0014 };
0015 
0016 const NIPAR = 16;
0017 
0018 struct actionblock {
0019         int action;
0020         int ipar[16];
0021         float  value;
0022         int spare;
0023         string spar<>;
0024         string spar2<>;
0025 
0026 };
0027 
0028 const NSTRINGPAR = 14;
0029 
0030 struct deviceblock {
0031         int npar;
0032         string argv0<>;
0033         string argv1<>;
0034         string argv2<>;
0035         string argv3<>;
0036         string argv4<>;
0037         string argv5<>;
0038         string argv6<>;
0039         string argv7<>;
0040         string argv8<>;
0041         string argv9<>;
0042         string argv10<>;
0043         string argv11<>;
0044         string argv12<>;
0045         string argv13<>;
0046 };
0047 
0048 
0049 
0050 program RCDAQ
0051 {
0052   version RCDAQ_VERS 
0053     { 
0054 
0055       shortResult r_action(actionblock) = 1;
0056       shortResult r_create_device(deviceblock) = 2;
0057       shortResult r_shutdown() = 3;
0058 
0059     } = 1;
0060 
0061 } = 0x3feeeffc;
0062