/*
  user procedure interface
  name: pbgetbo
*/

typedef long  T_BOO;
typedef long  T_ANA;
typedef float T_REAL;
typedef long  T_TMR;
typedef char  *T_MSG;

typedef struct {
   /* CALL   */ T_ANA  _index;
   /* CALL   */ T_ANA  _byte_offset;
   /* CALL   */ T_ANA  _bit_no;
   /* RETURN */ T_BOO  _value;
} str_arg;

#define INDEX            (arg->_index)
#define BYTE_OFFSET      (arg->_byte_offset)
#define BIT_NO           (arg->_bit_no)
#define VALUE            (arg->_value)
