home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / boot / i386 / root / usr / share / YaST2 / modules / LibStorage.pm < prev    next >
Text File  |  2006-11-29  |  93KB  |  1,956 lines

  1. # This file was created automatically by SWIG 1.3.29.
  2. # Don't modify this file, modify the SWIG interface instead.
  3. package LibStorage;
  4. require Exporter;
  5. require DynaLoader;
  6. @ISA = qw(Exporter DynaLoader);
  7. package LibStoragec;
  8. bootstrap LibStorage;
  9. package LibStorage;
  10. @EXPORT = qw( );
  11.  
  12. # ---------- BASE METHODS -------------
  13.  
  14. package LibStorage;
  15.  
  16. sub TIEHASH {
  17.     my ($classname,$obj) = @_;
  18.     return bless $obj, $classname;
  19. }
  20.  
  21. sub CLEAR { }
  22.  
  23. sub FIRSTKEY { }
  24.  
  25. sub NEXTKEY { }
  26.  
  27. sub FETCH {
  28.     my ($self,$field) = @_;
  29.     my $member_func = "swig_${field}_get";
  30.     $self->$member_func();
  31. }
  32.  
  33. sub STORE {
  34.     my ($self,$field,$newval) = @_;
  35.     my $member_func = "swig_${field}_set";
  36.     $self->$member_func($newval);
  37. }
  38.  
  39. sub this {
  40.     my $ptr = shift;
  41.     return tied(%$ptr);
  42. }
  43.  
  44.  
  45. # ------- FUNCTION WRAPPERS --------
  46.  
  47. package LibStorage;
  48.  
  49. *initDefaultLogger = *LibStoragec::initDefaultLogger;
  50. *createDefaultStorageInterface = *LibStoragec::createDefaultStorageInterface;
  51. *createStorageInterface = *LibStoragec::createStorageInterface;
  52. *destroyStorageInterface = *LibStoragec::destroyStorageInterface;
  53.  
  54. ############# Class : LibStorage::FsCapabilities ##############
  55.  
  56. package LibStorage::FsCapabilities;
  57. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  58. @ISA = qw( LibStorage );
  59. %OWNER = ();
  60. %ITERATORS = ();
  61. sub new {
  62.     my $pkg = shift;
  63.     my $self = LibStoragec::new_FsCapabilities(@_);
  64.     bless $self, $pkg if defined($self);
  65. }
  66.  
  67. *swig_isExtendable_get = *LibStoragec::FsCapabilities_isExtendable_get;
  68. *swig_isExtendable_set = *LibStoragec::FsCapabilities_isExtendable_set;
  69. *swig_isExtendableWhileMounted_get = *LibStoragec::FsCapabilities_isExtendableWhileMounted_get;
  70. *swig_isExtendableWhileMounted_set = *LibStoragec::FsCapabilities_isExtendableWhileMounted_set;
  71. *swig_isReduceable_get = *LibStoragec::FsCapabilities_isReduceable_get;
  72. *swig_isReduceable_set = *LibStoragec::FsCapabilities_isReduceable_set;
  73. *swig_isReduceableWhileMounted_get = *LibStoragec::FsCapabilities_isReduceableWhileMounted_get;
  74. *swig_isReduceableWhileMounted_set = *LibStoragec::FsCapabilities_isReduceableWhileMounted_set;
  75. *swig_supportsUuid_get = *LibStoragec::FsCapabilities_supportsUuid_get;
  76. *swig_supportsUuid_set = *LibStoragec::FsCapabilities_supportsUuid_set;
  77. *swig_supportsLabel_get = *LibStoragec::FsCapabilities_supportsLabel_get;
  78. *swig_supportsLabel_set = *LibStoragec::FsCapabilities_supportsLabel_set;
  79. *swig_labelWhileMounted_get = *LibStoragec::FsCapabilities_labelWhileMounted_get;
  80. *swig_labelWhileMounted_set = *LibStoragec::FsCapabilities_labelWhileMounted_set;
  81. *swig_labelLength_get = *LibStoragec::FsCapabilities_labelLength_get;
  82. *swig_labelLength_set = *LibStoragec::FsCapabilities_labelLength_set;
  83. *swig_minimalFsSizeK_get = *LibStoragec::FsCapabilities_minimalFsSizeK_get;
  84. *swig_minimalFsSizeK_set = *LibStoragec::FsCapabilities_minimalFsSizeK_set;
  85. sub DESTROY {
  86.     return unless $_[0]->isa('HASH');
  87.     my $self = tied(%{$_[0]});
  88.     return unless defined $self;
  89.     delete $ITERATORS{$self};
  90.     if (exists $OWNER{$self}) {
  91.         LibStoragec::delete_FsCapabilities($self);
  92.         delete $OWNER{$self};
  93.     }
  94. }
  95.  
  96. sub DISOWN {
  97.     my $self = shift;
  98.     my $ptr = tied(%$self);
  99.     delete $OWNER{$ptr};
  100. }
  101.  
  102. sub ACQUIRE {
  103.     my $self = shift;
  104.     my $ptr = tied(%$self);
  105.     $OWNER{$ptr} = 1;
  106. }
  107.  
  108.  
  109. ############# Class : LibStorage::ContainerInfo ##############
  110.  
  111. package LibStorage::ContainerInfo;
  112. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  113. @ISA = qw( LibStorage );
  114. %OWNER = ();
  115. %ITERATORS = ();
  116. sub new {
  117.     my $pkg = shift;
  118.     my $self = LibStoragec::new_ContainerInfo(@_);
  119.     bless $self, $pkg if defined($self);
  120. }
  121.  
  122. *swig_type_get = *LibStoragec::ContainerInfo_type_get;
  123. *swig_type_set = *LibStoragec::ContainerInfo_type_set;
  124. *swig_volcnt_get = *LibStoragec::ContainerInfo_volcnt_get;
  125. *swig_volcnt_set = *LibStoragec::ContainerInfo_volcnt_set;
  126. *swig_device_get = *LibStoragec::ContainerInfo_device_get;
  127. *swig_device_set = *LibStoragec::ContainerInfo_device_set;
  128. *swig_name_get = *LibStoragec::ContainerInfo_name_get;
  129. *swig_name_set = *LibStoragec::ContainerInfo_name_set;
  130. *swig_usedBy_get = *LibStoragec::ContainerInfo_usedBy_get;
  131. *swig_usedBy_set = *LibStoragec::ContainerInfo_usedBy_set;
  132. *swig_usedByName_get = *LibStoragec::ContainerInfo_usedByName_get;
  133. *swig_usedByName_set = *LibStoragec::ContainerInfo_usedByName_set;
  134. *swig_readonly_get = *LibStoragec::ContainerInfo_readonly_get;
  135. *swig_readonly_set = *LibStoragec::ContainerInfo_readonly_set;
  136. sub DESTROY {
  137.     return unless $_[0]->isa('HASH');
  138.     my $self = tied(%{$_[0]});
  139.     return unless defined $self;
  140.     delete $ITERATORS{$self};
  141.     if (exists $OWNER{$self}) {
  142.         LibStoragec::delete_ContainerInfo($self);
  143.         delete $OWNER{$self};
  144.     }
  145. }
  146.  
  147. sub DISOWN {
  148.     my $self = shift;
  149.     my $ptr = tied(%$self);
  150.     delete $OWNER{$ptr};
  151. }
  152.  
  153. sub ACQUIRE {
  154.     my $self = shift;
  155.     my $ptr = tied(%$self);
  156.     $OWNER{$ptr} = 1;
  157. }
  158.  
  159.  
  160. ############# Class : LibStorage::DiskInfo ##############
  161.  
  162. package LibStorage::DiskInfo;
  163. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  164. @ISA = qw( LibStorage );
  165. %OWNER = ();
  166. %ITERATORS = ();
  167. sub new {
  168.     my $pkg = shift;
  169.     my $self = LibStoragec::new_DiskInfo(@_);
  170.     bless $self, $pkg if defined($self);
  171. }
  172.  
  173. *swig_sizeK_get = *LibStoragec::DiskInfo_sizeK_get;
  174. *swig_sizeK_set = *LibStoragec::DiskInfo_sizeK_set;
  175. *swig_cylSizeB_get = *LibStoragec::DiskInfo_cylSizeB_get;
  176. *swig_cylSizeB_set = *LibStoragec::DiskInfo_cylSizeB_set;
  177. *swig_cyl_get = *LibStoragec::DiskInfo_cyl_get;
  178. *swig_cyl_set = *LibStoragec::DiskInfo_cyl_set;
  179. *swig_heads_get = *LibStoragec::DiskInfo_heads_get;
  180. *swig_heads_set = *LibStoragec::DiskInfo_heads_set;
  181. *swig_sectors_get = *LibStoragec::DiskInfo_sectors_get;
  182. *swig_sectors_set = *LibStoragec::DiskInfo_sectors_set;
  183. *swig_disklabel_get = *LibStoragec::DiskInfo_disklabel_get;
  184. *swig_disklabel_set = *LibStoragec::DiskInfo_disklabel_set;
  185. *swig_udevPath_get = *LibStoragec::DiskInfo_udevPath_get;
  186. *swig_udevPath_set = *LibStoragec::DiskInfo_udevPath_set;
  187. *swig_udevId_get = *LibStoragec::DiskInfo_udevId_get;
  188. *swig_udevId_set = *LibStoragec::DiskInfo_udevId_set;
  189. *swig_maxLogical_get = *LibStoragec::DiskInfo_maxLogical_get;
  190. *swig_maxLogical_set = *LibStoragec::DiskInfo_maxLogical_set;
  191. *swig_maxPrimary_get = *LibStoragec::DiskInfo_maxPrimary_get;
  192. *swig_maxPrimary_set = *LibStoragec::DiskInfo_maxPrimary_set;
  193. *swig_initDisk_get = *LibStoragec::DiskInfo_initDisk_get;
  194. *swig_initDisk_set = *LibStoragec::DiskInfo_initDisk_set;
  195. sub DESTROY {
  196.     return unless $_[0]->isa('HASH');
  197.     my $self = tied(%{$_[0]});
  198.     return unless defined $self;
  199.     delete $ITERATORS{$self};
  200.     if (exists $OWNER{$self}) {
  201.         LibStoragec::delete_DiskInfo($self);
  202.         delete $OWNER{$self};
  203.     }
  204. }
  205.  
  206. sub DISOWN {
  207.     my $self = shift;
  208.     my $ptr = tied(%$self);
  209.     delete $OWNER{$ptr};
  210. }
  211.  
  212. sub ACQUIRE {
  213.     my $self = shift;
  214.     my $ptr = tied(%$self);
  215.     $OWNER{$ptr} = 1;
  216. }
  217.  
  218.  
  219. ############# Class : LibStorage::LvmVgInfo ##############
  220.  
  221. package LibStorage::LvmVgInfo;
  222. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  223. @ISA = qw( LibStorage );
  224. %OWNER = ();
  225. %ITERATORS = ();
  226. sub new {
  227.     my $pkg = shift;
  228.     my $self = LibStoragec::new_LvmVgInfo(@_);
  229.     bless $self, $pkg if defined($self);
  230. }
  231.  
  232. *swig_sizeK_get = *LibStoragec::LvmVgInfo_sizeK_get;
  233. *swig_sizeK_set = *LibStoragec::LvmVgInfo_sizeK_set;
  234. *swig_peSize_get = *LibStoragec::LvmVgInfo_peSize_get;
  235. *swig_peSize_set = *LibStoragec::LvmVgInfo_peSize_set;
  236. *swig_peCount_get = *LibStoragec::LvmVgInfo_peCount_get;
  237. *swig_peCount_set = *LibStoragec::LvmVgInfo_peCount_set;
  238. *swig_peFree_get = *LibStoragec::LvmVgInfo_peFree_get;
  239. *swig_peFree_set = *LibStoragec::LvmVgInfo_peFree_set;
  240. *swig_uuid_get = *LibStoragec::LvmVgInfo_uuid_get;
  241. *swig_uuid_set = *LibStoragec::LvmVgInfo_uuid_set;
  242. *swig_lvm2_get = *LibStoragec::LvmVgInfo_lvm2_get;
  243. *swig_lvm2_set = *LibStoragec::LvmVgInfo_lvm2_set;
  244. *swig_create_get = *LibStoragec::LvmVgInfo_create_get;
  245. *swig_create_set = *LibStoragec::LvmVgInfo_create_set;
  246. *swig_devices_get = *LibStoragec::LvmVgInfo_devices_get;
  247. *swig_devices_set = *LibStoragec::LvmVgInfo_devices_set;
  248. *swig_devices_add_get = *LibStoragec::LvmVgInfo_devices_add_get;
  249. *swig_devices_add_set = *LibStoragec::LvmVgInfo_devices_add_set;
  250. *swig_devices_rem_get = *LibStoragec::LvmVgInfo_devices_rem_get;
  251. *swig_devices_rem_set = *LibStoragec::LvmVgInfo_devices_rem_set;
  252. sub DESTROY {
  253.     return unless $_[0]->isa('HASH');
  254.     my $self = tied(%{$_[0]});
  255.     return unless defined $self;
  256.     delete $ITERATORS{$self};
  257.     if (exists $OWNER{$self}) {
  258.         LibStoragec::delete_LvmVgInfo($self);
  259.         delete $OWNER{$self};
  260.     }
  261. }
  262.  
  263. sub DISOWN {
  264.     my $self = shift;
  265.     my $ptr = tied(%$self);
  266.     delete $OWNER{$ptr};
  267. }
  268.  
  269. sub ACQUIRE {
  270.     my $self = shift;
  271.     my $ptr = tied(%$self);
  272.     $OWNER{$ptr} = 1;
  273. }
  274.  
  275.  
  276. ############# Class : LibStorage::EvmsCoInfo ##############
  277.  
  278. package LibStorage::EvmsCoInfo;
  279. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  280. @ISA = qw( LibStorage );
  281. %OWNER = ();
  282. %ITERATORS = ();
  283. sub new {
  284.     my $pkg = shift;
  285.     my $self = LibStoragec::new_EvmsCoInfo(@_);
  286.     bless $self, $pkg if defined($self);
  287. }
  288.  
  289. *swig_sizeK_get = *LibStoragec::EvmsCoInfo_sizeK_get;
  290. *swig_sizeK_set = *LibStoragec::EvmsCoInfo_sizeK_set;
  291. *swig_peSize_get = *LibStoragec::EvmsCoInfo_peSize_get;
  292. *swig_peSize_set = *LibStoragec::EvmsCoInfo_peSize_set;
  293. *swig_peCount_get = *LibStoragec::EvmsCoInfo_peCount_get;
  294. *swig_peCount_set = *LibStoragec::EvmsCoInfo_peCount_set;
  295. *swig_peFree_get = *LibStoragec::EvmsCoInfo_peFree_get;
  296. *swig_peFree_set = *LibStoragec::EvmsCoInfo_peFree_set;
  297. *swig_uuid_get = *LibStoragec::EvmsCoInfo_uuid_get;
  298. *swig_uuid_set = *LibStoragec::EvmsCoInfo_uuid_set;
  299. *swig_lvm2_get = *LibStoragec::EvmsCoInfo_lvm2_get;
  300. *swig_lvm2_set = *LibStoragec::EvmsCoInfo_lvm2_set;
  301. *swig_create_get = *LibStoragec::EvmsCoInfo_create_get;
  302. *swig_create_set = *LibStoragec::EvmsCoInfo_create_set;
  303. *swig_realContainer_get = *LibStoragec::EvmsCoInfo_realContainer_get;
  304. *swig_realContainer_set = *LibStoragec::EvmsCoInfo_realContainer_set;
  305. *swig_devices_get = *LibStoragec::EvmsCoInfo_devices_get;
  306. *swig_devices_set = *LibStoragec::EvmsCoInfo_devices_set;
  307. *swig_devices_add_get = *LibStoragec::EvmsCoInfo_devices_add_get;
  308. *swig_devices_add_set = *LibStoragec::EvmsCoInfo_devices_add_set;
  309. *swig_devices_rem_get = *LibStoragec::EvmsCoInfo_devices_rem_get;
  310. *swig_devices_rem_set = *LibStoragec::EvmsCoInfo_devices_rem_set;
  311. sub DESTROY {
  312.     return unless $_[0]->isa('HASH');
  313.     my $self = tied(%{$_[0]});
  314.     return unless defined $self;
  315.     delete $ITERATORS{$self};
  316.     if (exists $OWNER{$self}) {
  317.         LibStoragec::delete_EvmsCoInfo($self);
  318.         delete $OWNER{$self};
  319.     }
  320. }
  321.  
  322. sub DISOWN {
  323.     my $self = shift;
  324.     my $ptr = tied(%$self);
  325.     delete $OWNER{$ptr};
  326. }
  327.  
  328. sub ACQUIRE {
  329.     my $self = shift;
  330.     my $ptr = tied(%$self);
  331.     $OWNER{$ptr} = 1;
  332. }
  333.  
  334.  
  335. ############# Class : LibStorage::DmPartCoInfo ##############
  336.  
  337. package LibStorage::DmPartCoInfo;
  338. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  339. @ISA = qw( LibStorage );
  340. %OWNER = ();
  341. %ITERATORS = ();
  342. sub new {
  343.     my $pkg = shift;
  344.     my $self = LibStoragec::new_DmPartCoInfo(@_);
  345.     bless $self, $pkg if defined($self);
  346. }
  347.  
  348. *swig_d_get = *LibStoragec::DmPartCoInfo_d_get;
  349. *swig_d_set = *LibStoragec::DmPartCoInfo_d_set;
  350. *swig_devices_get = *LibStoragec::DmPartCoInfo_devices_get;
  351. *swig_devices_set = *LibStoragec::DmPartCoInfo_devices_set;
  352. sub DESTROY {
  353.     return unless $_[0]->isa('HASH');
  354.     my $self = tied(%{$_[0]});
  355.     return unless defined $self;
  356.     delete $ITERATORS{$self};
  357.     if (exists $OWNER{$self}) {
  358.         LibStoragec::delete_DmPartCoInfo($self);
  359.         delete $OWNER{$self};
  360.     }
  361. }
  362.  
  363. sub DISOWN {
  364.     my $self = shift;
  365.     my $ptr = tied(%$self);
  366.     delete $OWNER{$ptr};
  367. }
  368.  
  369. sub ACQUIRE {
  370.     my $self = shift;
  371.     my $ptr = tied(%$self);
  372.     $OWNER{$ptr} = 1;
  373. }
  374.  
  375.  
  376. ############# Class : LibStorage::DmraidCoInfo ##############
  377.  
  378. package LibStorage::DmraidCoInfo;
  379. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  380. @ISA = qw( LibStorage );
  381. %OWNER = ();
  382. %ITERATORS = ();
  383. sub new {
  384.     my $pkg = shift;
  385.     my $self = LibStoragec::new_DmraidCoInfo(@_);
  386.     bless $self, $pkg if defined($self);
  387. }
  388.  
  389. *swig_p_get = *LibStoragec::DmraidCoInfo_p_get;
  390. *swig_p_set = *LibStoragec::DmraidCoInfo_p_set;
  391. sub DESTROY {
  392.     return unless $_[0]->isa('HASH');
  393.     my $self = tied(%{$_[0]});
  394.     return unless defined $self;
  395.     delete $ITERATORS{$self};
  396.     if (exists $OWNER{$self}) {
  397.         LibStoragec::delete_DmraidCoInfo($self);
  398.         delete $OWNER{$self};
  399.     }
  400. }
  401.  
  402. sub DISOWN {
  403.     my $self = shift;
  404.     my $ptr = tied(%$self);
  405.     delete $OWNER{$ptr};
  406. }
  407.  
  408. sub ACQUIRE {
  409.     my $self = shift;
  410.     my $ptr = tied(%$self);
  411.     $OWNER{$ptr} = 1;
  412. }
  413.  
  414.  
  415. ############# Class : LibStorage::VolumeInfo ##############
  416.  
  417. package LibStorage::VolumeInfo;
  418. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  419. @ISA = qw( LibStorage );
  420. %OWNER = ();
  421. %ITERATORS = ();
  422. sub new {
  423.     my $pkg = shift;
  424.     my $self = LibStoragec::new_VolumeInfo(@_);
  425.     bless $self, $pkg if defined($self);
  426. }
  427.  
  428. *swig_sizeK_get = *LibStoragec::VolumeInfo_sizeK_get;
  429. *swig_sizeK_set = *LibStoragec::VolumeInfo_sizeK_set;
  430. *swig_major_get = *LibStoragec::VolumeInfo_major_get;
  431. *swig_major_set = *LibStoragec::VolumeInfo_major_set;
  432. *swig_minor_get = *LibStoragec::VolumeInfo_minor_get;
  433. *swig_minor_set = *LibStoragec::VolumeInfo_minor_set;
  434. *swig_name_get = *LibStoragec::VolumeInfo_name_get;
  435. *swig_name_set = *LibStoragec::VolumeInfo_name_set;
  436. *swig_device_get = *LibStoragec::VolumeInfo_device_get;
  437. *swig_device_set = *LibStoragec::VolumeInfo_device_set;
  438. *swig_mount_get = *LibStoragec::VolumeInfo_mount_get;
  439. *swig_mount_set = *LibStoragec::VolumeInfo_mount_set;
  440. *swig_mount_by_get = *LibStoragec::VolumeInfo_mount_by_get;
  441. *swig_mount_by_set = *LibStoragec::VolumeInfo_mount_by_set;
  442. *swig_usedBy_get = *LibStoragec::VolumeInfo_usedBy_get;
  443. *swig_usedBy_set = *LibStoragec::VolumeInfo_usedBy_set;
  444. *swig_usedByName_get = *LibStoragec::VolumeInfo_usedByName_get;
  445. *swig_usedByName_set = *LibStoragec::VolumeInfo_usedByName_set;
  446. *swig_fstab_options_get = *LibStoragec::VolumeInfo_fstab_options_get;
  447. *swig_fstab_options_set = *LibStoragec::VolumeInfo_fstab_options_set;
  448. *swig_uuid_get = *LibStoragec::VolumeInfo_uuid_get;
  449. *swig_uuid_set = *LibStoragec::VolumeInfo_uuid_set;
  450. *swig_label_get = *LibStoragec::VolumeInfo_label_get;
  451. *swig_label_set = *LibStoragec::VolumeInfo_label_set;
  452. *swig_mkfs_options_get = *LibStoragec::VolumeInfo_mkfs_options_get;
  453. *swig_mkfs_options_set = *LibStoragec::VolumeInfo_mkfs_options_set;
  454. *swig_loop_get = *LibStoragec::VolumeInfo_loop_get;
  455. *swig_loop_set = *LibStoragec::VolumeInfo_loop_set;
  456. *swig_dtxt_get = *LibStoragec::VolumeInfo_dtxt_get;
  457. *swig_dtxt_set = *LibStoragec::VolumeInfo_dtxt_set;
  458. *swig_encryption_get = *LibStoragec::VolumeInfo_encryption_get;
  459. *swig_encryption_set = *LibStoragec::VolumeInfo_encryption_set;
  460. *swig_crypt_pwd_get = *LibStoragec::VolumeInfo_crypt_pwd_get;
  461. *swig_crypt_pwd_set = *LibStoragec::VolumeInfo_crypt_pwd_set;
  462. *swig_fs_get = *LibStoragec::VolumeInfo_fs_get;
  463. *swig_fs_set = *LibStoragec::VolumeInfo_fs_set;
  464. *swig_format_get = *LibStoragec::VolumeInfo_format_get;
  465. *swig_format_set = *LibStoragec::VolumeInfo_format_set;
  466. *swig_create_get = *LibStoragec::VolumeInfo_create_get;
  467. *swig_create_set = *LibStoragec::VolumeInfo_create_set;
  468. *swig_is_mounted_get = *LibStoragec::VolumeInfo_is_mounted_get;
  469. *swig_is_mounted_set = *LibStoragec::VolumeInfo_is_mounted_set;
  470. *swig_resize_get = *LibStoragec::VolumeInfo_resize_get;
  471. *swig_resize_set = *LibStoragec::VolumeInfo_resize_set;
  472. *swig_ignore_fs_get = *LibStoragec::VolumeInfo_ignore_fs_get;
  473. *swig_ignore_fs_set = *LibStoragec::VolumeInfo_ignore_fs_set;
  474. *swig_OrigSizeK_get = *LibStoragec::VolumeInfo_OrigSizeK_get;
  475. *swig_OrigSizeK_set = *LibStoragec::VolumeInfo_OrigSizeK_set;
  476. sub DESTROY {
  477.     return unless $_[0]->isa('HASH');
  478.     my $self = tied(%{$_[0]});
  479.     return unless defined $self;
  480.     delete $ITERATORS{$self};
  481.     if (exists $OWNER{$self}) {
  482.         LibStoragec::delete_VolumeInfo($self);
  483.         delete $OWNER{$self};
  484.     }
  485. }
  486.  
  487. sub DISOWN {
  488.     my $self = shift;
  489.     my $ptr = tied(%$self);
  490.     delete $OWNER{$ptr};
  491. }
  492.  
  493. sub ACQUIRE {
  494.     my $self = shift;
  495.     my $ptr = tied(%$self);
  496.     $OWNER{$ptr} = 1;
  497. }
  498.  
  499.  
  500. ############# Class : LibStorage::PartitionAddInfo ##############
  501.  
  502. package LibStorage::PartitionAddInfo;
  503. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  504. @ISA = qw( LibStorage );
  505. %OWNER = ();
  506. %ITERATORS = ();
  507. sub new {
  508.     my $pkg = shift;
  509.     my $self = LibStoragec::new_PartitionAddInfo(@_);
  510.     bless $self, $pkg if defined($self);
  511. }
  512.  
  513. *swig_nr_get = *LibStoragec::PartitionAddInfo_nr_get;
  514. *swig_nr_set = *LibStoragec::PartitionAddInfo_nr_set;
  515. *swig_cylStart_get = *LibStoragec::PartitionAddInfo_cylStart_get;
  516. *swig_cylStart_set = *LibStoragec::PartitionAddInfo_cylStart_set;
  517. *swig_cylSize_get = *LibStoragec::PartitionAddInfo_cylSize_get;
  518. *swig_cylSize_set = *LibStoragec::PartitionAddInfo_cylSize_set;
  519. *swig_partitionType_get = *LibStoragec::PartitionAddInfo_partitionType_get;
  520. *swig_partitionType_set = *LibStoragec::PartitionAddInfo_partitionType_set;
  521. *swig_id_get = *LibStoragec::PartitionAddInfo_id_get;
  522. *swig_id_set = *LibStoragec::PartitionAddInfo_id_set;
  523. *swig_boot_get = *LibStoragec::PartitionAddInfo_boot_get;
  524. *swig_boot_set = *LibStoragec::PartitionAddInfo_boot_set;
  525. *swig_udevPath_get = *LibStoragec::PartitionAddInfo_udevPath_get;
  526. *swig_udevPath_set = *LibStoragec::PartitionAddInfo_udevPath_set;
  527. *swig_udevId_get = *LibStoragec::PartitionAddInfo_udevId_get;
  528. *swig_udevId_set = *LibStoragec::PartitionAddInfo_udevId_set;
  529. sub DESTROY {
  530.     return unless $_[0]->isa('HASH');
  531.     my $self = tied(%{$_[0]});
  532.     return unless defined $self;
  533.     delete $ITERATORS{$self};
  534.     if (exists $OWNER{$self}) {
  535.         LibStoragec::delete_PartitionAddInfo($self);
  536.         delete $OWNER{$self};
  537.     }
  538. }
  539.  
  540. sub DISOWN {
  541.     my $self = shift;
  542.     my $ptr = tied(%$self);
  543.     delete $OWNER{$ptr};
  544. }
  545.  
  546. sub ACQUIRE {
  547.     my $self = shift;
  548.     my $ptr = tied(%$self);
  549.     $OWNER{$ptr} = 1;
  550. }
  551.  
  552.  
  553. ############# Class : LibStorage::PartitionInfo ##############
  554.  
  555. package LibStorage::PartitionInfo;
  556. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  557. @ISA = qw( LibStorage );
  558. %OWNER = ();
  559. %ITERATORS = ();
  560. sub new {
  561.     my $pkg = shift;
  562.     my $self = LibStoragec::new_PartitionInfo(@_);
  563.     bless $self, $pkg if defined($self);
  564. }
  565.  
  566. *swig_v_get = *LibStoragec::PartitionInfo_v_get;
  567. *swig_v_set = *LibStoragec::PartitionInfo_v_set;
  568. *swig_nr_get = *LibStoragec::PartitionInfo_nr_get;
  569. *swig_nr_set = *LibStoragec::PartitionInfo_nr_set;
  570. *swig_cylStart_get = *LibStoragec::PartitionInfo_cylStart_get;
  571. *swig_cylStart_set = *LibStoragec::PartitionInfo_cylStart_set;
  572. *swig_cylSize_get = *LibStoragec::PartitionInfo_cylSize_get;
  573. *swig_cylSize_set = *LibStoragec::PartitionInfo_cylSize_set;
  574. *swig_partitionType_get = *LibStoragec::PartitionInfo_partitionType_get;
  575. *swig_partitionType_set = *LibStoragec::PartitionInfo_partitionType_set;
  576. *swig_id_get = *LibStoragec::PartitionInfo_id_get;
  577. *swig_id_set = *LibStoragec::PartitionInfo_id_set;
  578. *swig_boot_get = *LibStoragec::PartitionInfo_boot_get;
  579. *swig_boot_set = *LibStoragec::PartitionInfo_boot_set;
  580. *swig_udevPath_get = *LibStoragec::PartitionInfo_udevPath_get;
  581. *swig_udevPath_set = *LibStoragec::PartitionInfo_udevPath_set;
  582. *swig_udevId_get = *LibStoragec::PartitionInfo_udevId_get;
  583. *swig_udevId_set = *LibStoragec::PartitionInfo_udevId_set;
  584. sub DESTROY {
  585.     return unless $_[0]->isa('HASH');
  586.     my $self = tied(%{$_[0]});
  587.     return unless defined $self;
  588.     delete $ITERATORS{$self};
  589.     if (exists $OWNER{$self}) {
  590.         LibStoragec::delete_PartitionInfo($self);
  591.         delete $OWNER{$self};
  592.     }
  593. }
  594.  
  595. sub DISOWN {
  596.     my $self = shift;
  597.     my $ptr = tied(%$self);
  598.     delete $OWNER{$ptr};
  599. }
  600.  
  601. sub ACQUIRE {
  602.     my $self = shift;
  603.     my $ptr = tied(%$self);
  604.     $OWNER{$ptr} = 1;
  605. }
  606.  
  607.  
  608. ############# Class : LibStorage::LvmLvInfo ##############
  609.  
  610. package LibStorage::LvmLvInfo;
  611. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  612. @ISA = qw( LibStorage );
  613. %OWNER = ();
  614. %ITERATORS = ();
  615. sub new {
  616.     my $pkg = shift;
  617.     my $self = LibStoragec::new_LvmLvInfo(@_);
  618.     bless $self, $pkg if defined($self);
  619. }
  620.  
  621. *swig_v_get = *LibStoragec::LvmLvInfo_v_get;
  622. *swig_v_set = *LibStoragec::LvmLvInfo_v_set;
  623. *swig_stripe_get = *LibStoragec::LvmLvInfo_stripe_get;
  624. *swig_stripe_set = *LibStoragec::LvmLvInfo_stripe_set;
  625. *swig_stripe_size_get = *LibStoragec::LvmLvInfo_stripe_size_get;
  626. *swig_stripe_size_set = *LibStoragec::LvmLvInfo_stripe_size_set;
  627. *swig_uuid_get = *LibStoragec::LvmLvInfo_uuid_get;
  628. *swig_uuid_set = *LibStoragec::LvmLvInfo_uuid_set;
  629. *swig_status_get = *LibStoragec::LvmLvInfo_status_get;
  630. *swig_status_set = *LibStoragec::LvmLvInfo_status_set;
  631. *swig_allocation_get = *LibStoragec::LvmLvInfo_allocation_get;
  632. *swig_allocation_set = *LibStoragec::LvmLvInfo_allocation_set;
  633. *swig_dm_table_get = *LibStoragec::LvmLvInfo_dm_table_get;
  634. *swig_dm_table_set = *LibStoragec::LvmLvInfo_dm_table_set;
  635. *swig_dm_target_get = *LibStoragec::LvmLvInfo_dm_target_get;
  636. *swig_dm_target_set = *LibStoragec::LvmLvInfo_dm_target_set;
  637. sub DESTROY {
  638.     return unless $_[0]->isa('HASH');
  639.     my $self = tied(%{$_[0]});
  640.     return unless defined $self;
  641.     delete $ITERATORS{$self};
  642.     if (exists $OWNER{$self}) {
  643.         LibStoragec::delete_LvmLvInfo($self);
  644.         delete $OWNER{$self};
  645.     }
  646. }
  647.  
  648. sub DISOWN {
  649.     my $self = shift;
  650.     my $ptr = tied(%$self);
  651.     delete $OWNER{$ptr};
  652. }
  653.  
  654. sub ACQUIRE {
  655.     my $self = shift;
  656.     my $ptr = tied(%$self);
  657.     $OWNER{$ptr} = 1;
  658. }
  659.  
  660.  
  661. ############# Class : LibStorage::EvmsInfo ##############
  662.  
  663. package LibStorage::EvmsInfo;
  664. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  665. @ISA = qw( LibStorage );
  666. %OWNER = ();
  667. %ITERATORS = ();
  668. sub new {
  669.     my $pkg = shift;
  670.     my $self = LibStoragec::new_EvmsInfo(@_);
  671.     bless $self, $pkg if defined($self);
  672. }
  673.  
  674. *swig_v_get = *LibStoragec::EvmsInfo_v_get;
  675. *swig_v_set = *LibStoragec::EvmsInfo_v_set;
  676. *swig_stripe_get = *LibStoragec::EvmsInfo_stripe_get;
  677. *swig_stripe_set = *LibStoragec::EvmsInfo_stripe_set;
  678. *swig_stripe_size_get = *LibStoragec::EvmsInfo_stripe_size_get;
  679. *swig_stripe_size_set = *LibStoragec::EvmsInfo_stripe_size_set;
  680. *swig_compatible_get = *LibStoragec::EvmsInfo_compatible_get;
  681. *swig_compatible_set = *LibStoragec::EvmsInfo_compatible_set;
  682. *swig_dm_table_get = *LibStoragec::EvmsInfo_dm_table_get;
  683. *swig_dm_table_set = *LibStoragec::EvmsInfo_dm_table_set;
  684. *swig_dm_target_get = *LibStoragec::EvmsInfo_dm_target_get;
  685. *swig_dm_target_set = *LibStoragec::EvmsInfo_dm_target_set;
  686. sub DESTROY {
  687.     return unless $_[0]->isa('HASH');
  688.     my $self = tied(%{$_[0]});
  689.     return unless defined $self;
  690.     delete $ITERATORS{$self};
  691.     if (exists $OWNER{$self}) {
  692.         LibStoragec::delete_EvmsInfo($self);
  693.         delete $OWNER{$self};
  694.     }
  695. }
  696.  
  697. sub DISOWN {
  698.     my $self = shift;
  699.     my $ptr = tied(%$self);
  700.     delete $OWNER{$ptr};
  701. }
  702.  
  703. sub ACQUIRE {
  704.     my $self = shift;
  705.     my $ptr = tied(%$self);
  706.     $OWNER{$ptr} = 1;
  707. }
  708.  
  709.  
  710. ############# Class : LibStorage::MdInfo ##############
  711.  
  712. package LibStorage::MdInfo;
  713. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  714. @ISA = qw( LibStorage );
  715. %OWNER = ();
  716. %ITERATORS = ();
  717. sub new {
  718.     my $pkg = shift;
  719.     my $self = LibStoragec::new_MdInfo(@_);
  720.     bless $self, $pkg if defined($self);
  721. }
  722.  
  723. *swig_v_get = *LibStoragec::MdInfo_v_get;
  724. *swig_v_set = *LibStoragec::MdInfo_v_set;
  725. *swig_nr_get = *LibStoragec::MdInfo_nr_get;
  726. *swig_nr_set = *LibStoragec::MdInfo_nr_set;
  727. *swig_type_get = *LibStoragec::MdInfo_type_get;
  728. *swig_type_set = *LibStoragec::MdInfo_type_set;
  729. *swig_parity_get = *LibStoragec::MdInfo_parity_get;
  730. *swig_parity_set = *LibStoragec::MdInfo_parity_set;
  731. *swig_uuid_get = *LibStoragec::MdInfo_uuid_get;
  732. *swig_uuid_set = *LibStoragec::MdInfo_uuid_set;
  733. *swig_chunk_get = *LibStoragec::MdInfo_chunk_get;
  734. *swig_chunk_set = *LibStoragec::MdInfo_chunk_set;
  735. *swig_devices_get = *LibStoragec::MdInfo_devices_get;
  736. *swig_devices_set = *LibStoragec::MdInfo_devices_set;
  737. sub DESTROY {
  738.     return unless $_[0]->isa('HASH');
  739.     my $self = tied(%{$_[0]});
  740.     return unless defined $self;
  741.     delete $ITERATORS{$self};
  742.     if (exists $OWNER{$self}) {
  743.         LibStoragec::delete_MdInfo($self);
  744.         delete $OWNER{$self};
  745.     }
  746. }
  747.  
  748. sub DISOWN {
  749.     my $self = shift;
  750.     my $ptr = tied(%$self);
  751.     delete $OWNER{$ptr};
  752. }
  753.  
  754. sub ACQUIRE {
  755.     my $self = shift;
  756.     my $ptr = tied(%$self);
  757.     $OWNER{$ptr} = 1;
  758. }
  759.  
  760.  
  761. ############# Class : LibStorage::LoopInfo ##############
  762.  
  763. package LibStorage::LoopInfo;
  764. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  765. @ISA = qw( LibStorage );
  766. %OWNER = ();
  767. %ITERATORS = ();
  768. sub new {
  769.     my $pkg = shift;
  770.     my $self = LibStoragec::new_LoopInfo(@_);
  771.     bless $self, $pkg if defined($self);
  772. }
  773.  
  774. *swig_v_get = *LibStoragec::LoopInfo_v_get;
  775. *swig_v_set = *LibStoragec::LoopInfo_v_set;
  776. *swig_reuseFile_get = *LibStoragec::LoopInfo_reuseFile_get;
  777. *swig_reuseFile_set = *LibStoragec::LoopInfo_reuseFile_set;
  778. *swig_nr_get = *LibStoragec::LoopInfo_nr_get;
  779. *swig_nr_set = *LibStoragec::LoopInfo_nr_set;
  780. *swig_file_get = *LibStoragec::LoopInfo_file_get;
  781. *swig_file_set = *LibStoragec::LoopInfo_file_set;
  782. sub DESTROY {
  783.     return unless $_[0]->isa('HASH');
  784.     my $self = tied(%{$_[0]});
  785.     return unless defined $self;
  786.     delete $ITERATORS{$self};
  787.     if (exists $OWNER{$self}) {
  788.         LibStoragec::delete_LoopInfo($self);
  789.         delete $OWNER{$self};
  790.     }
  791. }
  792.  
  793. sub DISOWN {
  794.     my $self = shift;
  795.     my $ptr = tied(%$self);
  796.     delete $OWNER{$ptr};
  797. }
  798.  
  799. sub ACQUIRE {
  800.     my $self = shift;
  801.     my $ptr = tied(%$self);
  802.     $OWNER{$ptr} = 1;
  803. }
  804.  
  805.  
  806. ############# Class : LibStorage::DmInfo ##############
  807.  
  808. package LibStorage::DmInfo;
  809. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  810. @ISA = qw( LibStorage );
  811. %OWNER = ();
  812. %ITERATORS = ();
  813. sub new {
  814.     my $pkg = shift;
  815.     my $self = LibStoragec::new_DmInfo(@_);
  816.     bless $self, $pkg if defined($self);
  817. }
  818.  
  819. *swig_v_get = *LibStoragec::DmInfo_v_get;
  820. *swig_v_set = *LibStoragec::DmInfo_v_set;
  821. *swig_nr_get = *LibStoragec::DmInfo_nr_get;
  822. *swig_nr_set = *LibStoragec::DmInfo_nr_set;
  823. *swig_table_get = *LibStoragec::DmInfo_table_get;
  824. *swig_table_set = *LibStoragec::DmInfo_table_set;
  825. *swig_target_get = *LibStoragec::DmInfo_target_get;
  826. *swig_target_set = *LibStoragec::DmInfo_target_set;
  827. sub DESTROY {
  828.     return unless $_[0]->isa('HASH');
  829.     my $self = tied(%{$_[0]});
  830.     return unless defined $self;
  831.     delete $ITERATORS{$self};
  832.     if (exists $OWNER{$self}) {
  833.         LibStoragec::delete_DmInfo($self);
  834.         delete $OWNER{$self};
  835.     }
  836. }
  837.  
  838. sub DISOWN {
  839.     my $self = shift;
  840.     my $ptr = tied(%$self);
  841.     delete $OWNER{$ptr};
  842. }
  843.  
  844. sub ACQUIRE {
  845.     my $self = shift;
  846.     my $ptr = tied(%$self);
  847.     $OWNER{$ptr} = 1;
  848. }
  849.  
  850.  
  851. ############# Class : LibStorage::DmPartInfo ##############
  852.  
  853. package LibStorage::DmPartInfo;
  854. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  855. @ISA = qw( LibStorage );
  856. %OWNER = ();
  857. %ITERATORS = ();
  858. sub new {
  859.     my $pkg = shift;
  860.     my $self = LibStoragec::new_DmPartInfo(@_);
  861.     bless $self, $pkg if defined($self);
  862. }
  863.  
  864. *swig_v_get = *LibStoragec::DmPartInfo_v_get;
  865. *swig_v_set = *LibStoragec::DmPartInfo_v_set;
  866. *swig_p_get = *LibStoragec::DmPartInfo_p_get;
  867. *swig_p_set = *LibStoragec::DmPartInfo_p_set;
  868. *swig_part_get = *LibStoragec::DmPartInfo_part_get;
  869. *swig_part_set = *LibStoragec::DmPartInfo_part_set;
  870. *swig_table_get = *LibStoragec::DmPartInfo_table_get;
  871. *swig_table_set = *LibStoragec::DmPartInfo_table_set;
  872. *swig_target_get = *LibStoragec::DmPartInfo_target_get;
  873. *swig_target_set = *LibStoragec::DmPartInfo_target_set;
  874. sub DESTROY {
  875.     return unless $_[0]->isa('HASH');
  876.     my $self = tied(%{$_[0]});
  877.     return unless defined $self;
  878.     delete $ITERATORS{$self};
  879.     if (exists $OWNER{$self}) {
  880.         LibStoragec::delete_DmPartInfo($self);
  881.         delete $OWNER{$self};
  882.     }
  883. }
  884.  
  885. sub DISOWN {
  886.     my $self = shift;
  887.     my $ptr = tied(%$self);
  888.     delete $OWNER{$ptr};
  889. }
  890.  
  891. sub ACQUIRE {
  892.     my $self = shift;
  893.     my $ptr = tied(%$self);
  894.     $OWNER{$ptr} = 1;
  895. }
  896.  
  897.  
  898. ############# Class : LibStorage::DmraidInfo ##############
  899.  
  900. package LibStorage::DmraidInfo;
  901. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  902. @ISA = qw( LibStorage );
  903. %OWNER = ();
  904. %ITERATORS = ();
  905. sub new {
  906.     my $pkg = shift;
  907.     my $self = LibStoragec::new_DmraidInfo(@_);
  908.     bless $self, $pkg if defined($self);
  909. }
  910.  
  911. *swig_p_get = *LibStoragec::DmraidInfo_p_get;
  912. *swig_p_set = *LibStoragec::DmraidInfo_p_set;
  913. sub DESTROY {
  914.     return unless $_[0]->isa('HASH');
  915.     my $self = tied(%{$_[0]});
  916.     return unless defined $self;
  917.     delete $ITERATORS{$self};
  918.     if (exists $OWNER{$self}) {
  919.         LibStoragec::delete_DmraidInfo($self);
  920.         delete $OWNER{$self};
  921.     }
  922. }
  923.  
  924. sub DISOWN {
  925.     my $self = shift;
  926.     my $ptr = tied(%$self);
  927.     delete $OWNER{$ptr};
  928. }
  929.  
  930. sub ACQUIRE {
  931.     my $self = shift;
  932.     my $ptr = tied(%$self);
  933.     $OWNER{$ptr} = 1;
  934. }
  935.  
  936.  
  937. ############# Class : LibStorage::StorageInterface ##############
  938.  
  939. package LibStorage::StorageInterface;
  940. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  941. @ISA = qw( LibStorage );
  942. %OWNER = ();
  943. %ITERATORS = ();
  944. sub DESTROY {
  945.     return unless $_[0]->isa('HASH');
  946.     my $self = tied(%{$_[0]});
  947.     return unless defined $self;
  948.     delete $ITERATORS{$self};
  949.     if (exists $OWNER{$self}) {
  950.         LibStoragec::delete_StorageInterface($self);
  951.         delete $OWNER{$self};
  952.     }
  953. }
  954.  
  955. *getContainers = *LibStoragec::StorageInterface_getContainers;
  956. *getDiskInfo = *LibStoragec::StorageInterface_getDiskInfo;
  957. *getContDiskInfo = *LibStoragec::StorageInterface_getContDiskInfo;
  958. *getLvmVgInfo = *LibStoragec::StorageInterface_getLvmVgInfo;
  959. *getContLvmVgInfo = *LibStoragec::StorageInterface_getContLvmVgInfo;
  960. *getEvmsCoInfo = *LibStoragec::StorageInterface_getEvmsCoInfo;
  961. *getContEvmsCoInfo = *LibStoragec::StorageInterface_getContEvmsCoInfo;
  962. *getDmraidCoInfo = *LibStoragec::StorageInterface_getDmraidCoInfo;
  963. *getContDmraidCoInfo = *LibStoragec::StorageInterface_getContDmraidCoInfo;
  964. *getVolumes = *LibStoragec::StorageInterface_getVolumes;
  965. *getVolume = *LibStoragec::StorageInterface_getVolume;
  966. *getPartitionInfo = *LibStoragec::StorageInterface_getPartitionInfo;
  967. *getLvmLvInfo = *LibStoragec::StorageInterface_getLvmLvInfo;
  968. *getEvmsInfo = *LibStoragec::StorageInterface_getEvmsInfo;
  969. *getMdInfo = *LibStoragec::StorageInterface_getMdInfo;
  970. *getLoopInfo = *LibStoragec::StorageInterface_getLoopInfo;
  971. *getDmInfo = *LibStoragec::StorageInterface_getDmInfo;
  972. *getDmraidInfo = *LibStoragec::StorageInterface_getDmraidInfo;
  973. *getFsCapabilities = *LibStoragec::StorageInterface_getFsCapabilities;
  974. *printInfo = *LibStoragec::StorageInterface_printInfo;
  975. *printInfoCo = *LibStoragec::StorageInterface_printInfoCo;
  976. *createPartition = *LibStoragec::StorageInterface_createPartition;
  977. *resizePartition = *LibStoragec::StorageInterface_resizePartition;
  978. *resizePartitionNoFs = *LibStoragec::StorageInterface_resizePartitionNoFs;
  979. *updatePartitionArea = *LibStoragec::StorageInterface_updatePartitionArea;
  980. *nextFreePartition = *LibStoragec::StorageInterface_nextFreePartition;
  981. *createPartitionKb = *LibStoragec::StorageInterface_createPartitionKb;
  982. *createPartitionAny = *LibStoragec::StorageInterface_createPartitionAny;
  983. *createPartitionMax = *LibStoragec::StorageInterface_createPartitionMax;
  984. *cylinderToKb = *LibStoragec::StorageInterface_cylinderToKb;
  985. *kbToCylinder = *LibStoragec::StorageInterface_kbToCylinder;
  986. *removePartition = *LibStoragec::StorageInterface_removePartition;
  987. *changePartitionId = *LibStoragec::StorageInterface_changePartitionId;
  988. *forgetChangePartitionId = *LibStoragec::StorageInterface_forgetChangePartitionId;
  989. *destroyPartitionTable = *LibStoragec::StorageInterface_destroyPartitionTable;
  990. *initializeDisk = *LibStoragec::StorageInterface_initializeDisk;
  991. *defaultDiskLabel = *LibStoragec::StorageInterface_defaultDiskLabel;
  992. *changeFormatVolume = *LibStoragec::StorageInterface_changeFormatVolume;
  993. *changeLabelVolume = *LibStoragec::StorageInterface_changeLabelVolume;
  994. *changeMkfsOptVolume = *LibStoragec::StorageInterface_changeMkfsOptVolume;
  995. *changeMountPoint = *LibStoragec::StorageInterface_changeMountPoint;
  996. *getMountPoint = *LibStoragec::StorageInterface_getMountPoint;
  997. *changeMountBy = *LibStoragec::StorageInterface_changeMountBy;
  998. *getMountBy = *LibStoragec::StorageInterface_getMountBy;
  999. *changeFstabOptions = *LibStoragec::StorageInterface_changeFstabOptions;
  1000. *getFstabOptions = *LibStoragec::StorageInterface_getFstabOptions;
  1001. *addFstabOptions = *LibStoragec::StorageInterface_addFstabOptions;
  1002. *removeFstabOptions = *LibStoragec::StorageInterface_removeFstabOptions;
  1003. *setCryptPassword = *LibStoragec::StorageInterface_setCryptPassword;
  1004. *forgetCryptPassword = *LibStoragec::StorageInterface_forgetCryptPassword;
  1005. *getCryptPassword = *LibStoragec::StorageInterface_getCryptPassword;
  1006. *setCrypt = *LibStoragec::StorageInterface_setCrypt;
  1007. *getCrypt = *LibStoragec::StorageInterface_getCrypt;
  1008. *setIgnoreFstab = *LibStoragec::StorageInterface_setIgnoreFstab;
  1009. *getIgnoreFstab = *LibStoragec::StorageInterface_getIgnoreFstab;
  1010. *changeDescText = *LibStoragec::StorageInterface_changeDescText;
  1011. *addFstabEntry = *LibStoragec::StorageInterface_addFstabEntry;
  1012. *resizeVolume = *LibStoragec::StorageInterface_resizeVolume;
  1013. *resizeVolumeNoFs = *LibStoragec::StorageInterface_resizeVolumeNoFs;
  1014. *forgetResizeVolume = *LibStoragec::StorageInterface_forgetResizeVolume;
  1015. *setRecursiveRemoval = *LibStoragec::StorageInterface_setRecursiveRemoval;
  1016. *getRecursiveRemoval = *LibStoragec::StorageInterface_getRecursiveRemoval;
  1017. *setZeroNewPartitions = *LibStoragec::StorageInterface_setZeroNewPartitions;
  1018. *getZeroNewPartitions = *LibStoragec::StorageInterface_getZeroNewPartitions;
  1019. *setDefaultMountBy = *LibStoragec::StorageInterface_setDefaultMountBy;
  1020. *getDefaultMountBy = *LibStoragec::StorageInterface_getDefaultMountBy;
  1021. *setRootPrefix = *LibStoragec::StorageInterface_setRootPrefix;
  1022. *setDetectMountedVolumes = *LibStoragec::StorageInterface_setDetectMountedVolumes;
  1023. *getDetectMountedVolumes = *LibStoragec::StorageInterface_getDetectMountedVolumes;
  1024. *removeVolume = *LibStoragec::StorageInterface_removeVolume;
  1025. *createLvmVg = *LibStoragec::StorageInterface_createLvmVg;
  1026. *removeLvmVg = *LibStoragec::StorageInterface_removeLvmVg;
  1027. *extendLvmVg = *LibStoragec::StorageInterface_extendLvmVg;
  1028. *shrinkLvmVg = *LibStoragec::StorageInterface_shrinkLvmVg;
  1029. *createLvmLv = *LibStoragec::StorageInterface_createLvmLv;
  1030. *removeLvmLvByDevice = *LibStoragec::StorageInterface_removeLvmLvByDevice;
  1031. *removeLvmLv = *LibStoragec::StorageInterface_removeLvmLv;
  1032. *changeLvStripeSize = *LibStoragec::StorageInterface_changeLvStripeSize;
  1033. *createEvmsContainer = *LibStoragec::StorageInterface_createEvmsContainer;
  1034. *modifyEvmsContainer = *LibStoragec::StorageInterface_modifyEvmsContainer;
  1035. *removeEvmsContainer = *LibStoragec::StorageInterface_removeEvmsContainer;
  1036. *extendEvmsContainer = *LibStoragec::StorageInterface_extendEvmsContainer;
  1037. *shrinkEvmsContainer = *LibStoragec::StorageInterface_shrinkEvmsContainer;
  1038. *createEvmsVolume = *LibStoragec::StorageInterface_createEvmsVolume;
  1039. *removeEvmsVolumeByDevice = *LibStoragec::StorageInterface_removeEvmsVolumeByDevice;
  1040. *removeEvmsVolume = *LibStoragec::StorageInterface_removeEvmsVolume;
  1041. *changeEvmsStripeSize = *LibStoragec::StorageInterface_changeEvmsStripeSize;
  1042. *evmsActivate = *LibStoragec::StorageInterface_evmsActivate;
  1043. *createMd = *LibStoragec::StorageInterface_createMd;
  1044. *createMdAny = *LibStoragec::StorageInterface_createMdAny;
  1045. *removeMd = *LibStoragec::StorageInterface_removeMd;
  1046. *extendMd = *LibStoragec::StorageInterface_extendMd;
  1047. *shrinkMd = *LibStoragec::StorageInterface_shrinkMd;
  1048. *changeMdType = *LibStoragec::StorageInterface_changeMdType;
  1049. *changeMdChunk = *LibStoragec::StorageInterface_changeMdChunk;
  1050. *changeMdParity = *LibStoragec::StorageInterface_changeMdParity;
  1051. *checkMd = *LibStoragec::StorageInterface_checkMd;
  1052. *createFileLoop = *LibStoragec::StorageInterface_createFileLoop;
  1053. *modifyFileLoop = *LibStoragec::StorageInterface_modifyFileLoop;
  1054. *removeFileLoop = *LibStoragec::StorageInterface_removeFileLoop;
  1055. *removeDmraid = *LibStoragec::StorageInterface_removeDmraid;
  1056. *getCommitActions = *LibStoragec::StorageInterface_getCommitActions;
  1057. *getLastAction = *LibStoragec::StorageInterface_getLastAction;
  1058. *getExtendedErrorMessage = *LibStoragec::StorageInterface_getExtendedErrorMessage;
  1059. *setCacheChanges = *LibStoragec::StorageInterface_setCacheChanges;
  1060. *isCacheChanges = *LibStoragec::StorageInterface_isCacheChanges;
  1061. *commit = *LibStoragec::StorageInterface_commit;
  1062. *createBackupState = *LibStoragec::StorageInterface_createBackupState;
  1063. *restoreBackupState = *LibStoragec::StorageInterface_restoreBackupState;
  1064. *checkBackupState = *LibStoragec::StorageInterface_checkBackupState;
  1065. *equalBackupStates = *LibStoragec::StorageInterface_equalBackupStates;
  1066. *removeBackupState = *LibStoragec::StorageInterface_removeBackupState;
  1067. *checkDeviceMounted = *LibStoragec::StorageInterface_checkDeviceMounted;
  1068. *umountDevice = *LibStoragec::StorageInterface_umountDevice;
  1069. *mountDevice = *LibStoragec::StorageInterface_mountDevice;
  1070. *checkDmMapsTo = *LibStoragec::StorageInterface_checkDmMapsTo;
  1071. *removeDmMapsTo = *LibStoragec::StorageInterface_removeDmMapsTo;
  1072. *getFreeInfo = *LibStoragec::StorageInterface_getFreeInfo;
  1073. *readFstab = *LibStoragec::StorageInterface_readFstab;
  1074. *activateHld = *LibStoragec::StorageInterface_activateHld;
  1075. *rescanEverything = *LibStoragec::StorageInterface_rescanEverything;
  1076. *dumpObjectList = *LibStoragec::StorageInterface_dumpObjectList;
  1077. sub DISOWN {
  1078.     my $self = shift;
  1079.     my $ptr = tied(%$self);
  1080.     delete $OWNER{$ptr};
  1081. }
  1082.  
  1083. sub ACQUIRE {
  1084.     my $self = shift;
  1085.     my $ptr = tied(%$self);
  1086.     $OWNER{$ptr} = 1;
  1087. }
  1088.  
  1089.  
  1090. # ------- VARIABLE STUBS --------
  1091.  
  1092. package LibStorage;
  1093.  
  1094. *FSUNKNOWN = *LibStoragec::FSUNKNOWN;
  1095. *REISERFS = *LibStoragec::REISERFS;
  1096. *EXT2 = *LibStoragec::EXT2;
  1097. *EXT3 = *LibStoragec::EXT3;
  1098. *VFAT = *LibStoragec::VFAT;
  1099. *XFS = *LibStoragec::XFS;
  1100. *JFS = *LibStoragec::JFS;
  1101. *HFS = *LibStoragec::HFS;
  1102. *NTFS = *LibStoragec::NTFS;
  1103. *SWAP = *LibStoragec::SWAP;
  1104. *FSNONE = *LibStoragec::FSNONE;
  1105. *PRIMARY = *LibStoragec::PRIMARY;
  1106. *EXTENDED = *LibStoragec::EXTENDED;
  1107. *LOGICAL = *LibStoragec::LOGICAL;
  1108. *PTYPE_ANY = *LibStoragec::PTYPE_ANY;
  1109. *MOUNTBY_DEVICE = *LibStoragec::MOUNTBY_DEVICE;
  1110. *MOUNTBY_UUID = *LibStoragec::MOUNTBY_UUID;
  1111. *MOUNTBY_LABEL = *LibStoragec::MOUNTBY_LABEL;
  1112. *MOUNTBY_ID = *LibStoragec::MOUNTBY_ID;
  1113. *MOUNTBY_PATH = *LibStoragec::MOUNTBY_PATH;
  1114. *ENC_NONE = *LibStoragec::ENC_NONE;
  1115. *ENC_TWOFISH = *LibStoragec::ENC_TWOFISH;
  1116. *ENC_TWOFISH_OLD = *LibStoragec::ENC_TWOFISH_OLD;
  1117. *ENC_TWOFISH256_OLD = *LibStoragec::ENC_TWOFISH256_OLD;
  1118. *ENC_UNKNOWN = *LibStoragec::ENC_UNKNOWN;
  1119. *RAID_UNK = *LibStoragec::RAID_UNK;
  1120. *RAID0 = *LibStoragec::RAID0;
  1121. *RAID1 = *LibStoragec::RAID1;
  1122. *RAID5 = *LibStoragec::RAID5;
  1123. *RAID6 = *LibStoragec::RAID6;
  1124. *RAID10 = *LibStoragec::RAID10;
  1125. *MULTIPATH = *LibStoragec::MULTIPATH;
  1126. *PAR_NONE = *LibStoragec::PAR_NONE;
  1127. *LEFT_ASYMMETRIC = *LibStoragec::LEFT_ASYMMETRIC;
  1128. *LEFT_SYMMETRIC = *LibStoragec::LEFT_SYMMETRIC;
  1129. *RIGHT_ASYMMETRIC = *LibStoragec::RIGHT_ASYMMETRIC;
  1130. *RIGHT_SYMMETRIC = *LibStoragec::RIGHT_SYMMETRIC;
  1131. *UB_NONE = *LibStoragec::UB_NONE;
  1132. *UB_LVM = *LibStoragec::UB_LVM;
  1133. *UB_MD = *LibStoragec::UB_MD;
  1134. *UB_EVMS = *LibStoragec::UB_EVMS;
  1135. *UB_DM = *LibStoragec::UB_DM;
  1136. *UB_DMRAID = *LibStoragec::UB_DMRAID;
  1137. *CUNKNOWN = *LibStoragec::CUNKNOWN;
  1138. *DISK = *LibStoragec::DISK;
  1139. *MD = *LibStoragec::MD;
  1140. *LOOP = *LibStoragec::LOOP;
  1141. *LVM = *LibStoragec::LVM;
  1142. *DM = *LibStoragec::DM;
  1143. *EVMS = *LibStoragec::EVMS;
  1144. *DMRAID = *LibStoragec::DMRAID;
  1145. *COTYPE_LAST_ENTRY = *LibStoragec::COTYPE_LAST_ENTRY;
  1146. *DISK_PARTITION_OVERLAPS_EXISTING = *LibStoragec::DISK_PARTITION_OVERLAPS_EXISTING;
  1147. *DISK_PARTITION_EXCEEDS_DISK = *LibStoragec::DISK_PARTITION_EXCEEDS_DISK;
  1148. *DISK_CREATE_PARTITION_EXT_ONLY_ONCE = *LibStoragec::DISK_CREATE_PARTITION_EXT_ONLY_ONCE;
  1149. *DISK_CREATE_PARTITION_EXT_IMPOSSIBLE = *LibStoragec::DISK_CREATE_PARTITION_EXT_IMPOSSIBLE;
  1150. *DISK_PARTITION_NO_FREE_NUMBER = *LibStoragec::DISK_PARTITION_NO_FREE_NUMBER;
  1151. *DISK_CREATE_PARTITION_INVALID_VOLUME = *LibStoragec::DISK_CREATE_PARTITION_INVALID_VOLUME;
  1152. *DISK_CREATE_PARTITION_INVALID_TYPE = *LibStoragec::DISK_CREATE_PARTITION_INVALID_TYPE;
  1153. *DISK_CREATE_PARTITION_PARTED_FAILED = *LibStoragec::DISK_CREATE_PARTITION_PARTED_FAILED;
  1154. *DISK_PARTITION_NOT_FOUND = *LibStoragec::DISK_PARTITION_NOT_FOUND;
  1155. *DISK_CREATE_PARTITION_LOGICAL_NO_EXT = *LibStoragec::DISK_CREATE_PARTITION_LOGICAL_NO_EXT;
  1156. *DISK_PARTITION_LOGICAL_OUTSIDE_EXT = *LibStoragec::DISK_PARTITION_LOGICAL_OUTSIDE_EXT;
  1157. *DISK_SET_TYPE_INVALID_VOLUME = *LibStoragec::DISK_SET_TYPE_INVALID_VOLUME;
  1158. *DISK_SET_TYPE_PARTED_FAILED = *LibStoragec::DISK_SET_TYPE_PARTED_FAILED;
  1159. *DISK_SET_LABEL_PARTED_FAILED = *LibStoragec::DISK_SET_LABEL_PARTED_FAILED;
  1160. *DISK_REMOVE_PARTITION_PARTED_FAILED = *LibStoragec::DISK_REMOVE_PARTITION_PARTED_FAILED;
  1161. *DISK_REMOVE_PARTITION_INVALID_VOLUME = *LibStoragec::DISK_REMOVE_PARTITION_INVALID_VOLUME;
  1162. *DISK_REMOVE_PARTITION_LIST_ERASE = *LibStoragec::DISK_REMOVE_PARTITION_LIST_ERASE;
  1163. *DISK_DESTROY_TABLE_INVALID_LABEL = *LibStoragec::DISK_DESTROY_TABLE_INVALID_LABEL;
  1164. *DISK_PARTITION_ZERO_SIZE = *LibStoragec::DISK_PARTITION_ZERO_SIZE;
  1165. *DISK_CHANGE_READONLY = *LibStoragec::DISK_CHANGE_READONLY;
  1166. *DISK_RESIZE_PARTITION_INVALID_VOLUME = *LibStoragec::DISK_RESIZE_PARTITION_INVALID_VOLUME;
  1167. *DISK_RESIZE_PARTITION_PARTED_FAILED = *LibStoragec::DISK_RESIZE_PARTITION_PARTED_FAILED;
  1168. *DISK_RESIZE_NO_SPACE = *LibStoragec::DISK_RESIZE_NO_SPACE;
  1169. *DISK_CHECK_RESIZE_INVALID_VOLUME = *LibStoragec::DISK_CHECK_RESIZE_INVALID_VOLUME;
  1170. *DISK_REMOVE_PARTITION_CREATE_NOT_FOUND = *LibStoragec::DISK_REMOVE_PARTITION_CREATE_NOT_FOUND;
  1171. *DISK_COMMIT_NOTHING_TODO = *LibStoragec::DISK_COMMIT_NOTHING_TODO;
  1172. *DISK_CREATE_PARTITION_NO_SPACE = *LibStoragec::DISK_CREATE_PARTITION_NO_SPACE;
  1173. *DISK_REMOVE_USED_BY = *LibStoragec::DISK_REMOVE_USED_BY;
  1174. *DISK_INIT_NOT_POSSIBLE = *LibStoragec::DISK_INIT_NOT_POSSIBLE;
  1175. *STORAGE_DISK_NOT_FOUND = *LibStoragec::STORAGE_DISK_NOT_FOUND;
  1176. *STORAGE_VOLUME_NOT_FOUND = *LibStoragec::STORAGE_VOLUME_NOT_FOUND;
  1177. *STORAGE_REMOVE_PARTITION_INVALID_CONTAINER = *LibStoragec::STORAGE_REMOVE_PARTITION_INVALID_CONTAINER;
  1178. *STORAGE_CHANGE_PARTITION_ID_INVALID_CONTAINER = *LibStoragec::STORAGE_CHANGE_PARTITION_ID_INVALID_CONTAINER;
  1179. *STORAGE_CHANGE_READONLY = *LibStoragec::STORAGE_CHANGE_READONLY;
  1180. *STORAGE_DISK_USED_BY = *LibStoragec::STORAGE_DISK_USED_BY;
  1181. *STORAGE_LVM_VG_EXISTS = *LibStoragec::STORAGE_LVM_VG_EXISTS;
  1182. *STORAGE_LVM_VG_NOT_FOUND = *LibStoragec::STORAGE_LVM_VG_NOT_FOUND;
  1183. *STORAGE_LVM_INVALID_DEVICE = *LibStoragec::STORAGE_LVM_INVALID_DEVICE;
  1184. *STORAGE_CONTAINER_NOT_FOUND = *LibStoragec::STORAGE_CONTAINER_NOT_FOUND;
  1185. *STORAGE_VG_INVALID_NAME = *LibStoragec::STORAGE_VG_INVALID_NAME;
  1186. *STORAGE_REMOVE_USED_VOLUME = *LibStoragec::STORAGE_REMOVE_USED_VOLUME;
  1187. *STORAGE_REMOVE_USING_UNKNOWN_TYPE = *LibStoragec::STORAGE_REMOVE_USING_UNKNOWN_TYPE;
  1188. *STORAGE_NOT_YET_IMPLEMENTED = *LibStoragec::STORAGE_NOT_YET_IMPLEMENTED;
  1189. *STORAGE_MD_INVALID_NAME = *LibStoragec::STORAGE_MD_INVALID_NAME;
  1190. *STORAGE_MD_NOT_FOUND = *LibStoragec::STORAGE_MD_NOT_FOUND;
  1191. *STORAGE_MEMORY_EXHAUSTED = *LibStoragec::STORAGE_MEMORY_EXHAUSTED;
  1192. *STORAGE_LOOP_NOT_FOUND = *LibStoragec::STORAGE_LOOP_NOT_FOUND;
  1193. *STORAGE_CREATED_LOOP_NOT_FOUND = *LibStoragec::STORAGE_CREATED_LOOP_NOT_FOUND;
  1194. *STORAGE_EVMS_INVALID_NAME = *LibStoragec::STORAGE_EVMS_INVALID_NAME;
  1195. *STORAGE_EVMS_CO_EXISTS = *LibStoragec::STORAGE_EVMS_CO_EXISTS;
  1196. *STORAGE_EVMS_CO_NOT_FOUND = *LibStoragec::STORAGE_EVMS_CO_NOT_FOUND;
  1197. *STORAGE_EVMS_INVALID_DEVICE = *LibStoragec::STORAGE_EVMS_INVALID_DEVICE;
  1198. *STORAGE_CHANGE_AREA_INVALID_CONTAINER = *LibStoragec::STORAGE_CHANGE_AREA_INVALID_CONTAINER;
  1199. *STORAGE_BACKUP_STATE_NOT_FOUND = *LibStoragec::STORAGE_BACKUP_STATE_NOT_FOUND;
  1200. *STORAGE_INVALID_FSTAB_VALUE = *LibStoragec::STORAGE_INVALID_FSTAB_VALUE;
  1201. *STORAGE_NO_FSTAB_PTR = *LibStoragec::STORAGE_NO_FSTAB_PTR;
  1202. *STORAGE_DEVICE_NODE_NOT_FOUND = *LibStoragec::STORAGE_DEVICE_NODE_NOT_FOUND;
  1203. *STORAGE_DMRAID_CO_NOT_FOUND = *LibStoragec::STORAGE_DMRAID_CO_NOT_FOUND;
  1204. *STORAGE_RESIZE_INVALID_CONTAINER = *LibStoragec::STORAGE_RESIZE_INVALID_CONTAINER;
  1205. *VOLUME_COMMIT_UNKNOWN_STAGE = *LibStoragec::VOLUME_COMMIT_UNKNOWN_STAGE;
  1206. *VOLUME_FSTAB_EMPTY_MOUNT = *LibStoragec::VOLUME_FSTAB_EMPTY_MOUNT;
  1207. *VOLUME_UMOUNT_FAILED = *LibStoragec::VOLUME_UMOUNT_FAILED;
  1208. *VOLUME_MOUNT_FAILED = *LibStoragec::VOLUME_MOUNT_FAILED;
  1209. *VOLUME_FORMAT_DD_FAILED = *LibStoragec::VOLUME_FORMAT_DD_FAILED;
  1210. *VOLUME_FORMAT_UNKNOWN_FS = *LibStoragec::VOLUME_FORMAT_UNKNOWN_FS;
  1211. *VOLUME_FORMAT_FS_UNDETECTED = *LibStoragec::VOLUME_FORMAT_FS_UNDETECTED;
  1212. *VOLUME_FORMAT_FS_TOO_SMALL = *LibStoragec::VOLUME_FORMAT_FS_TOO_SMALL;
  1213. *VOLUME_FORMAT_FAILED = *LibStoragec::VOLUME_FORMAT_FAILED;
  1214. *VOLUME_TUNE2FS_FAILED = *LibStoragec::VOLUME_TUNE2FS_FAILED;
  1215. *VOLUME_MKLABEL_FS_UNABLE = *LibStoragec::VOLUME_MKLABEL_FS_UNABLE;
  1216. *VOLUME_MKLABEL_FAILED = *LibStoragec::VOLUME_MKLABEL_FAILED;
  1217. *VOLUME_LOSETUP_NO_LOOP = *LibStoragec::VOLUME_LOSETUP_NO_LOOP;
  1218. *VOLUME_LOSETUP_FAILED = *LibStoragec::VOLUME_LOSETUP_FAILED;
  1219. *VOLUME_CRYPT_NO_PWD = *LibStoragec::VOLUME_CRYPT_NO_PWD;
  1220. *VOLUME_CRYPT_PWD_TOO_SHORT = *LibStoragec::VOLUME_CRYPT_PWD_TOO_SHORT;
  1221. *VOLUME_CRYPT_NOT_DETECTED = *LibStoragec::VOLUME_CRYPT_NOT_DETECTED;
  1222. *VOLUME_FORMAT_EXTENDED_UNSUPPORTED = *LibStoragec::VOLUME_FORMAT_EXTENDED_UNSUPPORTED;
  1223. *VOLUME_MOUNT_EXTENDED_UNSUPPORTED = *LibStoragec::VOLUME_MOUNT_EXTENDED_UNSUPPORTED;
  1224. *VOLUME_MOUNT_POINT_INVALID = *LibStoragec::VOLUME_MOUNT_POINT_INVALID;
  1225. *VOLUME_MOUNTBY_NOT_ENCRYPTED = *LibStoragec::VOLUME_MOUNTBY_NOT_ENCRYPTED;
  1226. *VOLUME_MOUNTBY_UNSUPPORTED_BY_FS = *LibStoragec::VOLUME_MOUNTBY_UNSUPPORTED_BY_FS;
  1227. *VOLUME_LABEL_NOT_SUPPORTED = *LibStoragec::VOLUME_LABEL_NOT_SUPPORTED;
  1228. *VOLUME_LABEL_TOO_LONG = *LibStoragec::VOLUME_LABEL_TOO_LONG;
  1229. *VOLUME_LABEL_WHILE_MOUNTED = *LibStoragec::VOLUME_LABEL_WHILE_MOUNTED;
  1230. *VOLUME_RESIZE_UNSUPPORTED_BY_FS = *LibStoragec::VOLUME_RESIZE_UNSUPPORTED_BY_FS;
  1231. *VOLUME_RESIZE_UNSUPPORTED_BY_CONTAINER = *LibStoragec::VOLUME_RESIZE_UNSUPPORTED_BY_CONTAINER;
  1232. *VOLUME_RESIZE_FAILED = *LibStoragec::VOLUME_RESIZE_FAILED;
  1233. *VOLUME_ALREADY_IN_USE = *LibStoragec::VOLUME_ALREADY_IN_USE;
  1234. *VOLUME_LOUNSETUP_FAILED = *LibStoragec::VOLUME_LOUNSETUP_FAILED;
  1235. *VOLUME_DEVICE_NOT_PRESENT = *LibStoragec::VOLUME_DEVICE_NOT_PRESENT;
  1236. *VOLUME_DEVICE_NOT_BLOCK = *LibStoragec::VOLUME_DEVICE_NOT_BLOCK;
  1237. *VOLUME_MOUNTBY_UNSUPPORTED_BY_VOLUME = *LibStoragec::VOLUME_MOUNTBY_UNSUPPORTED_BY_VOLUME;
  1238. *LVM_CREATE_PV_FAILED = *LibStoragec::LVM_CREATE_PV_FAILED;
  1239. *LVM_PV_ALREADY_CONTAINED = *LibStoragec::LVM_PV_ALREADY_CONTAINED;
  1240. *LVM_PV_DEVICE_UNKNOWN = *LibStoragec::LVM_PV_DEVICE_UNKNOWN;
  1241. *LVM_PV_DEVICE_USED = *LibStoragec::LVM_PV_DEVICE_USED;
  1242. *LVM_VG_HAS_NONE_PV = *LibStoragec::LVM_VG_HAS_NONE_PV;
  1243. *LVM_LV_INVALID_NAME = *LibStoragec::LVM_LV_INVALID_NAME;
  1244. *LVM_LV_DUPLICATE_NAME = *LibStoragec::LVM_LV_DUPLICATE_NAME;
  1245. *LVM_LV_NO_SPACE = *LibStoragec::LVM_LV_NO_SPACE;
  1246. *LVM_LV_UNKNOWN_NAME = *LibStoragec::LVM_LV_UNKNOWN_NAME;
  1247. *LVM_LV_NOT_IN_LIST = *LibStoragec::LVM_LV_NOT_IN_LIST;
  1248. *LVM_VG_CREATE_FAILED = *LibStoragec::LVM_VG_CREATE_FAILED;
  1249. *LVM_VG_EXTEND_FAILED = *LibStoragec::LVM_VG_EXTEND_FAILED;
  1250. *LVM_VG_REDUCE_FAILED = *LibStoragec::LVM_VG_REDUCE_FAILED;
  1251. *LVM_VG_REMOVE_FAILED = *LibStoragec::LVM_VG_REMOVE_FAILED;
  1252. *LVM_LV_CREATE_FAILED = *LibStoragec::LVM_LV_CREATE_FAILED;
  1253. *LVM_LV_REMOVE_FAILED = *LibStoragec::LVM_LV_REMOVE_FAILED;
  1254. *LVM_LV_RESIZE_FAILED = *LibStoragec::LVM_LV_RESIZE_FAILED;
  1255. *LVM_PV_STILL_ADDED = *LibStoragec::LVM_PV_STILL_ADDED;
  1256. *LVM_PV_REMOVE_NOT_FOUND = *LibStoragec::LVM_PV_REMOVE_NOT_FOUND;
  1257. *LVM_CREATE_LV_INVALID_VOLUME = *LibStoragec::LVM_CREATE_LV_INVALID_VOLUME;
  1258. *LVM_REMOVE_LV_INVALID_VOLUME = *LibStoragec::LVM_REMOVE_LV_INVALID_VOLUME;
  1259. *LVM_RESIZE_LV_INVALID_VOLUME = *LibStoragec::LVM_RESIZE_LV_INVALID_VOLUME;
  1260. *LVM_CHANGE_READONLY = *LibStoragec::LVM_CHANGE_READONLY;
  1261. *LVM_CHECK_RESIZE_INVALID_VOLUME = *LibStoragec::LVM_CHECK_RESIZE_INVALID_VOLUME;
  1262. *LVM_COMMIT_NOTHING_TODO = *LibStoragec::LVM_COMMIT_NOTHING_TODO;
  1263. *LVM_LV_REMOVE_USED_BY = *LibStoragec::LVM_LV_REMOVE_USED_BY;
  1264. *LVM_LV_ALREADY_ON_DISK = *LibStoragec::LVM_LV_ALREADY_ON_DISK;
  1265. *LVM_LV_NO_STRIPE_SIZE = *LibStoragec::LVM_LV_NO_STRIPE_SIZE;
  1266. *FSTAB_ENTRY_NOT_FOUND = *LibStoragec::FSTAB_ENTRY_NOT_FOUND;
  1267. *FSTAB_CHANGE_PREFIX_IMPOSSIBLE = *LibStoragec::FSTAB_CHANGE_PREFIX_IMPOSSIBLE;
  1268. *FSTAB_REMOVE_ENTRY_NOT_FOUND = *LibStoragec::FSTAB_REMOVE_ENTRY_NOT_FOUND;
  1269. *FSTAB_UPDATE_ENTRY_NOT_FOUND = *LibStoragec::FSTAB_UPDATE_ENTRY_NOT_FOUND;
  1270. *FSTAB_ADD_ENTRY_FOUND = *LibStoragec::FSTAB_ADD_ENTRY_FOUND;
  1271. *MD_CHANGE_READONLY = *LibStoragec::MD_CHANGE_READONLY;
  1272. *MD_DUPLICATE_NUMBER = *LibStoragec::MD_DUPLICATE_NUMBER;
  1273. *MD_TOO_FEW_DEVICES = *LibStoragec::MD_TOO_FEW_DEVICES;
  1274. *MD_DEVICE_UNKNOWN = *LibStoragec::MD_DEVICE_UNKNOWN;
  1275. *MD_DEVICE_USED = *LibStoragec::MD_DEVICE_USED;
  1276. *MD_CREATE_INVALID_VOLUME = *LibStoragec::MD_CREATE_INVALID_VOLUME;
  1277. *MD_REMOVE_FAILED = *LibStoragec::MD_REMOVE_FAILED;
  1278. *MD_NOT_IN_LIST = *LibStoragec::MD_NOT_IN_LIST;
  1279. *MD_CREATE_FAILED = *LibStoragec::MD_CREATE_FAILED;
  1280. *MD_UNKNOWN_NUMBER = *LibStoragec::MD_UNKNOWN_NUMBER;
  1281. *MD_REMOVE_USED_BY = *LibStoragec::MD_REMOVE_USED_BY;
  1282. *MD_NUMBER_TOO_LARGE = *LibStoragec::MD_NUMBER_TOO_LARGE;
  1283. *MD_REMOVE_INVALID_VOLUME = *LibStoragec::MD_REMOVE_INVALID_VOLUME;
  1284. *MD_REMOVE_CREATE_NOT_FOUND = *LibStoragec::MD_REMOVE_CREATE_NOT_FOUND;
  1285. *MD_NO_RESIZE_ON_DISK = *LibStoragec::MD_NO_RESIZE_ON_DISK;
  1286. *MD_ADD_DUPLICATE = *LibStoragec::MD_ADD_DUPLICATE;
  1287. *MD_REMOVE_NONEXISTENT = *LibStoragec::MD_REMOVE_NONEXISTENT;
  1288. *MD_NO_CHANGE_ON_DISK = *LibStoragec::MD_NO_CHANGE_ON_DISK;
  1289. *MD_NO_CREATE_UNKNOWN = *LibStoragec::MD_NO_CREATE_UNKNOWN;
  1290. *LOOP_CHANGE_READONLY = *LibStoragec::LOOP_CHANGE_READONLY;
  1291. *LOOP_DUPLICATE_FILE = *LibStoragec::LOOP_DUPLICATE_FILE;
  1292. *LOOP_UNKNOWN_FILE = *LibStoragec::LOOP_UNKNOWN_FILE;
  1293. *LOOP_REMOVE_USED_BY = *LibStoragec::LOOP_REMOVE_USED_BY;
  1294. *LOOP_FILE_CREATE_FAILED = *LibStoragec::LOOP_FILE_CREATE_FAILED;
  1295. *LOOP_CREATE_INVALID_VOLUME = *LibStoragec::LOOP_CREATE_INVALID_VOLUME;
  1296. *LOOP_REMOVE_FILE_FAILED = *LibStoragec::LOOP_REMOVE_FILE_FAILED;
  1297. *LOOP_REMOVE_INVALID_VOLUME = *LibStoragec::LOOP_REMOVE_INVALID_VOLUME;
  1298. *LOOP_NOT_IN_LIST = *LibStoragec::LOOP_NOT_IN_LIST;
  1299. *LOOP_REMOVE_CREATE_NOT_FOUND = *LibStoragec::LOOP_REMOVE_CREATE_NOT_FOUND;
  1300. *LOOP_MODIFY_EXISTING = *LibStoragec::LOOP_MODIFY_EXISTING;
  1301. *EVMS_HELPER_UNKNOWN_CMD = *LibStoragec::EVMS_HELPER_UNKNOWN_CMD;
  1302. *EVMS_UNSUPPORTED_CONTAINER_TYPE = *LibStoragec::EVMS_UNSUPPORTED_CONTAINER_TYPE;
  1303. *EVMS_MALLOC_FAILED = *LibStoragec::EVMS_MALLOC_FAILED;
  1304. *EVMS_INVALID_PHYSICAL_VOLUME = *LibStoragec::EVMS_INVALID_PHYSICAL_VOLUME;
  1305. *EVMS_PHYSICAL_VOLUME_IN_USE = *LibStoragec::EVMS_PHYSICAL_VOLUME_IN_USE;
  1306. *EVMS_PLUGIN_NOT_FOUND = *LibStoragec::EVMS_PLUGIN_NOT_FOUND;
  1307. *EVMS_CREATE_CONTAINER_FAILED = *LibStoragec::EVMS_CREATE_CONTAINER_FAILED;
  1308. *EVMS_RESIZE_VOLUME_NOT_FOUND = *LibStoragec::EVMS_RESIZE_VOLUME_NOT_FOUND;
  1309. *EVMS_RESIZE_CONTAINER_NOT_FOUND = *LibStoragec::EVMS_RESIZE_CONTAINER_NOT_FOUND;
  1310. *EVMS_RESIZE_EXPAND_FAILED = *LibStoragec::EVMS_RESIZE_EXPAND_FAILED;
  1311. *EVMS_RESIZE_SHRINK_FAILED = *LibStoragec::EVMS_RESIZE_SHRINK_FAILED;
  1312. *EVMS_COMMIT_FAILED = *LibStoragec::EVMS_COMMIT_FAILED;
  1313. *EVMS_CREATE_VOLUME_FREESPACE_NOT_FOUND = *LibStoragec::EVMS_CREATE_VOLUME_FREESPACE_NOT_FOUND;
  1314. *EVMS_CREATE_VOLUME_FAILED = *LibStoragec::EVMS_CREATE_VOLUME_FAILED;
  1315. *EVMS_CREATE_COMPAT_VOLUME_FAILED = *LibStoragec::EVMS_CREATE_COMPAT_VOLUME_FAILED;
  1316. *EVMS_SEGMENT_NOT_FOUND = *LibStoragec::EVMS_SEGMENT_NOT_FOUND;
  1317. *EVMS_REMOVE_VOLUME_NOT_FOUND = *LibStoragec::EVMS_REMOVE_VOLUME_NOT_FOUND;
  1318. *EVMS_REMOVE_REGION_FAILED = *LibStoragec::EVMS_REMOVE_REGION_FAILED;
  1319. *EVMS_CONTAINER_NOT_FOUND = *LibStoragec::EVMS_CONTAINER_NOT_FOUND;
  1320. *EVMS_CONTAINER_EXPAND_FAILED = *LibStoragec::EVMS_CONTAINER_EXPAND_FAILED;
  1321. *EVMS_CONTAINER_SHRINK_INVALID_SEGMENT = *LibStoragec::EVMS_CONTAINER_SHRINK_INVALID_SEGMENT;
  1322. *EVMS_CONTAINER_SHRINK_FAILED = *LibStoragec::EVMS_CONTAINER_SHRINK_FAILED;
  1323. *EVMS_CONTAINER_REMOVE_FAILED = *LibStoragec::EVMS_CONTAINER_REMOVE_FAILED;
  1324. *EVMS_PV_ALREADY_CONTAINED = *LibStoragec::EVMS_PV_ALREADY_CONTAINED;
  1325. *EVMS_PV_DEVICE_UNKNOWN = *LibStoragec::EVMS_PV_DEVICE_UNKNOWN;
  1326. *EVMS_PV_DEVICE_USED = *LibStoragec::EVMS_PV_DEVICE_USED;
  1327. *EVMS_CO_HAS_NONE_PV = *LibStoragec::EVMS_CO_HAS_NONE_PV;
  1328. *EVMS_LV_INVALID_NAME = *LibStoragec::EVMS_LV_INVALID_NAME;
  1329. *EVMS_LV_DUPLICATE_NAME = *LibStoragec::EVMS_LV_DUPLICATE_NAME;
  1330. *EVMS_LV_NO_SPACE = *LibStoragec::EVMS_LV_NO_SPACE;
  1331. *EVMS_LV_UNKNOWN_NAME = *LibStoragec::EVMS_LV_UNKNOWN_NAME;
  1332. *EVMS_LV_NOT_IN_LIST = *LibStoragec::EVMS_LV_NOT_IN_LIST;
  1333. *EVMS_PV_STILL_ADDED = *LibStoragec::EVMS_PV_STILL_ADDED;
  1334. *EVMS_PV_REMOVE_NOT_FOUND = *LibStoragec::EVMS_PV_REMOVE_NOT_FOUND;
  1335. *EVMS_CREATE_LV_INVALID_VOLUME = *LibStoragec::EVMS_CREATE_LV_INVALID_VOLUME;
  1336. *EVMS_REMOVE_LV_INVALID_VOLUME = *LibStoragec::EVMS_REMOVE_LV_INVALID_VOLUME;
  1337. *EVMS_RESIZE_LV_INVALID_VOLUME = *LibStoragec::EVMS_RESIZE_LV_INVALID_VOLUME;
  1338. *EVMS_CHANGE_READONLY = *LibStoragec::EVMS_CHANGE_READONLY;
  1339. *EVMS_CHECK_RESIZE_INVALID_VOLUME = *LibStoragec::EVMS_CHECK_RESIZE_INVALID_VOLUME;
  1340. *EVMS_COMMIT_NOTHING_TODO = *LibStoragec::EVMS_COMMIT_NOTHING_TODO;
  1341. *EVMS_LV_REMOVE_USED_BY = *LibStoragec::EVMS_LV_REMOVE_USED_BY;
  1342. *EVMS_COMMUNICATION_FAILED = *LibStoragec::EVMS_COMMUNICATION_FAILED;
  1343. *EVMS_LV_ALREADY_ON_DISK = *LibStoragec::EVMS_LV_ALREADY_ON_DISK;
  1344. *EVMS_LV_NO_STRIPE_SIZE = *LibStoragec::EVMS_LV_NO_STRIPE_SIZE;
  1345. *EVMS_ACTIVATE_FAILED = *LibStoragec::EVMS_ACTIVATE_FAILED;
  1346. *EVMS_CONTAINER_NOT_CREATED = *LibStoragec::EVMS_CONTAINER_NOT_CREATED;
  1347. *PEC_PE_SIZE_INVALID = *LibStoragec::PEC_PE_SIZE_INVALID;
  1348. *PEC_PV_NOT_FOUND = *LibStoragec::PEC_PV_NOT_FOUND;
  1349. *PEC_REMOVE_PV_IN_USE = *LibStoragec::PEC_REMOVE_PV_IN_USE;
  1350. *PEC_REMOVE_PV_SIZE_NEEDED = *LibStoragec::PEC_REMOVE_PV_SIZE_NEEDED;
  1351. *PEC_LV_NO_SPACE_STRIPED = *LibStoragec::PEC_LV_NO_SPACE_STRIPED;
  1352. *PEC_LV_NO_SPACE_SINGLE = *LibStoragec::PEC_LV_NO_SPACE_SINGLE;
  1353. *PEC_LV_PE_DEV_NOT_FOUND = *LibStoragec::PEC_LV_PE_DEV_NOT_FOUND;
  1354. *DM_CHANGE_READONLY = *LibStoragec::DM_CHANGE_READONLY;
  1355. *DM_UNKNOWN_TABLE = *LibStoragec::DM_UNKNOWN_TABLE;
  1356. *DM_REMOVE_USED_BY = *LibStoragec::DM_REMOVE_USED_BY;
  1357. *DM_REMOVE_CREATE_NOT_FOUND = *LibStoragec::DM_REMOVE_CREATE_NOT_FOUND;
  1358. *DM_REMOVE_INVALID_VOLUME = *LibStoragec::DM_REMOVE_INVALID_VOLUME;
  1359. *DM_REMOVE_FAILED = *LibStoragec::DM_REMOVE_FAILED;
  1360. *DM_NOT_IN_LIST = *LibStoragec::DM_NOT_IN_LIST;
  1361. *DASD_NOT_POSSIBLE = *LibStoragec::DASD_NOT_POSSIBLE;
  1362. *DASD_FDASD_FAILED = *LibStoragec::DASD_FDASD_FAILED;
  1363. *DASD_DASDFMT_FAILED = *LibStoragec::DASD_DASDFMT_FAILED;
  1364. *DMPART_CHANGE_READONLY = *LibStoragec::DMPART_CHANGE_READONLY;
  1365. *DMPART_INTERNAL_ERR = *LibStoragec::DMPART_INTERNAL_ERR;
  1366. *DMPART_INVALID_VOLUME = *LibStoragec::DMPART_INVALID_VOLUME;
  1367. *DMPART_PARTITION_NOT_FOUND = *LibStoragec::DMPART_PARTITION_NOT_FOUND;
  1368. *DMPART_REMOVE_PARTITION_LIST_ERASE = *LibStoragec::DMPART_REMOVE_PARTITION_LIST_ERASE;
  1369. *DMPART_COMMIT_NOTHING_TODO = *LibStoragec::DMPART_COMMIT_NOTHING_TODO;
  1370. *DMPART_NO_REMOVE = *LibStoragec::DMPART_NO_REMOVE;
  1371. *DMRAID_REMOVE_FAILED = *LibStoragec::DMRAID_REMOVE_FAILED;
  1372. *CONTAINER_INTERNAL_ERROR = *LibStoragec::CONTAINER_INTERNAL_ERROR;
  1373. *CONTAINER_INVALID_VIRTUAL_CALL = *LibStoragec::CONTAINER_INVALID_VIRTUAL_CALL;
  1374. 1;
  1375. package LibStorage;
  1376. BEGIN {
  1377.     %TYPEINFO = (
  1378.         ALL_METHODS => 0,
  1379.         initDefaultLogger => ["function", "void"],
  1380.         createDefaultStorageInterface => ["function", "any"],
  1381.         createStorageInterface => ["function", "any", "boolean", "boolean", "boolean"],
  1382.         destroyStorageInterface => ["function", "void", "any"],
  1383.     );
  1384. }
  1385.  
  1386. BEGIN{$TYPEINFO{FSUNKNOWN}=["function", "integer"]}
  1387. *FSUNKNOWN = sub { $LibStoragec::FSUNKNOWN };
  1388. BEGIN{$TYPEINFO{REISERFS}=["function", "integer"]}
  1389. *REISERFS = sub { $LibStoragec::REISERFS };
  1390. BEGIN{$TYPEINFO{EXT2}=["function", "integer"]}
  1391. *EXT2 = sub { $LibStoragec::EXT2 };
  1392. BEGIN{$TYPEINFO{EXT3}=["function", "integer"]}
  1393. *EXT3 = sub { $LibStoragec::EXT3 };
  1394. BEGIN{$TYPEINFO{VFAT}=["function", "integer"]}
  1395. *VFAT = sub { $LibStoragec::VFAT };
  1396. BEGIN{$TYPEINFO{XFS}=["function", "integer"]}
  1397. *XFS = sub { $LibStoragec::XFS };
  1398. BEGIN{$TYPEINFO{JFS}=["function", "integer"]}
  1399. *JFS = sub { $LibStoragec::JFS };
  1400. BEGIN{$TYPEINFO{HFS}=["function", "integer"]}
  1401. *HFS = sub { $LibStoragec::HFS };
  1402. BEGIN{$TYPEINFO{NTFS}=["function", "integer"]}
  1403. *NTFS = sub { $LibStoragec::NTFS };
  1404. BEGIN{$TYPEINFO{SWAP}=["function", "integer"]}
  1405. *SWAP = sub { $LibStoragec::SWAP };
  1406. BEGIN{$TYPEINFO{FSNONE}=["function", "integer"]}
  1407. *FSNONE = sub { $LibStoragec::FSNONE };
  1408.  
  1409. BEGIN{$TYPEINFO{PRIMARY}=["function", "integer"]}
  1410. *PRIMARY = sub { $LibStoragec::PRIMARY };
  1411. BEGIN{$TYPEINFO{EXTENDED}=["function", "integer"]}
  1412. *EXTENDED = sub { $LibStoragec::EXTENDED };
  1413. BEGIN{$TYPEINFO{LOGICAL}=["function", "integer"]}
  1414. *LOGICAL = sub { $LibStoragec::LOGICAL };
  1415. BEGIN{$TYPEINFO{PTYPE_ANY}=["function", "integer"]}
  1416. *PTYPE_ANY = sub { $LibStoragec::PTYPE_ANY };
  1417.  
  1418. BEGIN{$TYPEINFO{MOUNTBY_DEVICE}=["function", "integer"]}
  1419. *MOUNTBY_DEVICE = sub { $LibStoragec::MOUNTBY_DEVICE };
  1420. BEGIN{$TYPEINFO{MOUNTBY_UUID}=["function", "integer"]}
  1421. *MOUNTBY_UUID = sub { $LibStoragec::MOUNTBY_UUID };
  1422. BEGIN{$TYPEINFO{MOUNTBY_LABEL}=["function", "integer"]}
  1423. *MOUNTBY_LABEL = sub { $LibStoragec::MOUNTBY_LABEL };
  1424. BEGIN{$TYPEINFO{MOUNTBY_ID}=["function", "integer"]}
  1425. *MOUNTBY_ID = sub { $LibStoragec::MOUNTBY_ID };
  1426. BEGIN{$TYPEINFO{MOUNTBY_PATH}=["function", "integer"]}
  1427. *MOUNTBY_PATH = sub { $LibStoragec::MOUNTBY_PATH };
  1428.  
  1429. BEGIN{$TYPEINFO{ENC_NONE}=["function", "integer"]}
  1430. *ENC_NONE = sub { $LibStoragec::ENC_NONE };
  1431. BEGIN{$TYPEINFO{ENC_TWOFISH}=["function", "integer"]}
  1432. *ENC_TWOFISH = sub { $LibStoragec::ENC_TWOFISH };
  1433. BEGIN{$TYPEINFO{ENC_TWOFISH_OLD}=["function", "integer"]}
  1434. *ENC_TWOFISH_OLD = sub { $LibStoragec::ENC_TWOFISH_OLD };
  1435. BEGIN{$TYPEINFO{ENC_TWOFISH256_OLD}=["function", "integer"]}
  1436. *ENC_TWOFISH256_OLD = sub { $LibStoragec::ENC_TWOFISH256_OLD };
  1437. BEGIN{$TYPEINFO{ENC_UNKNOWN}=["function", "integer"]}
  1438. *ENC_UNKNOWN = sub { $LibStoragec::ENC_UNKNOWN };
  1439.  
  1440. BEGIN{$TYPEINFO{RAID_UNK}=["function", "integer"]}
  1441. *RAID_UNK = sub { $LibStoragec::RAID_UNK };
  1442. BEGIN{$TYPEINFO{RAID0}=["function", "integer"]}
  1443. *RAID0 = sub { $LibStoragec::RAID0 };
  1444. BEGIN{$TYPEINFO{RAID1}=["function", "integer"]}
  1445. *RAID1 = sub { $LibStoragec::RAID1 };
  1446. BEGIN{$TYPEINFO{RAID5}=["function", "integer"]}
  1447. *RAID5 = sub { $LibStoragec::RAID5 };
  1448. BEGIN{$TYPEINFO{RAID6}=["function", "integer"]}
  1449. *RAID6 = sub { $LibStoragec::RAID6 };
  1450. BEGIN{$TYPEINFO{RAID10}=["function", "integer"]}
  1451. *RAID10 = sub { $LibStoragec::RAID10 };
  1452. BEGIN{$TYPEINFO{MULTIPATH}=["function", "integer"]}
  1453. *MULTIPATH = sub { $LibStoragec::MULTIPATH };
  1454.  
  1455. BEGIN{$TYPEINFO{PAR_NONE}=["function", "integer"]}
  1456. *PAR_NONE = sub { $LibStoragec::PAR_NONE };
  1457. BEGIN{$TYPEINFO{LEFT_ASYMMETRIC}=["function", "integer"]}
  1458. *LEFT_ASYMMETRIC = sub { $LibStoragec::LEFT_ASYMMETRIC };
  1459. BEGIN{$TYPEINFO{LEFT_SYMMETRIC}=["function", "integer"]}
  1460. *LEFT_SYMMETRIC = sub { $LibStoragec::LEFT_SYMMETRIC };
  1461. BEGIN{$TYPEINFO{RIGHT_ASYMMETRIC}=["function", "integer"]}
  1462. *RIGHT_ASYMMETRIC = sub { $LibStoragec::RIGHT_ASYMMETRIC };
  1463. BEGIN{$TYPEINFO{RIGHT_SYMMETRIC}=["function", "integer"]}
  1464. *RIGHT_SYMMETRIC = sub { $LibStoragec::RIGHT_SYMMETRIC };
  1465.  
  1466. BEGIN{$TYPEINFO{UB_NONE}=["function", "integer"]}
  1467. *UB_NONE = sub { $LibStoragec::UB_NONE };
  1468. BEGIN{$TYPEINFO{UB_LVM}=["function", "integer"]}
  1469. *UB_LVM = sub { $LibStoragec::UB_LVM };
  1470. BEGIN{$TYPEINFO{UB_MD}=["function", "integer"]}
  1471. *UB_MD = sub { $LibStoragec::UB_MD };
  1472. BEGIN{$TYPEINFO{UB_EVMS}=["function", "integer"]}
  1473. *UB_EVMS = sub { $LibStoragec::UB_EVMS };
  1474. BEGIN{$TYPEINFO{UB_DM}=["function", "integer"]}
  1475. *UB_DM = sub { $LibStoragec::UB_DM };
  1476. BEGIN{$TYPEINFO{UB_DMRAID}=["function", "integer"]}
  1477. *UB_DMRAID = sub { $LibStoragec::UB_DMRAID };
  1478.  
  1479. BEGIN{$TYPEINFO{CUNKNOWN}=["function", "integer"]}
  1480. *CUNKNOWN = sub { $LibStoragec::CUNKNOWN };
  1481. BEGIN{$TYPEINFO{DISK}=["function", "integer"]}
  1482. *DISK = sub { $LibStoragec::DISK };
  1483. BEGIN{$TYPEINFO{MD}=["function", "integer"]}
  1484. *MD = sub { $LibStoragec::MD };
  1485. BEGIN{$TYPEINFO{LOOP}=["function", "integer"]}
  1486. *LOOP = sub { $LibStoragec::LOOP };
  1487. BEGIN{$TYPEINFO{LVM}=["function", "integer"]}
  1488. *LVM = sub { $LibStoragec::LVM };
  1489. BEGIN{$TYPEINFO{DM}=["function", "integer"]}
  1490. *DM = sub { $LibStoragec::DM };
  1491. BEGIN{$TYPEINFO{EVMS}=["function", "integer"]}
  1492. *EVMS = sub { $LibStoragec::EVMS };
  1493. BEGIN{$TYPEINFO{DMRAID}=["function", "integer"]}
  1494. *DMRAID = sub { $LibStoragec::DMRAID };
  1495. BEGIN{$TYPEINFO{COTYPE_LAST_ENTRY}=["function", "integer"]}
  1496. *COTYPE_LAST_ENTRY = sub { $LibStoragec::COTYPE_LAST_ENTRY };
  1497.  
  1498. BEGIN{$TYPEINFO{DISK_PARTITION_OVERLAPS_EXISTING}=["function", "integer"]}
  1499. *DISK_PARTITION_OVERLAPS_EXISTING = sub { $LibStoragec::DISK_PARTITION_OVERLAPS_EXISTING };
  1500. BEGIN{$TYPEINFO{DISK_PARTITION_EXCEEDS_DISK}=["function", "integer"]}
  1501. *DISK_PARTITION_EXCEEDS_DISK = sub { $LibStoragec::DISK_PARTITION_EXCEEDS_DISK };
  1502. BEGIN{$TYPEINFO{DISK_CREATE_PARTITION_EXT_ONLY_ONCE}=["function", "integer"]}
  1503. *DISK_CREATE_PARTITION_EXT_ONLY_ONCE = sub { $LibStoragec::DISK_CREATE_PARTITION_EXT_ONLY_ONCE };
  1504. BEGIN{$TYPEINFO{DISK_CREATE_PARTITION_EXT_IMPOSSIBLE}=["function", "integer"]}
  1505. *DISK_CREATE_PARTITION_EXT_IMPOSSIBLE = sub { $LibStoragec::DISK_CREATE_PARTITION_EXT_IMPOSSIBLE };
  1506. BEGIN{$TYPEINFO{DISK_PARTITION_NO_FREE_NUMBER}=["function", "integer"]}
  1507. *DISK_PARTITION_NO_FREE_NUMBER = sub { $LibStoragec::DISK_PARTITION_NO_FREE_NUMBER };
  1508. BEGIN{$TYPEINFO{DISK_CREATE_PARTITION_INVALID_VOLUME}=["function", "integer"]}
  1509. *DISK_CREATE_PARTITION_INVALID_VOLUME = sub { $LibStoragec::DISK_CREATE_PARTITION_INVALID_VOLUME };
  1510. BEGIN{$TYPEINFO{DISK_CREATE_PARTITION_INVALID_TYPE}=["function", "integer"]}
  1511. *DISK_CREATE_PARTITION_INVALID_TYPE = sub { $LibStoragec::DISK_CREATE_PARTITION_INVALID_TYPE };
  1512. BEGIN{$TYPEINFO{DISK_CREATE_PARTITION_PARTED_FAILED}=["function", "integer"]}
  1513. *DISK_CREATE_PARTITION_PARTED_FAILED = sub { $LibStoragec::DISK_CREATE_PARTITION_PARTED_FAILED };
  1514. BEGIN{$TYPEINFO{DISK_PARTITION_NOT_FOUND}=["function", "integer"]}
  1515. *DISK_PARTITION_NOT_FOUND = sub { $LibStoragec::DISK_PARTITION_NOT_FOUND };
  1516. BEGIN{$TYPEINFO{DISK_CREATE_PARTITION_LOGICAL_NO_EXT}=["function", "integer"]}
  1517. *DISK_CREATE_PARTITION_LOGICAL_NO_EXT = sub { $LibStoragec::DISK_CREATE_PARTITION_LOGICAL_NO_EXT };
  1518. BEGIN{$TYPEINFO{DISK_PARTITION_LOGICAL_OUTSIDE_EXT}=["function", "integer"]}
  1519. *DISK_PARTITION_LOGICAL_OUTSIDE_EXT = sub { $LibStoragec::DISK_PARTITION_LOGICAL_OUTSIDE_EXT };
  1520. BEGIN{$TYPEINFO{DISK_SET_TYPE_INVALID_VOLUME}=["function", "integer"]}
  1521. *DISK_SET_TYPE_INVALID_VOLUME = sub { $LibStoragec::DISK_SET_TYPE_INVALID_VOLUME };
  1522. BEGIN{$TYPEINFO{DISK_SET_TYPE_PARTED_FAILED}=["function", "integer"]}
  1523. *DISK_SET_TYPE_PARTED_FAILED = sub { $LibStoragec::DISK_SET_TYPE_PARTED_FAILED };
  1524. BEGIN{$TYPEINFO{DISK_SET_LABEL_PARTED_FAILED}=["function", "integer"]}
  1525. *DISK_SET_LABEL_PARTED_FAILED = sub { $LibStoragec::DISK_SET_LABEL_PARTED_FAILED };
  1526. BEGIN{$TYPEINFO{DISK_REMOVE_PARTITION_PARTED_FAILED}=["function", "integer"]}
  1527. *DISK_REMOVE_PARTITION_PARTED_FAILED = sub { $LibStoragec::DISK_REMOVE_PARTITION_PARTED_FAILED };
  1528. BEGIN{$TYPEINFO{DISK_REMOVE_PARTITION_INVALID_VOLUME}=["function", "integer"]}
  1529. *DISK_REMOVE_PARTITION_INVALID_VOLUME = sub { $LibStoragec::DISK_REMOVE_PARTITION_INVALID_VOLUME };
  1530. BEGIN{$TYPEINFO{DISK_REMOVE_PARTITION_LIST_ERASE}=["function", "integer"]}
  1531. *DISK_REMOVE_PARTITION_LIST_ERASE = sub { $LibStoragec::DISK_REMOVE_PARTITION_LIST_ERASE };
  1532. BEGIN{$TYPEINFO{DISK_DESTROY_TABLE_INVALID_LABEL}=["function", "integer"]}
  1533. *DISK_DESTROY_TABLE_INVALID_LABEL = sub { $LibStoragec::DISK_DESTROY_TABLE_INVALID_LABEL };
  1534. BEGIN{$TYPEINFO{DISK_PARTITION_ZERO_SIZE}=["function", "integer"]}
  1535. *DISK_PARTITION_ZERO_SIZE = sub { $LibStoragec::DISK_PARTITION_ZERO_SIZE };
  1536. BEGIN{$TYPEINFO{DISK_CHANGE_READONLY}=["function", "integer"]}
  1537. *DISK_CHANGE_READONLY = sub { $LibStoragec::DISK_CHANGE_READONLY };
  1538. BEGIN{$TYPEINFO{DISK_RESIZE_PARTITION_INVALID_VOLUME}=["function", "integer"]}
  1539. *DISK_RESIZE_PARTITION_INVALID_VOLUME = sub { $LibStoragec::DISK_RESIZE_PARTITION_INVALID_VOLUME };
  1540. BEGIN{$TYPEINFO{DISK_RESIZE_PARTITION_PARTED_FAILED}=["function", "integer"]}
  1541. *DISK_RESIZE_PARTITION_PARTED_FAILED = sub { $LibStoragec::DISK_RESIZE_PARTITION_PARTED_FAILED };
  1542. BEGIN{$TYPEINFO{DISK_RESIZE_NO_SPACE}=["function", "integer"]}
  1543. *DISK_RESIZE_NO_SPACE = sub { $LibStoragec::DISK_RESIZE_NO_SPACE };
  1544. BEGIN{$TYPEINFO{DISK_CHECK_RESIZE_INVALID_VOLUME}=["function", "integer"]}
  1545. *DISK_CHECK_RESIZE_INVALID_VOLUME = sub { $LibStoragec::DISK_CHECK_RESIZE_INVALID_VOLUME };
  1546. BEGIN{$TYPEINFO{DISK_REMOVE_PARTITION_CREATE_NOT_FOUND}=["function", "integer"]}
  1547. *DISK_REMOVE_PARTITION_CREATE_NOT_FOUND = sub { $LibStoragec::DISK_REMOVE_PARTITION_CREATE_NOT_FOUND };
  1548. BEGIN{$TYPEINFO{DISK_COMMIT_NOTHING_TODO}=["function", "integer"]}
  1549. *DISK_COMMIT_NOTHING_TODO = sub { $LibStoragec::DISK_COMMIT_NOTHING_TODO };
  1550. BEGIN{$TYPEINFO{DISK_CREATE_PARTITION_NO_SPACE}=["function", "integer"]}
  1551. *DISK_CREATE_PARTITION_NO_SPACE = sub { $LibStoragec::DISK_CREATE_PARTITION_NO_SPACE };
  1552. BEGIN{$TYPEINFO{DISK_REMOVE_USED_BY}=["function", "integer"]}
  1553. *DISK_REMOVE_USED_BY = sub { $LibStoragec::DISK_REMOVE_USED_BY };
  1554. BEGIN{$TYPEINFO{DISK_INIT_NOT_POSSIBLE}=["function", "integer"]}
  1555. *DISK_INIT_NOT_POSSIBLE = sub { $LibStoragec::DISK_INIT_NOT_POSSIBLE };
  1556. BEGIN{$TYPEINFO{STORAGE_DISK_NOT_FOUND}=["function", "integer"]}
  1557. *STORAGE_DISK_NOT_FOUND = sub { $LibStoragec::STORAGE_DISK_NOT_FOUND };
  1558. BEGIN{$TYPEINFO{STORAGE_VOLUME_NOT_FOUND}=["function", "integer"]}
  1559. *STORAGE_VOLUME_NOT_FOUND = sub { $LibStoragec::STORAGE_VOLUME_NOT_FOUND };
  1560. BEGIN{$TYPEINFO{STORAGE_REMOVE_PARTITION_INVALID_CONTAINER}=["function", "integer"]}
  1561. *STORAGE_REMOVE_PARTITION_INVALID_CONTAINER = sub { $LibStoragec::STORAGE_REMOVE_PARTITION_INVALID_CONTAINER };
  1562. BEGIN{$TYPEINFO{STORAGE_CHANGE_PARTITION_ID_INVALID_CONTAINER}=["function", "integer"]}
  1563. *STORAGE_CHANGE_PARTITION_ID_INVALID_CONTAINER = sub { $LibStoragec::STORAGE_CHANGE_PARTITION_ID_INVALID_CONTAINER };
  1564. BEGIN{$TYPEINFO{STORAGE_CHANGE_READONLY}=["function", "integer"]}
  1565. *STORAGE_CHANGE_READONLY = sub { $LibStoragec::STORAGE_CHANGE_READONLY };
  1566. BEGIN{$TYPEINFO{STORAGE_DISK_USED_BY}=["function", "integer"]}
  1567. *STORAGE_DISK_USED_BY = sub { $LibStoragec::STORAGE_DISK_USED_BY };
  1568. BEGIN{$TYPEINFO{STORAGE_LVM_VG_EXISTS}=["function", "integer"]}
  1569. *STORAGE_LVM_VG_EXISTS = sub { $LibStoragec::STORAGE_LVM_VG_EXISTS };
  1570. BEGIN{$TYPEINFO{STORAGE_LVM_VG_NOT_FOUND}=["function", "integer"]}
  1571. *STORAGE_LVM_VG_NOT_FOUND = sub { $LibStoragec::STORAGE_LVM_VG_NOT_FOUND };
  1572. BEGIN{$TYPEINFO{STORAGE_LVM_INVALID_DEVICE}=["function", "integer"]}
  1573. *STORAGE_LVM_INVALID_DEVICE = sub { $LibStoragec::STORAGE_LVM_INVALID_DEVICE };
  1574. BEGIN{$TYPEINFO{STORAGE_CONTAINER_NOT_FOUND}=["function", "integer"]}
  1575. *STORAGE_CONTAINER_NOT_FOUND = sub { $LibStoragec::STORAGE_CONTAINER_NOT_FOUND };
  1576. BEGIN{$TYPEINFO{STORAGE_VG_INVALID_NAME}=["function", "integer"]}
  1577. *STORAGE_VG_INVALID_NAME = sub { $LibStoragec::STORAGE_VG_INVALID_NAME };
  1578. BEGIN{$TYPEINFO{STORAGE_REMOVE_USED_VOLUME}=["function", "integer"]}
  1579. *STORAGE_REMOVE_USED_VOLUME = sub { $LibStoragec::STORAGE_REMOVE_USED_VOLUME };
  1580. BEGIN{$TYPEINFO{STORAGE_REMOVE_USING_UNKNOWN_TYPE}=["function", "integer"]}
  1581. *STORAGE_REMOVE_USING_UNKNOWN_TYPE = sub { $LibStoragec::STORAGE_REMOVE_USING_UNKNOWN_TYPE };
  1582. BEGIN{$TYPEINFO{STORAGE_NOT_YET_IMPLEMENTED}=["function", "integer"]}
  1583. *STORAGE_NOT_YET_IMPLEMENTED = sub { $LibStoragec::STORAGE_NOT_YET_IMPLEMENTED };
  1584. BEGIN{$TYPEINFO{STORAGE_MD_INVALID_NAME}=["function", "integer"]}
  1585. *STORAGE_MD_INVALID_NAME = sub { $LibStoragec::STORAGE_MD_INVALID_NAME };
  1586. BEGIN{$TYPEINFO{STORAGE_MD_NOT_FOUND}=["function", "integer"]}
  1587. *STORAGE_MD_NOT_FOUND = sub { $LibStoragec::STORAGE_MD_NOT_FOUND };
  1588. BEGIN{$TYPEINFO{STORAGE_MEMORY_EXHAUSTED}=["function", "integer"]}
  1589. *STORAGE_MEMORY_EXHAUSTED = sub { $LibStoragec::STORAGE_MEMORY_EXHAUSTED };
  1590. BEGIN{$TYPEINFO{STORAGE_LOOP_NOT_FOUND}=["function", "integer"]}
  1591. *STORAGE_LOOP_NOT_FOUND = sub { $LibStoragec::STORAGE_LOOP_NOT_FOUND };
  1592. BEGIN{$TYPEINFO{STORAGE_CREATED_LOOP_NOT_FOUND}=["function", "integer"]}
  1593. *STORAGE_CREATED_LOOP_NOT_FOUND = sub { $LibStoragec::STORAGE_CREATED_LOOP_NOT_FOUND };
  1594. BEGIN{$TYPEINFO{STORAGE_EVMS_INVALID_NAME}=["function", "integer"]}
  1595. *STORAGE_EVMS_INVALID_NAME = sub { $LibStoragec::STORAGE_EVMS_INVALID_NAME };
  1596. BEGIN{$TYPEINFO{STORAGE_EVMS_CO_EXISTS}=["function", "integer"]}
  1597. *STORAGE_EVMS_CO_EXISTS = sub { $LibStoragec::STORAGE_EVMS_CO_EXISTS };
  1598. BEGIN{$TYPEINFO{STORAGE_EVMS_CO_NOT_FOUND}=["function", "integer"]}
  1599. *STORAGE_EVMS_CO_NOT_FOUND = sub { $LibStoragec::STORAGE_EVMS_CO_NOT_FOUND };
  1600. BEGIN{$TYPEINFO{STORAGE_EVMS_INVALID_DEVICE}=["function", "integer"]}
  1601. *STORAGE_EVMS_INVALID_DEVICE = sub { $LibStoragec::STORAGE_EVMS_INVALID_DEVICE };
  1602. BEGIN{$TYPEINFO{STORAGE_CHANGE_AREA_INVALID_CONTAINER}=["function", "integer"]}
  1603. *STORAGE_CHANGE_AREA_INVALID_CONTAINER = sub { $LibStoragec::STORAGE_CHANGE_AREA_INVALID_CONTAINER };
  1604. BEGIN{$TYPEINFO{STORAGE_BACKUP_STATE_NOT_FOUND}=["function", "integer"]}
  1605. *STORAGE_BACKUP_STATE_NOT_FOUND = sub { $LibStoragec::STORAGE_BACKUP_STATE_NOT_FOUND };
  1606. BEGIN{$TYPEINFO{STORAGE_INVALID_FSTAB_VALUE}=["function", "integer"]}
  1607. *STORAGE_INVALID_FSTAB_VALUE = sub { $LibStoragec::STORAGE_INVALID_FSTAB_VALUE };
  1608. BEGIN{$TYPEINFO{STORAGE_NO_FSTAB_PTR}=["function", "integer"]}
  1609. *STORAGE_NO_FSTAB_PTR = sub { $LibStoragec::STORAGE_NO_FSTAB_PTR };
  1610. BEGIN{$TYPEINFO{STORAGE_DEVICE_NODE_NOT_FOUND}=["function", "integer"]}
  1611. *STORAGE_DEVICE_NODE_NOT_FOUND = sub { $LibStoragec::STORAGE_DEVICE_NODE_NOT_FOUND };
  1612. BEGIN{$TYPEINFO{STORAGE_DMRAID_CO_NOT_FOUND}=["function", "integer"]}
  1613. *STORAGE_DMRAID_CO_NOT_FOUND = sub { $LibStoragec::STORAGE_DMRAID_CO_NOT_FOUND };
  1614. BEGIN{$TYPEINFO{STORAGE_RESIZE_INVALID_CONTAINER}=["function", "integer"]}
  1615. *STORAGE_RESIZE_INVALID_CONTAINER = sub { $LibStoragec::STORAGE_RESIZE_INVALID_CONTAINER };
  1616. BEGIN{$TYPEINFO{VOLUME_COMMIT_UNKNOWN_STAGE}=["function", "integer"]}
  1617. *VOLUME_COMMIT_UNKNOWN_STAGE = sub { $LibStoragec::VOLUME_COMMIT_UNKNOWN_STAGE };
  1618. BEGIN{$TYPEINFO{VOLUME_FSTAB_EMPTY_MOUNT}=["function", "integer"]}
  1619. *VOLUME_FSTAB_EMPTY_MOUNT = sub { $LibStoragec::VOLUME_FSTAB_EMPTY_MOUNT };
  1620. BEGIN{$TYPEINFO{VOLUME_UMOUNT_FAILED}=["function", "integer"]}
  1621. *VOLUME_UMOUNT_FAILED = sub { $LibStoragec::VOLUME_UMOUNT_FAILED };
  1622. BEGIN{$TYPEINFO{VOLUME_MOUNT_FAILED}=["function", "integer"]}
  1623. *VOLUME_MOUNT_FAILED = sub { $LibStoragec::VOLUME_MOUNT_FAILED };
  1624. BEGIN{$TYPEINFO{VOLUME_FORMAT_DD_FAILED}=["function", "integer"]}
  1625. *VOLUME_FORMAT_DD_FAILED = sub { $LibStoragec::VOLUME_FORMAT_DD_FAILED };
  1626. BEGIN{$TYPEINFO{VOLUME_FORMAT_UNKNOWN_FS}=["function", "integer"]}
  1627. *VOLUME_FORMAT_UNKNOWN_FS = sub { $LibStoragec::VOLUME_FORMAT_UNKNOWN_FS };
  1628. BEGIN{$TYPEINFO{VOLUME_FORMAT_FS_UNDETECTED}=["function", "integer"]}
  1629. *VOLUME_FORMAT_FS_UNDETECTED = sub { $LibStoragec::VOLUME_FORMAT_FS_UNDETECTED };
  1630. BEGIN{$TYPEINFO{VOLUME_FORMAT_FS_TOO_SMALL}=["function", "integer"]}
  1631. *VOLUME_FORMAT_FS_TOO_SMALL = sub { $LibStoragec::VOLUME_FORMAT_FS_TOO_SMALL };
  1632. BEGIN{$TYPEINFO{VOLUME_FORMAT_FAILED}=["function", "integer"]}
  1633. *VOLUME_FORMAT_FAILED = sub { $LibStoragec::VOLUME_FORMAT_FAILED };
  1634. BEGIN{$TYPEINFO{VOLUME_TUNE2FS_FAILED}=["function", "integer"]}
  1635. *VOLUME_TUNE2FS_FAILED = sub { $LibStoragec::VOLUME_TUNE2FS_FAILED };
  1636. BEGIN{$TYPEINFO{VOLUME_MKLABEL_FS_UNABLE}=["function", "integer"]}
  1637. *VOLUME_MKLABEL_FS_UNABLE = sub { $LibStoragec::VOLUME_MKLABEL_FS_UNABLE };
  1638. BEGIN{$TYPEINFO{VOLUME_MKLABEL_FAILED}=["function", "integer"]}
  1639. *VOLUME_MKLABEL_FAILED = sub { $LibStoragec::VOLUME_MKLABEL_FAILED };
  1640. BEGIN{$TYPEINFO{VOLUME_LOSETUP_NO_LOOP}=["function", "integer"]}
  1641. *VOLUME_LOSETUP_NO_LOOP = sub { $LibStoragec::VOLUME_LOSETUP_NO_LOOP };
  1642. BEGIN{$TYPEINFO{VOLUME_LOSETUP_FAILED}=["function", "integer"]}
  1643. *VOLUME_LOSETUP_FAILED = sub { $LibStoragec::VOLUME_LOSETUP_FAILED };
  1644. BEGIN{$TYPEINFO{VOLUME_CRYPT_NO_PWD}=["function", "integer"]}
  1645. *VOLUME_CRYPT_NO_PWD = sub { $LibStoragec::VOLUME_CRYPT_NO_PWD };
  1646. BEGIN{$TYPEINFO{VOLUME_CRYPT_PWD_TOO_SHORT}=["function", "integer"]}
  1647. *VOLUME_CRYPT_PWD_TOO_SHORT = sub { $LibStoragec::VOLUME_CRYPT_PWD_TOO_SHORT };
  1648. BEGIN{$TYPEINFO{VOLUME_CRYPT_NOT_DETECTED}=["function", "integer"]}
  1649. *VOLUME_CRYPT_NOT_DETECTED = sub { $LibStoragec::VOLUME_CRYPT_NOT_DETECTED };
  1650. BEGIN{$TYPEINFO{VOLUME_FORMAT_EXTENDED_UNSUPPORTED}=["function", "integer"]}
  1651. *VOLUME_FORMAT_EXTENDED_UNSUPPORTED = sub { $LibStoragec::VOLUME_FORMAT_EXTENDED_UNSUPPORTED };
  1652. BEGIN{$TYPEINFO{VOLUME_MOUNT_EXTENDED_UNSUPPORTED}=["function", "integer"]}
  1653. *VOLUME_MOUNT_EXTENDED_UNSUPPORTED = sub { $LibStoragec::VOLUME_MOUNT_EXTENDED_UNSUPPORTED };
  1654. BEGIN{$TYPEINFO{VOLUME_MOUNT_POINT_INVALID}=["function", "integer"]}
  1655. *VOLUME_MOUNT_POINT_INVALID = sub { $LibStoragec::VOLUME_MOUNT_POINT_INVALID };
  1656. BEGIN{$TYPEINFO{VOLUME_MOUNTBY_NOT_ENCRYPTED}=["function", "integer"]}
  1657. *VOLUME_MOUNTBY_NOT_ENCRYPTED = sub { $LibStoragec::VOLUME_MOUNTBY_NOT_ENCRYPTED };
  1658. BEGIN{$TYPEINFO{VOLUME_MOUNTBY_UNSUPPORTED_BY_FS}=["function", "integer"]}
  1659. *VOLUME_MOUNTBY_UNSUPPORTED_BY_FS = sub { $LibStoragec::VOLUME_MOUNTBY_UNSUPPORTED_BY_FS };
  1660. BEGIN{$TYPEINFO{VOLUME_LABEL_NOT_SUPPORTED}=["function", "integer"]}
  1661. *VOLUME_LABEL_NOT_SUPPORTED = sub { $LibStoragec::VOLUME_LABEL_NOT_SUPPORTED };
  1662. BEGIN{$TYPEINFO{VOLUME_LABEL_TOO_LONG}=["function", "integer"]}
  1663. *VOLUME_LABEL_TOO_LONG = sub { $LibStoragec::VOLUME_LABEL_TOO_LONG };
  1664. BEGIN{$TYPEINFO{VOLUME_LABEL_WHILE_MOUNTED}=["function", "integer"]}
  1665. *VOLUME_LABEL_WHILE_MOUNTED = sub { $LibStoragec::VOLUME_LABEL_WHILE_MOUNTED };
  1666. BEGIN{$TYPEINFO{VOLUME_RESIZE_UNSUPPORTED_BY_FS}=["function", "integer"]}
  1667. *VOLUME_RESIZE_UNSUPPORTED_BY_FS = sub { $LibStoragec::VOLUME_RESIZE_UNSUPPORTED_BY_FS };
  1668. BEGIN{$TYPEINFO{VOLUME_RESIZE_UNSUPPORTED_BY_CONTAINER}=["function", "integer"]}
  1669. *VOLUME_RESIZE_UNSUPPORTED_BY_CONTAINER = sub { $LibStoragec::VOLUME_RESIZE_UNSUPPORTED_BY_CONTAINER };
  1670. BEGIN{$TYPEINFO{VOLUME_RESIZE_FAILED}=["function", "integer"]}
  1671. *VOLUME_RESIZE_FAILED = sub { $LibStoragec::VOLUME_RESIZE_FAILED };
  1672. BEGIN{$TYPEINFO{VOLUME_ALREADY_IN_USE}=["function", "integer"]}
  1673. *VOLUME_ALREADY_IN_USE = sub { $LibStoragec::VOLUME_ALREADY_IN_USE };
  1674. BEGIN{$TYPEINFO{VOLUME_LOUNSETUP_FAILED}=["function", "integer"]}
  1675. *VOLUME_LOUNSETUP_FAILED = sub { $LibStoragec::VOLUME_LOUNSETUP_FAILED };
  1676. BEGIN{$TYPEINFO{VOLUME_DEVICE_NOT_PRESENT}=["function", "integer"]}
  1677. *VOLUME_DEVICE_NOT_PRESENT = sub { $LibStoragec::VOLUME_DEVICE_NOT_PRESENT };
  1678. BEGIN{$TYPEINFO{VOLUME_DEVICE_NOT_BLOCK}=["function", "integer"]}
  1679. *VOLUME_DEVICE_NOT_BLOCK = sub { $LibStoragec::VOLUME_DEVICE_NOT_BLOCK };
  1680. BEGIN{$TYPEINFO{VOLUME_MOUNTBY_UNSUPPORTED_BY_VOLUME}=["function", "integer"]}
  1681. *VOLUME_MOUNTBY_UNSUPPORTED_BY_VOLUME = sub { $LibStoragec::VOLUME_MOUNTBY_UNSUPPORTED_BY_VOLUME };
  1682. BEGIN{$TYPEINFO{LVM_CREATE_PV_FAILED}=["function", "integer"]}
  1683. *LVM_CREATE_PV_FAILED = sub { $LibStoragec::LVM_CREATE_PV_FAILED };
  1684. BEGIN{$TYPEINFO{LVM_PV_ALREADY_CONTAINED}=["function", "integer"]}
  1685. *LVM_PV_ALREADY_CONTAINED = sub { $LibStoragec::LVM_PV_ALREADY_CONTAINED };
  1686. BEGIN{$TYPEINFO{LVM_PV_DEVICE_UNKNOWN}=["function", "integer"]}
  1687. *LVM_PV_DEVICE_UNKNOWN = sub { $LibStoragec::LVM_PV_DEVICE_UNKNOWN };
  1688. BEGIN{$TYPEINFO{LVM_PV_DEVICE_USED}=["function", "integer"]}
  1689. *LVM_PV_DEVICE_USED = sub { $LibStoragec::LVM_PV_DEVICE_USED };
  1690. BEGIN{$TYPEINFO{LVM_VG_HAS_NONE_PV}=["function", "integer"]}
  1691. *LVM_VG_HAS_NONE_PV = sub { $LibStoragec::LVM_VG_HAS_NONE_PV };
  1692. BEGIN{$TYPEINFO{LVM_LV_INVALID_NAME}=["function", "integer"]}
  1693. *LVM_LV_INVALID_NAME = sub { $LibStoragec::LVM_LV_INVALID_NAME };
  1694. BEGIN{$TYPEINFO{LVM_LV_DUPLICATE_NAME}=["function", "integer"]}
  1695. *LVM_LV_DUPLICATE_NAME = sub { $LibStoragec::LVM_LV_DUPLICATE_NAME };
  1696. BEGIN{$TYPEINFO{LVM_LV_NO_SPACE}=["function", "integer"]}
  1697. *LVM_LV_NO_SPACE = sub { $LibStoragec::LVM_LV_NO_SPACE };
  1698. BEGIN{$TYPEINFO{LVM_LV_UNKNOWN_NAME}=["function", "integer"]}
  1699. *LVM_LV_UNKNOWN_NAME = sub { $LibStoragec::LVM_LV_UNKNOWN_NAME };
  1700. BEGIN{$TYPEINFO{LVM_LV_NOT_IN_LIST}=["function", "integer"]}
  1701. *LVM_LV_NOT_IN_LIST = sub { $LibStoragec::LVM_LV_NOT_IN_LIST };
  1702. BEGIN{$TYPEINFO{LVM_VG_CREATE_FAILED}=["function", "integer"]}
  1703. *LVM_VG_CREATE_FAILED = sub { $LibStoragec::LVM_VG_CREATE_FAILED };
  1704. BEGIN{$TYPEINFO{LVM_VG_EXTEND_FAILED}=["function", "integer"]}
  1705. *LVM_VG_EXTEND_FAILED = sub { $LibStoragec::LVM_VG_EXTEND_FAILED };
  1706. BEGIN{$TYPEINFO{LVM_VG_REDUCE_FAILED}=["function", "integer"]}
  1707. *LVM_VG_REDUCE_FAILED = sub { $LibStoragec::LVM_VG_REDUCE_FAILED };
  1708. BEGIN{$TYPEINFO{LVM_VG_REMOVE_FAILED}=["function", "integer"]}
  1709. *LVM_VG_REMOVE_FAILED = sub { $LibStoragec::LVM_VG_REMOVE_FAILED };
  1710. BEGIN{$TYPEINFO{LVM_LV_CREATE_FAILED}=["function", "integer"]}
  1711. *LVM_LV_CREATE_FAILED = sub { $LibStoragec::LVM_LV_CREATE_FAILED };
  1712. BEGIN{$TYPEINFO{LVM_LV_REMOVE_FAILED}=["function", "integer"]}
  1713. *LVM_LV_REMOVE_FAILED = sub { $LibStoragec::LVM_LV_REMOVE_FAILED };
  1714. BEGIN{$TYPEINFO{LVM_LV_RESIZE_FAILED}=["function", "integer"]}
  1715. *LVM_LV_RESIZE_FAILED = sub { $LibStoragec::LVM_LV_RESIZE_FAILED };
  1716. BEGIN{$TYPEINFO{LVM_PV_STILL_ADDED}=["function", "integer"]}
  1717. *LVM_PV_STILL_ADDED = sub { $LibStoragec::LVM_PV_STILL_ADDED };
  1718. BEGIN{$TYPEINFO{LVM_PV_REMOVE_NOT_FOUND}=["function", "integer"]}
  1719. *LVM_PV_REMOVE_NOT_FOUND = sub { $LibStoragec::LVM_PV_REMOVE_NOT_FOUND };
  1720. BEGIN{$TYPEINFO{LVM_CREATE_LV_INVALID_VOLUME}=["function", "integer"]}
  1721. *LVM_CREATE_LV_INVALID_VOLUME = sub { $LibStoragec::LVM_CREATE_LV_INVALID_VOLUME };
  1722. BEGIN{$TYPEINFO{LVM_REMOVE_LV_INVALID_VOLUME}=["function", "integer"]}
  1723. *LVM_REMOVE_LV_INVALID_VOLUME = sub { $LibStoragec::LVM_REMOVE_LV_INVALID_VOLUME };
  1724. BEGIN{$TYPEINFO{LVM_RESIZE_LV_INVALID_VOLUME}=["function", "integer"]}
  1725. *LVM_RESIZE_LV_INVALID_VOLUME = sub { $LibStoragec::LVM_RESIZE_LV_INVALID_VOLUME };
  1726. BEGIN{$TYPEINFO{LVM_CHANGE_READONLY}=["function", "integer"]}
  1727. *LVM_CHANGE_READONLY = sub { $LibStoragec::LVM_CHANGE_READONLY };
  1728. BEGIN{$TYPEINFO{LVM_CHECK_RESIZE_INVALID_VOLUME}=["function", "integer"]}
  1729. *LVM_CHECK_RESIZE_INVALID_VOLUME = sub { $LibStoragec::LVM_CHECK_RESIZE_INVALID_VOLUME };
  1730. BEGIN{$TYPEINFO{LVM_COMMIT_NOTHING_TODO}=["function", "integer"]}
  1731. *LVM_COMMIT_NOTHING_TODO = sub { $LibStoragec::LVM_COMMIT_NOTHING_TODO };
  1732. BEGIN{$TYPEINFO{LVM_LV_REMOVE_USED_BY}=["function", "integer"]}
  1733. *LVM_LV_REMOVE_USED_BY = sub { $LibStoragec::LVM_LV_REMOVE_USED_BY };
  1734. BEGIN{$TYPEINFO{LVM_LV_ALREADY_ON_DISK}=["function", "integer"]}
  1735. *LVM_LV_ALREADY_ON_DISK = sub { $LibStoragec::LVM_LV_ALREADY_ON_DISK };
  1736. BEGIN{$TYPEINFO{LVM_LV_NO_STRIPE_SIZE}=["function", "integer"]}
  1737. *LVM_LV_NO_STRIPE_SIZE = sub { $LibStoragec::LVM_LV_NO_STRIPE_SIZE };
  1738. BEGIN{$TYPEINFO{FSTAB_ENTRY_NOT_FOUND}=["function", "integer"]}
  1739. *FSTAB_ENTRY_NOT_FOUND = sub { $LibStoragec::FSTAB_ENTRY_NOT_FOUND };
  1740. BEGIN{$TYPEINFO{FSTAB_CHANGE_PREFIX_IMPOSSIBLE}=["function", "integer"]}
  1741. *FSTAB_CHANGE_PREFIX_IMPOSSIBLE = sub { $LibStoragec::FSTAB_CHANGE_PREFIX_IMPOSSIBLE };
  1742. BEGIN{$TYPEINFO{FSTAB_REMOVE_ENTRY_NOT_FOUND}=["function", "integer"]}
  1743. *FSTAB_REMOVE_ENTRY_NOT_FOUND = sub { $LibStoragec::FSTAB_REMOVE_ENTRY_NOT_FOUND };
  1744. BEGIN{$TYPEINFO{FSTAB_UPDATE_ENTRY_NOT_FOUND}=["function", "integer"]}
  1745. *FSTAB_UPDATE_ENTRY_NOT_FOUND = sub { $LibStoragec::FSTAB_UPDATE_ENTRY_NOT_FOUND };
  1746. BEGIN{$TYPEINFO{FSTAB_ADD_ENTRY_FOUND}=["function", "integer"]}
  1747. *FSTAB_ADD_ENTRY_FOUND = sub { $LibStoragec::FSTAB_ADD_ENTRY_FOUND };
  1748. BEGIN{$TYPEINFO{MD_CHANGE_READONLY}=["function", "integer"]}
  1749. *MD_CHANGE_READONLY = sub { $LibStoragec::MD_CHANGE_READONLY };
  1750. BEGIN{$TYPEINFO{MD_DUPLICATE_NUMBER}=["function", "integer"]}
  1751. *MD_DUPLICATE_NUMBER = sub { $LibStoragec::MD_DUPLICATE_NUMBER };
  1752. BEGIN{$TYPEINFO{MD_TOO_FEW_DEVICES}=["function", "integer"]}
  1753. *MD_TOO_FEW_DEVICES = sub { $LibStoragec::MD_TOO_FEW_DEVICES };
  1754. BEGIN{$TYPEINFO{MD_DEVICE_UNKNOWN}=["function", "integer"]}
  1755. *MD_DEVICE_UNKNOWN = sub { $LibStoragec::MD_DEVICE_UNKNOWN };
  1756. BEGIN{$TYPEINFO{MD_DEVICE_USED}=["function", "integer"]}
  1757. *MD_DEVICE_USED = sub { $LibStoragec::MD_DEVICE_USED };
  1758. BEGIN{$TYPEINFO{MD_CREATE_INVALID_VOLUME}=["function", "integer"]}
  1759. *MD_CREATE_INVALID_VOLUME = sub { $LibStoragec::MD_CREATE_INVALID_VOLUME };
  1760. BEGIN{$TYPEINFO{MD_REMOVE_FAILED}=["function", "integer"]}
  1761. *MD_REMOVE_FAILED = sub { $LibStoragec::MD_REMOVE_FAILED };
  1762. BEGIN{$TYPEINFO{MD_NOT_IN_LIST}=["function", "integer"]}
  1763. *MD_NOT_IN_LIST = sub { $LibStoragec::MD_NOT_IN_LIST };
  1764. BEGIN{$TYPEINFO{MD_CREATE_FAILED}=["function", "integer"]}
  1765. *MD_CREATE_FAILED = sub { $LibStoragec::MD_CREATE_FAILED };
  1766. BEGIN{$TYPEINFO{MD_UNKNOWN_NUMBER}=["function", "integer"]}
  1767. *MD_UNKNOWN_NUMBER = sub { $LibStoragec::MD_UNKNOWN_NUMBER };
  1768. BEGIN{$TYPEINFO{MD_REMOVE_USED_BY}=["function", "integer"]}
  1769. *MD_REMOVE_USED_BY = sub { $LibStoragec::MD_REMOVE_USED_BY };
  1770. BEGIN{$TYPEINFO{MD_NUMBER_TOO_LARGE}=["function", "integer"]}
  1771. *MD_NUMBER_TOO_LARGE = sub { $LibStoragec::MD_NUMBER_TOO_LARGE };
  1772. BEGIN{$TYPEINFO{MD_REMOVE_INVALID_VOLUME}=["function", "integer"]}
  1773. *MD_REMOVE_INVALID_VOLUME = sub { $LibStoragec::MD_REMOVE_INVALID_VOLUME };
  1774. BEGIN{$TYPEINFO{MD_REMOVE_CREATE_NOT_FOUND}=["function", "integer"]}
  1775. *MD_REMOVE_CREATE_NOT_FOUND = sub { $LibStoragec::MD_REMOVE_CREATE_NOT_FOUND };
  1776. BEGIN{$TYPEINFO{MD_NO_RESIZE_ON_DISK}=["function", "integer"]}
  1777. *MD_NO_RESIZE_ON_DISK = sub { $LibStoragec::MD_NO_RESIZE_ON_DISK };
  1778. BEGIN{$TYPEINFO{MD_ADD_DUPLICATE}=["function", "integer"]}
  1779. *MD_ADD_DUPLICATE = sub { $LibStoragec::MD_ADD_DUPLICATE };
  1780. BEGIN{$TYPEINFO{MD_REMOVE_NONEXISTENT}=["function", "integer"]}
  1781. *MD_REMOVE_NONEXISTENT = sub { $LibStoragec::MD_REMOVE_NONEXISTENT };
  1782. BEGIN{$TYPEINFO{MD_NO_CHANGE_ON_DISK}=["function", "integer"]}
  1783. *MD_NO_CHANGE_ON_DISK = sub { $LibStoragec::MD_NO_CHANGE_ON_DISK };
  1784. BEGIN{$TYPEINFO{MD_NO_CREATE_UNKNOWN}=["function", "integer"]}
  1785. *MD_NO_CREATE_UNKNOWN = sub { $LibStoragec::MD_NO_CREATE_UNKNOWN };
  1786. BEGIN{$TYPEINFO{LOOP_CHANGE_READONLY}=["function", "integer"]}
  1787. *LOOP_CHANGE_READONLY = sub { $LibStoragec::LOOP_CHANGE_READONLY };
  1788. BEGIN{$TYPEINFO{LOOP_DUPLICATE_FILE}=["function", "integer"]}
  1789. *LOOP_DUPLICATE_FILE = sub { $LibStoragec::LOOP_DUPLICATE_FILE };
  1790. BEGIN{$TYPEINFO{LOOP_UNKNOWN_FILE}=["function", "integer"]}
  1791. *LOOP_UNKNOWN_FILE = sub { $LibStoragec::LOOP_UNKNOWN_FILE };
  1792. BEGIN{$TYPEINFO{LOOP_REMOVE_USED_BY}=["function", "integer"]}
  1793. *LOOP_REMOVE_USED_BY = sub { $LibStoragec::LOOP_REMOVE_USED_BY };
  1794. BEGIN{$TYPEINFO{LOOP_FILE_CREATE_FAILED}=["function", "integer"]}
  1795. *LOOP_FILE_CREATE_FAILED = sub { $LibStoragec::LOOP_FILE_CREATE_FAILED };
  1796. BEGIN{$TYPEINFO{LOOP_CREATE_INVALID_VOLUME}=["function", "integer"]}
  1797. *LOOP_CREATE_INVALID_VOLUME = sub { $LibStoragec::LOOP_CREATE_INVALID_VOLUME };
  1798. BEGIN{$TYPEINFO{LOOP_REMOVE_FILE_FAILED}=["function", "integer"]}
  1799. *LOOP_REMOVE_FILE_FAILED = sub { $LibStoragec::LOOP_REMOVE_FILE_FAILED };
  1800. BEGIN{$TYPEINFO{LOOP_REMOVE_INVALID_VOLUME}=["function", "integer"]}
  1801. *LOOP_REMOVE_INVALID_VOLUME = sub { $LibStoragec::LOOP_REMOVE_INVALID_VOLUME };
  1802. BEGIN{$TYPEINFO{LOOP_NOT_IN_LIST}=["function", "integer"]}
  1803. *LOOP_NOT_IN_LIST = sub { $LibStoragec::LOOP_NOT_IN_LIST };
  1804. BEGIN{$TYPEINFO{LOOP_REMOVE_CREATE_NOT_FOUND}=["function", "integer"]}
  1805. *LOOP_REMOVE_CREATE_NOT_FOUND = sub { $LibStoragec::LOOP_REMOVE_CREATE_NOT_FOUND };
  1806. BEGIN{$TYPEINFO{LOOP_MODIFY_EXISTING}=["function", "integer"]}
  1807. *LOOP_MODIFY_EXISTING = sub { $LibStoragec::LOOP_MODIFY_EXISTING };
  1808. BEGIN{$TYPEINFO{EVMS_HELPER_UNKNOWN_CMD}=["function", "integer"]}
  1809. *EVMS_HELPER_UNKNOWN_CMD = sub { $LibStoragec::EVMS_HELPER_UNKNOWN_CMD };
  1810. BEGIN{$TYPEINFO{EVMS_UNSUPPORTED_CONTAINER_TYPE}=["function", "integer"]}
  1811. *EVMS_UNSUPPORTED_CONTAINER_TYPE = sub { $LibStoragec::EVMS_UNSUPPORTED_CONTAINER_TYPE };
  1812. BEGIN{$TYPEINFO{EVMS_MALLOC_FAILED}=["function", "integer"]}
  1813. *EVMS_MALLOC_FAILED = sub { $LibStoragec::EVMS_MALLOC_FAILED };
  1814. BEGIN{$TYPEINFO{EVMS_INVALID_PHYSICAL_VOLUME}=["function", "integer"]}
  1815. *EVMS_INVALID_PHYSICAL_VOLUME = sub { $LibStoragec::EVMS_INVALID_PHYSICAL_VOLUME };
  1816. BEGIN{$TYPEINFO{EVMS_PHYSICAL_VOLUME_IN_USE}=["function", "integer"]}
  1817. *EVMS_PHYSICAL_VOLUME_IN_USE = sub { $LibStoragec::EVMS_PHYSICAL_VOLUME_IN_USE };
  1818. BEGIN{$TYPEINFO{EVMS_PLUGIN_NOT_FOUND}=["function", "integer"]}
  1819. *EVMS_PLUGIN_NOT_FOUND = sub { $LibStoragec::EVMS_PLUGIN_NOT_FOUND };
  1820. BEGIN{$TYPEINFO{EVMS_CREATE_CONTAINER_FAILED}=["function", "integer"]}
  1821. *EVMS_CREATE_CONTAINER_FAILED = sub { $LibStoragec::EVMS_CREATE_CONTAINER_FAILED };
  1822. BEGIN{$TYPEINFO{EVMS_RESIZE_VOLUME_NOT_FOUND}=["function", "integer"]}
  1823. *EVMS_RESIZE_VOLUME_NOT_FOUND = sub { $LibStoragec::EVMS_RESIZE_VOLUME_NOT_FOUND };
  1824. BEGIN{$TYPEINFO{EVMS_RESIZE_CONTAINER_NOT_FOUND}=["function", "integer"]}
  1825. *EVMS_RESIZE_CONTAINER_NOT_FOUND = sub { $LibStoragec::EVMS_RESIZE_CONTAINER_NOT_FOUND };
  1826. BEGIN{$TYPEINFO{EVMS_RESIZE_EXPAND_FAILED}=["function", "integer"]}
  1827. *EVMS_RESIZE_EXPAND_FAILED = sub { $LibStoragec::EVMS_RESIZE_EXPAND_FAILED };
  1828. BEGIN{$TYPEINFO{EVMS_RESIZE_SHRINK_FAILED}=["function", "integer"]}
  1829. *EVMS_RESIZE_SHRINK_FAILED = sub { $LibStoragec::EVMS_RESIZE_SHRINK_FAILED };
  1830. BEGIN{$TYPEINFO{EVMS_COMMIT_FAILED}=["function", "integer"]}
  1831. *EVMS_COMMIT_FAILED = sub { $LibStoragec::EVMS_COMMIT_FAILED };
  1832. BEGIN{$TYPEINFO{EVMS_CREATE_VOLUME_FREESPACE_NOT_FOUND}=["function", "integer"]}
  1833. *EVMS_CREATE_VOLUME_FREESPACE_NOT_FOUND = sub { $LibStoragec::EVMS_CREATE_VOLUME_FREESPACE_NOT_FOUND };
  1834. BEGIN{$TYPEINFO{EVMS_CREATE_VOLUME_FAILED}=["function", "integer"]}
  1835. *EVMS_CREATE_VOLUME_FAILED = sub { $LibStoragec::EVMS_CREATE_VOLUME_FAILED };
  1836. BEGIN{$TYPEINFO{EVMS_CREATE_COMPAT_VOLUME_FAILED}=["function", "integer"]}
  1837. *EVMS_CREATE_COMPAT_VOLUME_FAILED = sub { $LibStoragec::EVMS_CREATE_COMPAT_VOLUME_FAILED };
  1838. BEGIN{$TYPEINFO{EVMS_SEGMENT_NOT_FOUND}=["function", "integer"]}
  1839. *EVMS_SEGMENT_NOT_FOUND = sub { $LibStoragec::EVMS_SEGMENT_NOT_FOUND };
  1840. BEGIN{$TYPEINFO{EVMS_REMOVE_VOLUME_NOT_FOUND}=["function", "integer"]}
  1841. *EVMS_REMOVE_VOLUME_NOT_FOUND = sub { $LibStoragec::EVMS_REMOVE_VOLUME_NOT_FOUND };
  1842. BEGIN{$TYPEINFO{EVMS_REMOVE_REGION_FAILED}=["function", "integer"]}
  1843. *EVMS_REMOVE_REGION_FAILED = sub { $LibStoragec::EVMS_REMOVE_REGION_FAILED };
  1844. BEGIN{$TYPEINFO{EVMS_CONTAINER_NOT_FOUND}=["function", "integer"]}
  1845. *EVMS_CONTAINER_NOT_FOUND = sub { $LibStoragec::EVMS_CONTAINER_NOT_FOUND };
  1846. BEGIN{$TYPEINFO{EVMS_CONTAINER_EXPAND_FAILED}=["function", "integer"]}
  1847. *EVMS_CONTAINER_EXPAND_FAILED = sub { $LibStoragec::EVMS_CONTAINER_EXPAND_FAILED };
  1848. BEGIN{$TYPEINFO{EVMS_CONTAINER_SHRINK_INVALID_SEGMENT}=["function", "integer"]}
  1849. *EVMS_CONTAINER_SHRINK_INVALID_SEGMENT = sub { $LibStoragec::EVMS_CONTAINER_SHRINK_INVALID_SEGMENT };
  1850. BEGIN{$TYPEINFO{EVMS_CONTAINER_SHRINK_FAILED}=["function", "integer"]}
  1851. *EVMS_CONTAINER_SHRINK_FAILED = sub { $LibStoragec::EVMS_CONTAINER_SHRINK_FAILED };
  1852. BEGIN{$TYPEINFO{EVMS_CONTAINER_REMOVE_FAILED}=["function", "integer"]}
  1853. *EVMS_CONTAINER_REMOVE_FAILED = sub { $LibStoragec::EVMS_CONTAINER_REMOVE_FAILED };
  1854. BEGIN{$TYPEINFO{EVMS_PV_ALREADY_CONTAINED}=["function", "integer"]}
  1855. *EVMS_PV_ALREADY_CONTAINED = sub { $LibStoragec::EVMS_PV_ALREADY_CONTAINED };
  1856. BEGIN{$TYPEINFO{EVMS_PV_DEVICE_UNKNOWN}=["function", "integer"]}
  1857. *EVMS_PV_DEVICE_UNKNOWN = sub { $LibStoragec::EVMS_PV_DEVICE_UNKNOWN };
  1858. BEGIN{$TYPEINFO{EVMS_PV_DEVICE_USED}=["function", "integer"]}
  1859. *EVMS_PV_DEVICE_USED = sub { $LibStoragec::EVMS_PV_DEVICE_USED };
  1860. BEGIN{$TYPEINFO{EVMS_CO_HAS_NONE_PV}=["function", "integer"]}
  1861. *EVMS_CO_HAS_NONE_PV = sub { $LibStoragec::EVMS_CO_HAS_NONE_PV };
  1862. BEGIN{$TYPEINFO{EVMS_LV_INVALID_NAME}=["function", "integer"]}
  1863. *EVMS_LV_INVALID_NAME = sub { $LibStoragec::EVMS_LV_INVALID_NAME };
  1864. BEGIN{$TYPEINFO{EVMS_LV_DUPLICATE_NAME}=["function", "integer"]}
  1865. *EVMS_LV_DUPLICATE_NAME = sub { $LibStoragec::EVMS_LV_DUPLICATE_NAME };
  1866. BEGIN{$TYPEINFO{EVMS_LV_NO_SPACE}=["function", "integer"]}
  1867. *EVMS_LV_NO_SPACE = sub { $LibStoragec::EVMS_LV_NO_SPACE };
  1868. BEGIN{$TYPEINFO{EVMS_LV_UNKNOWN_NAME}=["function", "integer"]}
  1869. *EVMS_LV_UNKNOWN_NAME = sub { $LibStoragec::EVMS_LV_UNKNOWN_NAME };
  1870. BEGIN{$TYPEINFO{EVMS_LV_NOT_IN_LIST}=["function", "integer"]}
  1871. *EVMS_LV_NOT_IN_LIST = sub { $LibStoragec::EVMS_LV_NOT_IN_LIST };
  1872. BEGIN{$TYPEINFO{EVMS_PV_STILL_ADDED}=["function", "integer"]}
  1873. *EVMS_PV_STILL_ADDED = sub { $LibStoragec::EVMS_PV_STILL_ADDED };
  1874. BEGIN{$TYPEINFO{EVMS_PV_REMOVE_NOT_FOUND}=["function", "integer"]}
  1875. *EVMS_PV_REMOVE_NOT_FOUND = sub { $LibStoragec::EVMS_PV_REMOVE_NOT_FOUND };
  1876. BEGIN{$TYPEINFO{EVMS_CREATE_LV_INVALID_VOLUME}=["function", "integer"]}
  1877. *EVMS_CREATE_LV_INVALID_VOLUME = sub { $LibStoragec::EVMS_CREATE_LV_INVALID_VOLUME };
  1878. BEGIN{$TYPEINFO{EVMS_REMOVE_LV_INVALID_VOLUME}=["function", "integer"]}
  1879. *EVMS_REMOVE_LV_INVALID_VOLUME = sub { $LibStoragec::EVMS_REMOVE_LV_INVALID_VOLUME };
  1880. BEGIN{$TYPEINFO{EVMS_RESIZE_LV_INVALID_VOLUME}=["function", "integer"]}
  1881. *EVMS_RESIZE_LV_INVALID_VOLUME = sub { $LibStoragec::EVMS_RESIZE_LV_INVALID_VOLUME };
  1882. BEGIN{$TYPEINFO{EVMS_CHANGE_READONLY}=["function", "integer"]}
  1883. *EVMS_CHANGE_READONLY = sub { $LibStoragec::EVMS_CHANGE_READONLY };
  1884. BEGIN{$TYPEINFO{EVMS_CHECK_RESIZE_INVALID_VOLUME}=["function", "integer"]}
  1885. *EVMS_CHECK_RESIZE_INVALID_VOLUME = sub { $LibStoragec::EVMS_CHECK_RESIZE_INVALID_VOLUME };
  1886. BEGIN{$TYPEINFO{EVMS_COMMIT_NOTHING_TODO}=["function", "integer"]}
  1887. *EVMS_COMMIT_NOTHING_TODO = sub { $LibStoragec::EVMS_COMMIT_NOTHING_TODO };
  1888. BEGIN{$TYPEINFO{EVMS_LV_REMOVE_USED_BY}=["function", "integer"]}
  1889. *EVMS_LV_REMOVE_USED_BY = sub { $LibStoragec::EVMS_LV_REMOVE_USED_BY };
  1890. BEGIN{$TYPEINFO{EVMS_COMMUNICATION_FAILED}=["function", "integer"]}
  1891. *EVMS_COMMUNICATION_FAILED = sub { $LibStoragec::EVMS_COMMUNICATION_FAILED };
  1892. BEGIN{$TYPEINFO{EVMS_LV_ALREADY_ON_DISK}=["function", "integer"]}
  1893. *EVMS_LV_ALREADY_ON_DISK = sub { $LibStoragec::EVMS_LV_ALREADY_ON_DISK };
  1894. BEGIN{$TYPEINFO{EVMS_LV_NO_STRIPE_SIZE}=["function", "integer"]}
  1895. *EVMS_LV_NO_STRIPE_SIZE = sub { $LibStoragec::EVMS_LV_NO_STRIPE_SIZE };
  1896. BEGIN{$TYPEINFO{EVMS_ACTIVATE_FAILED}=["function", "integer"]}
  1897. *EVMS_ACTIVATE_FAILED = sub { $LibStoragec::EVMS_ACTIVATE_FAILED };
  1898. BEGIN{$TYPEINFO{EVMS_CONTAINER_NOT_CREATED}=["function", "integer"]}
  1899. *EVMS_CONTAINER_NOT_CREATED = sub { $LibStoragec::EVMS_CONTAINER_NOT_CREATED };
  1900. BEGIN{$TYPEINFO{PEC_PE_SIZE_INVALID}=["function", "integer"]}
  1901. *PEC_PE_SIZE_INVALID = sub { $LibStoragec::PEC_PE_SIZE_INVALID };
  1902. BEGIN{$TYPEINFO{PEC_PV_NOT_FOUND}=["function", "integer"]}
  1903. *PEC_PV_NOT_FOUND = sub { $LibStoragec::PEC_PV_NOT_FOUND };
  1904. BEGIN{$TYPEINFO{PEC_REMOVE_PV_IN_USE}=["function", "integer"]}
  1905. *PEC_REMOVE_PV_IN_USE = sub { $LibStoragec::PEC_REMOVE_PV_IN_USE };
  1906. BEGIN{$TYPEINFO{PEC_REMOVE_PV_SIZE_NEEDED}=["function", "integer"]}
  1907. *PEC_REMOVE_PV_SIZE_NEEDED = sub { $LibStoragec::PEC_REMOVE_PV_SIZE_NEEDED };
  1908. BEGIN{$TYPEINFO{PEC_LV_NO_SPACE_STRIPED}=["function", "integer"]}
  1909. *PEC_LV_NO_SPACE_STRIPED = sub { $LibStoragec::PEC_LV_NO_SPACE_STRIPED };
  1910. BEGIN{$TYPEINFO{PEC_LV_NO_SPACE_SINGLE}=["function", "integer"]}
  1911. *PEC_LV_NO_SPACE_SINGLE = sub { $LibStoragec::PEC_LV_NO_SPACE_SINGLE };
  1912. BEGIN{$TYPEINFO{PEC_LV_PE_DEV_NOT_FOUND}=["function", "integer"]}
  1913. *PEC_LV_PE_DEV_NOT_FOUND = sub { $LibStoragec::PEC_LV_PE_DEV_NOT_FOUND };
  1914. BEGIN{$TYPEINFO{DM_CHANGE_READONLY}=["function", "integer"]}
  1915. *DM_CHANGE_READONLY = sub { $LibStoragec::DM_CHANGE_READONLY };
  1916. BEGIN{$TYPEINFO{DM_UNKNOWN_TABLE}=["function", "integer"]}
  1917. *DM_UNKNOWN_TABLE = sub { $LibStoragec::DM_UNKNOWN_TABLE };
  1918. BEGIN{$TYPEINFO{DM_REMOVE_USED_BY}=["function", "integer"]}
  1919. *DM_REMOVE_USED_BY = sub { $LibStoragec::DM_REMOVE_USED_BY };
  1920. BEGIN{$TYPEINFO{DM_REMOVE_CREATE_NOT_FOUND}=["function", "integer"]}
  1921. *DM_REMOVE_CREATE_NOT_FOUND = sub { $LibStoragec::DM_REMOVE_CREATE_NOT_FOUND };
  1922. BEGIN{$TYPEINFO{DM_REMOVE_INVALID_VOLUME}=["function", "integer"]}
  1923. *DM_REMOVE_INVALID_VOLUME = sub { $LibStoragec::DM_REMOVE_INVALID_VOLUME };
  1924. BEGIN{$TYPEINFO{DM_REMOVE_FAILED}=["function", "integer"]}
  1925. *DM_REMOVE_FAILED = sub { $LibStoragec::DM_REMOVE_FAILED };
  1926. BEGIN{$TYPEINFO{DM_NOT_IN_LIST}=["function", "integer"]}
  1927. *DM_NOT_IN_LIST = sub { $LibStoragec::DM_NOT_IN_LIST };
  1928. BEGIN{$TYPEINFO{DASD_NOT_POSSIBLE}=["function", "integer"]}
  1929. *DASD_NOT_POSSIBLE = sub { $LibStoragec::DASD_NOT_POSSIBLE };
  1930. BEGIN{$TYPEINFO{DASD_FDASD_FAILED}=["function", "integer"]}
  1931. *DASD_FDASD_FAILED = sub { $LibStoragec::DASD_FDASD_FAILED };
  1932. BEGIN{$TYPEINFO{DASD_DASDFMT_FAILED}=["function", "integer"]}
  1933. *DASD_DASDFMT_FAILED = sub { $LibStoragec::DASD_DASDFMT_FAILED };
  1934. BEGIN{$TYPEINFO{DMPART_CHANGE_READONLY}=["function", "integer"]}
  1935. *DMPART_CHANGE_READONLY = sub { $LibStoragec::DMPART_CHANGE_READONLY };
  1936. BEGIN{$TYPEINFO{DMPART_INTERNAL_ERR}=["function", "integer"]}
  1937. *DMPART_INTERNAL_ERR = sub { $LibStoragec::DMPART_INTERNAL_ERR };
  1938. BEGIN{$TYPEINFO{DMPART_INVALID_VOLUME}=["function", "integer"]}
  1939. *DMPART_INVALID_VOLUME = sub { $LibStoragec::DMPART_INVALID_VOLUME };
  1940. BEGIN{$TYPEINFO{DMPART_PARTITION_NOT_FOUND}=["function", "integer"]}
  1941. *DMPART_PARTITION_NOT_FOUND = sub { $LibStoragec::DMPART_PARTITION_NOT_FOUND };
  1942. BEGIN{$TYPEINFO{DMPART_REMOVE_PARTITION_LIST_ERASE}=["function", "integer"]}
  1943. *DMPART_REMOVE_PARTITION_LIST_ERASE = sub { $LibStoragec::DMPART_REMOVE_PARTITION_LIST_ERASE };
  1944. BEGIN{$TYPEINFO{DMPART_COMMIT_NOTHING_TODO}=["function", "integer"]}
  1945. *DMPART_COMMIT_NOTHING_TODO = sub { $LibStoragec::DMPART_COMMIT_NOTHING_TODO };
  1946. BEGIN{$TYPEINFO{DMPART_NO_REMOVE}=["function", "integer"]}
  1947. *DMPART_NO_REMOVE = sub { $LibStoragec::DMPART_NO_REMOVE };
  1948. BEGIN{$TYPEINFO{DMRAID_REMOVE_FAILED}=["function", "integer"]}
  1949. *DMRAID_REMOVE_FAILED = sub { $LibStoragec::DMRAID_REMOVE_FAILED };
  1950. BEGIN{$TYPEINFO{CONTAINER_INTERNAL_ERROR}=["function", "integer"]}
  1951. *CONTAINER_INTERNAL_ERROR = sub { $LibStoragec::CONTAINER_INTERNAL_ERROR };
  1952. BEGIN{$TYPEINFO{CONTAINER_INVALID_VIRTUAL_CALL}=["function", "integer"]}
  1953. *CONTAINER_INVALID_VIRTUAL_CALL = sub { $LibStoragec::CONTAINER_INVALID_VIRTUAL_CALL };
  1954.  
  1955. 1;
  1956.