• source navigation  • diff markup  • identifier search  • freetext search  • 

Sources/fstools/libblkid-tiny/superblocks.h

  1 /*
  2  * Copyright (C) 2008-2009 Karel Zak <kzak@redhat.com>
  3  *
  4  * This file may be redistributed under the terms of the
  5  * GNU Lesser General Public License.
  6  */
  7 #ifndef _BLKID_SUPERBLOCKS_H
  8 #define _BLKID_SUPERBLOCKS_H
  9 
 10 #include "blkidP.h"
 11 
 12 extern const struct blkid_idinfo cramfs_idinfo;
 13 extern const struct blkid_idinfo swap_idinfo;
 14 extern const struct blkid_idinfo swsuspend_idinfo;
 15 extern const struct blkid_idinfo adraid_idinfo;
 16 extern const struct blkid_idinfo ddfraid_idinfo;
 17 extern const struct blkid_idinfo iswraid_idinfo;
 18 extern const struct blkid_idinfo jmraid_idinfo;
 19 extern const struct blkid_idinfo lsiraid_idinfo;
 20 extern const struct blkid_idinfo nvraid_idinfo;
 21 extern const struct blkid_idinfo pdcraid_idinfo;
 22 extern const struct blkid_idinfo silraid_idinfo;
 23 extern const struct blkid_idinfo viaraid_idinfo;
 24 extern const struct blkid_idinfo linuxraid_idinfo;
 25 extern const struct blkid_idinfo exfat_idinfo;
 26 extern const struct blkid_idinfo ext4dev_idinfo;
 27 extern const struct blkid_idinfo ext4_idinfo;
 28 extern const struct blkid_idinfo ext3_idinfo;
 29 extern const struct blkid_idinfo ext2_idinfo;
 30 extern const struct blkid_idinfo jbd_idinfo;
 31 extern const struct blkid_idinfo jfs_idinfo;
 32 extern const struct blkid_idinfo xfs_idinfo;
 33 extern const struct blkid_idinfo xfs_log_idinfo;
 34 extern const struct blkid_idinfo gfs_idinfo;
 35 extern const struct blkid_idinfo gfs2_idinfo;
 36 extern const struct blkid_idinfo romfs_idinfo;
 37 extern const struct blkid_idinfo ocfs_idinfo;
 38 extern const struct blkid_idinfo ocfs2_idinfo;
 39 extern const struct blkid_idinfo oracleasm_idinfo;
 40 extern const struct blkid_idinfo reiser_idinfo;
 41 extern const struct blkid_idinfo reiser4_idinfo;
 42 extern const struct blkid_idinfo hfs_idinfo;
 43 extern const struct blkid_idinfo hfsplus_idinfo;
 44 extern const struct blkid_idinfo ntfs_idinfo;
 45 extern const struct blkid_idinfo refs_idinfo;
 46 extern const struct blkid_idinfo iso9660_idinfo;
 47 extern const struct blkid_idinfo udf_idinfo;
 48 extern const struct blkid_idinfo vxfs_idinfo;
 49 extern const struct blkid_idinfo minix_idinfo;
 50 extern const struct blkid_idinfo vfat_idinfo;
 51 extern const struct blkid_idinfo ufs_idinfo;
 52 extern const struct blkid_idinfo hpfs_idinfo;
 53 extern const struct blkid_idinfo lvm2_idinfo;
 54 extern const struct blkid_idinfo lvm1_idinfo;
 55 extern const struct blkid_idinfo snapcow_idinfo;
 56 extern const struct blkid_idinfo verity_hash_idinfo;
 57 extern const struct blkid_idinfo luks_idinfo;
 58 extern const struct blkid_idinfo highpoint37x_idinfo;
 59 extern const struct blkid_idinfo highpoint45x_idinfo;
 60 extern const struct blkid_idinfo squashfs_idinfo;
 61 extern const struct blkid_idinfo squashfs3_idinfo;
 62 extern const struct blkid_idinfo netware_idinfo;
 63 extern const struct blkid_idinfo sysv_idinfo;
 64 extern const struct blkid_idinfo xenix_idinfo;
 65 extern const struct blkid_idinfo btrfs_idinfo;
 66 extern const struct blkid_idinfo ubi_idinfo;
 67 extern const struct blkid_idinfo ubifs_idinfo;
 68 extern const struct blkid_idinfo zfs_idinfo;
 69 extern const struct blkid_idinfo bfs_idinfo;
 70 extern const struct blkid_idinfo vmfs_volume_idinfo;
 71 extern const struct blkid_idinfo vmfs_fs_idinfo;
 72 extern const struct blkid_idinfo drbd_idinfo;
 73 extern const struct blkid_idinfo drbdmanage_idinfo;
 74 extern const struct blkid_idinfo drbdproxy_datalog_idinfo;
 75 extern const struct blkid_idinfo befs_idinfo;
 76 extern const struct blkid_idinfo nilfs2_idinfo;
 77 extern const struct blkid_idinfo exfat_idinfo;
 78 extern const struct blkid_idinfo f2fs_idinfo;
 79 extern const struct blkid_idinfo bcache_idinfo;
 80 extern const struct blkid_idinfo jffs2_idinfo;
 81 
 82 /*
 83  * superblock functions
 84  */
 85 extern int blkid_probe_set_version(blkid_probe pr, const char *version);
 86 extern int blkid_probe_sprintf_version(blkid_probe pr, const char *fmt, ...)
 87                 __attribute__ ((__format__ (__printf__, 2, 3)));
 88 
 89 extern int blkid_probe_set_label(blkid_probe pr, unsigned char *label, size_t len);
 90 extern int blkid_probe_set_utf8label(blkid_probe pr, unsigned char *label,
 91                 size_t len, int enc);
 92 extern int blkid_probe_sprintf_uuid(blkid_probe pr, unsigned char *uuid,
 93                 size_t len, const char *fmt, ...)
 94                 __attribute__ ((__format__ (__printf__, 4, 5)));
 95 extern int blkid_probe_strncpy_uuid(blkid_probe pr, unsigned char *str, size_t len);
 96 
 97 extern int blkid_probe_set_uuid(blkid_probe pr, unsigned char *uuid);
 98 extern int blkid_probe_set_uuid_as(blkid_probe pr, unsigned char *uuid, const char *name);
 99 
100 extern int blkid_probe_set_id_label(blkid_probe pr, const char *name,
101                              const unsigned char *data, size_t len);
102 extern int blkid_probe_set_utf8_id_label(blkid_probe pr, const char *name,
103                              unsigned char *data, size_t len, int enc);
104 
105 #endif /* _BLKID_SUPERBLOCKS_H */
106 

This page was automatically generated by LXR 0.3.1.  •  OpenWrt