Instrument Neutral Distributed Interface INDI
2.0.2
|
Constants and Data structure definitions for the interface to the reference INDI C API implementation. More...
Go to the source code of this file.
Classes | |
struct | _IText |
struct | _ITextVectorProperty |
Text vector property descriptor. More... | |
struct | _INumber |
struct | _INumberVectorProperty |
Number vector property descriptor. More... | |
struct | _ISwitch |
struct | _ISwitchVectorProperty |
Switch vector property descriptor. More... | |
struct | _ILight |
struct | _ILightVectorProperty |
Light vector property descriptor. More... | |
struct | _IBLOB |
struct | _IBLOBVectorProperty |
BLOB (Binary Large Object) vector property descriptor. More... | |
Macros | |
#define | INDIV 1.7 |
#define | INDI_VERSION_MAJOR 2 |
#define | INDI_VERSION_MINOR 0 |
#define | INDI_VERSION_RELEASE 2 |
#define | MAXINDINAME 64 |
#define | MAXINDILABEL 64 |
#define | MAXINDIDEVICE 64 |
#define | MAXINDIGROUP 64 |
#define | MAXINDIFORMAT 64 |
#define | MAXINDIBLOBFMT 64 |
#define | MAXINDITSTAMP 64 |
#define | MAXINDIMESSAGE 255 |
#define | NARRAY(a) (sizeof(a) / sizeof(a[0])) |
Handy macro to find the number of elements in array a[]. Must be used with actual array, not pointer. More... | |
#define | assert_mem(p) if((p) == 0) { fprintf(stderr, "%s(%s): Failed to allocate memory\n", __FILE__, __func__); exit(1); } |
Bails out if memory pointer is 0. Prints file and function. More... | |
#define | INDI_SHARED_BLOB_SUPPORT |
Typedefs | |
typedef struct _IText | IText |
typedef struct _ITextVectorProperty | ITextVectorProperty |
typedef struct _INumber | INumber |
typedef struct _INumberVectorProperty | INumberVectorProperty |
typedef struct _ISwitch | ISwitch |
typedef struct _ISwitchVectorProperty | ISwitchVectorProperty |
typedef struct _ILight | ILight |
typedef struct _ILightVectorProperty | ILightVectorProperty |
typedef struct _IBLOB | IBLOB |
typedef struct _IBLOBVectorProperty | IBLOBVectorProperty |
Enumerations | |
enum | ISState { ISS_OFF = 0 , ISS_ON } |
Switch state. More... | |
enum | IPState { IPS_IDLE = 0 , IPS_OK , IPS_BUSY , IPS_ALERT } |
Property state. More... | |
enum | ISRule { ISR_1OFMANY , ISR_ATMOST1 , ISR_NOFMANY } |
Switch vector rule hint. More... | |
enum | IPerm { IP_RO , IP_WO , IP_RW } |
Permission hint, with respect to client. More... | |
Constants and Data structure definitions for the interface to the reference INDI C API implementation.
Definition in file indiapi.h.
#define assert_mem | ( | p | ) | if((p) == 0) { fprintf(stderr, "%s(%s): Failed to allocate memory\n", __FILE__, __func__); exit(1); } |
#define NARRAY | ( | a | ) | (sizeof(a) / sizeof(a[0])) |
typedef struct _IBLOBVectorProperty IBLOBVectorProperty |
typedef struct _ILightVectorProperty ILightVectorProperty |
typedef struct _INumberVectorProperty INumberVectorProperty |
typedef struct _ISwitchVectorProperty ISwitchVectorProperty |
typedef struct _ITextVectorProperty ITextVectorProperty |
enum IPerm |
enum IPState |
enum ISRule |
Switch vector rule hint.