Add short list to HSFV_manage

This commit is contained in:
eddyem
2018-03-25 10:50:23 +03:00
parent bf4ea0c493
commit b73587a5e4
15 changed files with 889 additions and 112 deletions

View File

@@ -29,17 +29,21 @@
* here are some typedef's for global data
*/
typedef struct{
char *wheelID; // ID of wheel to work with
char *wheelName; // and/or its name
char *serial; // turret's serial (string description)
int filterPos; // position of filter
char *filterName; // and/or its name
char *filterId; // or full ID like "A2"
char *wheelID; // ID of wheel to work with
char *wheelName; // and/or its name
char *serial; // turret's serial (string description)
int filterPos; // position of filter
char *filterName; // and/or its name
char *filterId; // or full ID like "A2"
} glob_pars;
// ids for "list all" & "list present"
#define LIST_ALL (1)
#define LIST_PRES (2)
// ids for "list all", "list present", "list short"
typedef enum{
LIST_NONE = 0,
LIST_ALL,
LIST_PRES,
LIST_SHORT
} listopts;
// default & global parameters
extern glob_pars const Gdefault;