New APIs: hivex_*

Transscribe many hivex(3) APIs into the libguestfs API.

There is one hive handle per libguestfs handle, as with Augeas.

Note that hivex uses iconv_open for some APIs (eg. hivex_value_string).
But since we delete all the i18n files from the appliance, this
doesn't work -- iconv_open returns EINVAL.  Therefore hivex APIs which
require iconv cannot be bound in the daemon.
This commit is contained in:
Richard W.M. Jones
2012-08-28 16:03:50 +01:00
parent 228d49bb84
commit 8a723ca62e
11 changed files with 745 additions and 10 deletions

View File

@@ -23,6 +23,8 @@ java_built_sources = \
com/redhat/et/libguestfs/Application.java \
com/redhat/et/libguestfs/BTRFSSubvolume.java \
com/redhat/et/libguestfs/Dirent.java \
com/redhat/et/libguestfs/HivexNode.java \
com/redhat/et/libguestfs/HivexValue.java \
com/redhat/et/libguestfs/INotifyEvent.java \
com/redhat/et/libguestfs/ISOInfo.java \
com/redhat/et/libguestfs/IntBool.java \

View File

@@ -1,6 +1,8 @@
Application.java
BTRFSSubvolume.java
Dirent.java
HivexNode.java
HivexValue.java
INotifyEvent.java
ISOInfo.java
IntBool.java