chiark / gitweb /
rules: Ubuntu merge - use group "cdrom"
[elogind.git] / extras / volume_id / lib / libvolume_id.h
index d1a0077f0c4b35454a8dcc32a16ca0113262071d..24c9c4e7eb806c30a14cf513531f7b2207ebb6a3 100644 (file)
@@ -3,9 +3,18 @@
  *
  * Copyright (C) 2005-2008 Kay Sievers <kay.sievers@vrfy.org>
  *
- *     This program is free software; you can redistribute it and/or modify it
- *     under the terms of the GNU General Public License as published by the
- *     Free Software Foundation version 2 of the License.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
 #ifndef _LIBVOLUME_ID_H_
@@ -36,6 +45,7 @@ extern void volume_id_all_probers(all_probers_fn_t all_probers_fn,
 extern int volume_id_get_label(struct volume_id *id, const char **label);
 extern int volume_id_get_label_raw(struct volume_id *id, const uint8_t **label, size_t *len);
 extern int volume_id_get_uuid(struct volume_id *id, const char **uuid);
+extern int volume_id_get_uuid_sub(struct volume_id *id, const char **uuid);
 extern int volume_id_get_uuid_raw(struct volume_id *id, const uint8_t **uuid, size_t *len);
 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);