diff options
Diffstat (limited to 'spectro/dtp41.h')
-rw-r--r-- | spectro/dtp41.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/spectro/dtp41.h b/spectro/dtp41.h index 529f94c..018ed5c 100644 --- a/spectro/dtp41.h +++ b/spectro/dtp41.h @@ -37,6 +37,10 @@ #include "inst.h" +#ifdef __cplusplus + extern "C" { +#endif + /* Fake Error codes */ #define DTP41_INTERNAL_ERROR 0x61 /* Internal software error */ #define DTP41_COMS_FAIL 0x62 /* Communication failure */ @@ -101,10 +105,17 @@ struct _dtp41 { int need_cal; /* needs calibration */ inst_opt_type trig; /* Reading trigger mode */ + xcalstd native_calstd; /* Instrument native calibration standard */ + xcalstd target_calstd; /* Returned calibration standard */ + }; typedef struct _dtp41 dtp41; /* Constructor */ extern dtp41 *new_dtp41(icoms *icom, instType itype); +#ifdef __cplusplus + } +#endif + #define DTP41_H #endif /* DTP41_H */ |