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;
80 int queue_without_daemon;
82 int flush_on_last_del;
85 unsigned int dev_loss;
109 vector blist_devnode;
112 vector elist_devnode;
117 struct config * conf;
119 struct hwentry * find_hwe (vector hwtable, char * vendor, char * product, char *revision);
120 struct mpentry * find_mpe (char * wwid);
121 char * get_mpe_wwid (char * alias);
123 struct hwentry * alloc_hwe (void);
124 struct mpentry * alloc_mpe (void);
126 void free_hwe (struct hwentry * hwe);
127 void free_hwtable (vector hwtable);
128 void free_mpe (struct mpentry * mpe);
129 void free_mptable (vector mptable);
131 int store_hwe (vector hwtable, struct hwentry *);
133 int load_config (char * file);
134 struct config * alloc_config (void);
135 void free_config (struct config * conf);