X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=devices%2Fpaths.h;h=26d4ce41eb2a946c8bc9f13b5e5ba7b60637f4a6;hp=a6f01c4ca56454e0db6032ea992327f1cb01bfb1;hb=d56c4f5febce598f7ddc1fd5e78ec6ee621a0d9b;hpb=aab818c10b1fa68b968cabc852680f8ec0fe1360 diff --git a/devices/paths.h b/devices/paths.h index a6f01c4..26d4ce4 100644 --- a/devices/paths.h +++ b/devices/paths.h @@ -45,5 +45,9 @@ void set_mount_base(const char *path); */ char *join_paths(const char *a, const char *b); +/** + * encode a disk label (or uuid) for use in a symlink. + */ +char *encode_label(const char *label); #endif /* PATHS_H */