added typedef enum ptt_type_e ptt_type_t;

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@150 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.1.0
Frank Singleton, VK3FCS 2000-09-24 03:37:57 +00:00
rodzic 6e2c1585c5
commit ec7ff3971f
1 zmienionych plików z 10 dodań i 5 usunięć

Wyświetl plik

@ -5,7 +5,7 @@
* will be used for obtaining rig capabilities. * will be used for obtaining rig capabilities.
* *
* *
* $Id: rig.h,v 1.12 2000-09-21 06:44:44 f4cfe Exp $ * * $Id: rig.h,v 1.13 2000-09-24 03:37:57 javabear Exp $ *
* *
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -37,9 +37,9 @@
#define RIG_ECONF 2 /* invalid configuration (serial,..) */ #define RIG_ECONF 2 /* invalid configuration (serial,..) */
#define RIG_ENOMEM 3 /* memory shortage */ #define RIG_ENOMEM 3 /* memory shortage */
#define RIG_ENIMPL 4 /* function not implemented */ #define RIG_ENIMPL 4 /* function not implemented */
#define RIG_ETIMEOUT 5 /* communication timed out */ #define RIG_ETIMEOUT 5 /* communication timed out */
#define RIG_EIO 6 /* IO error, including open failed */ #define RIG_EIO 6 /* IO error, including open failed */
#define RIG_EINTERNAL 7 /* Internal Hamlib error, huh! */ #define RIG_EINTERNAL 7 /* Internal Hamlib error, huh! */
#define RIG_EPROTO 8 /* Protocol error */ #define RIG_EPROTO 8 /* Protocol error */
#define RIG_ERJCTED 9 /* Command rejected by the rig */ #define RIG_ERJCTED 9 /* Command rejected by the rig */
#define RIG_ETRUNC 10 /* Command performed, but arg truncated */ #define RIG_ETRUNC 10 /* Command performed, but arg truncated */
@ -118,7 +118,10 @@ enum vfo_e {
RIG_VFO_TX, RIG_VFO_TX,
RIG_VFO_SUB, RIG_VFO_SUB,
RIG_VFO_SAT_RX, RIG_VFO_SAT_RX,
RIG_VFO_SAT_TX RIG_VFO_SAT_TX,
RIG_VFO_A,
RIG_VFO_B,
RIG_VFO_C,
}; };
@ -129,6 +132,8 @@ enum ptt_e {
RIG_PTT_ON RIG_PTT_ON
}; };
typedef enum ptt_e ptt_t;
enum ptt_type_e { enum ptt_type_e {
RIG_PTT_BUILTIN = 0, /* PTT controlable through remote interface */ RIG_PTT_BUILTIN = 0, /* PTT controlable through remote interface */
RIG_PTT_SERIAL, /* PTT accessed through CTS/RTS */ RIG_PTT_SERIAL, /* PTT accessed through CTS/RTS */
@ -137,7 +142,7 @@ enum ptt_type_e {
}; };
typedef enum ptt_e ptt_t; typedef enum ptt_type_e ptt_type_t;
/* /*
* These are activated functions. * These are activated functions.