X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=extras%2Fvolume_id%2Flib%2Flibvolume_id.h;h=19aee68d010cef74be2dec56022760ce054df3b5;hb=8b5238670d2e741bc71ae3e79b499682965dc2fd;hp=c0ab29e0f782daaab35ecd8e54506465e377fc74;hpb=c1091150be0ae32584dcc1be20433a561928a30c;p=elogind.git diff --git a/extras/volume_id/lib/libvolume_id.h b/extras/volume_id/lib/libvolume_id.h index c0ab29e0f..19aee68d0 100644 --- a/extras/volume_id/lib/libvolume_id.h +++ b/extras/volume_id/lib/libvolume_id.h @@ -40,6 +40,7 @@ extern int volume_id_get_uuid_raw(struct volume_id *id, const uint8_t **uuid, si extern int volume_id_get_usage(struct volume_id *id, const char **usage); extern int volume_id_get_type(struct volume_id *id, const char **type); extern int volume_id_get_type_version(struct volume_id *id, const char **type_version); +extern int volume_id_encode_string(const char *str, char *str_enc, size_t len); /* * Note: everything below will be made private or removed from