7 #define ORIGIN_DEFAULT 0
8 #define ORIGIN_CONFIG 1
36 int flush_on_last_del;
38 unsigned int dev_loss;
54 int flush_on_last_del;
68 enum devtypes dev_type;
76 int user_friendly_names;
77 int bindings_read_only;
81 int queue_without_daemon;
83 int flush_on_last_del;
86 unsigned int dev_loss;
100 char * bindings_file;
110 vector blist_devnode;
113 vector elist_devnode;
118 struct config * conf;
120 struct hwentry * find_hwe (vector hwtable, char * vendor, char * product, char *revision);
121 struct mpentry * find_mpe (char * wwid);
122 char * get_mpe_wwid (char * alias);
124 struct hwentry * alloc_hwe (void);
125 struct mpentry * alloc_mpe (void);
127 void free_hwe (struct hwentry * hwe);
128 void free_hwtable (vector hwtable);
129 void free_mpe (struct mpentry * mpe);
130 void free_mptable (vector mptable);
132 int store_hwe (vector hwtable, struct hwentry *);
134 int load_config (char * file);
135 struct config * alloc_config (void);
136 void free_config (struct config * conf);