4 #define ACT_NOTHING_STR "unchanged"
5 #define ACT_REJECT_STR "reject"
6 #define ACT_RELOAD_STR "reload"
7 #define ACT_SWITCHPG_STR "switchpg"
8 #define ACT_RENAME_STR "rename"
9 #define ACT_CREATE_STR "create"
10 #define ACT_RESIZE_STR "resize"
27 * Return value of domap()
28 * DAEMON_RETRY is only used for ACT_CREATE (see domap()).
39 * Return value of coalesce_paths()
40 * CP_RETRY is only used in non-daemon case (multipath).
50 int setup_map (struct multipath * mpp, char **params, struct vectors *vecs);
51 void select_action (struct multipath *mpp, const struct _vector *curmp,
53 int domap (struct multipath * mpp, char * params, int is_daemon);
54 int reinstate_paths (struct multipath *mpp);
55 int coalesce_paths (struct vectors *vecs, vector curmp, char * refwwid, int force_reload, enum mpath_cmds cmd);
56 int get_refwwid (enum mpath_cmds cmd, const char *dev, enum devtypes dev_type,
57 vector pathvec, char **wwid);
58 struct udev_device *get_udev_device(const char *dev, enum devtypes dev_type);
59 void trigger_paths_udev_change(struct multipath *mpp, bool is_mpath);
60 void trigger_partitions_udev_change(struct udev_device *dev, const char *action,
62 int check_daemon(void);