multipathd: fix reservation_key check
[multipath-tools/.git] / libmultipath / alias.h
1 #define BINDINGS_FILE_HEADER \
2 "# Multipath bindings, Version : 1.0\n" \
3 "# NOTE: this file is automatically maintained by the multipath program.\n" \
4 "# You should not need to edit this file in normal circumstances.\n" \
5 "#\n" \
6 "# Format:\n" \
7 "# alias wwid\n" \
8 "#\n"
9
10 int valid_alias(char *alias);
11 char *get_user_friendly_alias(char *wwid, char *file, char *prefix,
12                               int bindings_readonly);
13 int get_user_friendly_wwid(char *alias, char *buff, char *file);
14 char *use_existing_alias (char *wwid, char *file, char *alias_old,
15                 char *prefix, int bindings_read_only);