return 0;
}
guestfs_set_error_handler (g, NULL, NULL);
- return (jlong) g;
+ return (jlong) (long) g;
}
JNIEXPORT void JNICALL
Java_com_redhat_et_libguestfs_GuestFS__1close
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
guestfs_close (g);
}
Java_com_redhat_et_libguestfs_GuestFS__1launch
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
r = guestfs_launch (g);
Java_com_redhat_et_libguestfs_GuestFS__1wait_1ready
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
r = guestfs_wait_ready (g);
Java_com_redhat_et_libguestfs_GuestFS__1kill_1subprocess
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
r = guestfs_kill_subprocess (g);
Java_com_redhat_et_libguestfs_GuestFS__1add_1drive
(JNIEnv *env, jobject obj, jlong jg, jstring jfilename)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *filename;
Java_com_redhat_et_libguestfs_GuestFS__1add_1cdrom
(JNIEnv *env, jobject obj, jlong jg, jstring jfilename)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *filename;
Java_com_redhat_et_libguestfs_GuestFS__1config
(JNIEnv *env, jobject obj, jlong jg, jstring jqemuparam, jstring jqemuvalue)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *qemuparam;
const char *qemuvalue;
Java_com_redhat_et_libguestfs_GuestFS__1set_1qemu
(JNIEnv *env, jobject obj, jlong jg, jstring jqemu)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *qemu;
Java_com_redhat_et_libguestfs_GuestFS__1get_1qemu
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
const char *r;
r = guestfs_get_qemu (g);
Java_com_redhat_et_libguestfs_GuestFS__1set_1path
(JNIEnv *env, jobject obj, jlong jg, jstring jpath)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *path;
Java_com_redhat_et_libguestfs_GuestFS__1get_1path
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
const char *r;
r = guestfs_get_path (g);
Java_com_redhat_et_libguestfs_GuestFS__1set_1autosync
(JNIEnv *env, jobject obj, jlong jg, jboolean jautosync)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
int autosync;
Java_com_redhat_et_libguestfs_GuestFS__1get_1autosync
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
r = guestfs_get_autosync (g);
Java_com_redhat_et_libguestfs_GuestFS__1set_1verbose
(JNIEnv *env, jobject obj, jlong jg, jboolean jverbose)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
int verbose;
Java_com_redhat_et_libguestfs_GuestFS__1get_1verbose
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
r = guestfs_get_verbose (g);
Java_com_redhat_et_libguestfs_GuestFS__1is_1ready
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
r = guestfs_is_ready (g);
Java_com_redhat_et_libguestfs_GuestFS__1is_1config
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
r = guestfs_is_config (g);
Java_com_redhat_et_libguestfs_GuestFS__1is_1launching
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
r = guestfs_is_launching (g);
Java_com_redhat_et_libguestfs_GuestFS__1is_1busy
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
r = guestfs_is_busy (g);
Java_com_redhat_et_libguestfs_GuestFS__1get_1state
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
r = guestfs_get_state (g);
Java_com_redhat_et_libguestfs_GuestFS__1set_1busy
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
r = guestfs_set_busy (g);
Java_com_redhat_et_libguestfs_GuestFS__1set_1ready
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
r = guestfs_set_ready (g);
Java_com_redhat_et_libguestfs_GuestFS__1mount
(JNIEnv *env, jobject obj, jlong jg, jstring jdevice, jstring jmountpoint)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *device;
const char *mountpoint;
Java_com_redhat_et_libguestfs_GuestFS__1sync
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
r = guestfs_sync (g);
Java_com_redhat_et_libguestfs_GuestFS__1touch
(JNIEnv *env, jobject obj, jlong jg, jstring jpath)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *path;
Java_com_redhat_et_libguestfs_GuestFS__1cat
(JNIEnv *env, jobject obj, jlong jg, jstring jpath)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
jstring jr;
char *r;
const char *path;
Java_com_redhat_et_libguestfs_GuestFS__1ll
(JNIEnv *env, jobject obj, jlong jg, jstring jdirectory)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
jstring jr;
char *r;
const char *directory;
Java_com_redhat_et_libguestfs_GuestFS__1ls
(JNIEnv *env, jobject obj, jlong jg, jstring jdirectory)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
jobjectArray jr;
int r_len;
jclass cl;
Java_com_redhat_et_libguestfs_GuestFS__1list_1devices
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
jobjectArray jr;
int r_len;
jclass cl;
Java_com_redhat_et_libguestfs_GuestFS__1list_1partitions
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
jobjectArray jr;
int r_len;
jclass cl;
Java_com_redhat_et_libguestfs_GuestFS__1pvs
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
jobjectArray jr;
int r_len;
jclass cl;
Java_com_redhat_et_libguestfs_GuestFS__1vgs
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
jobjectArray jr;
int r_len;
jclass cl;
Java_com_redhat_et_libguestfs_GuestFS__1lvs
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
jobjectArray jr;
int r_len;
jclass cl;
Java_com_redhat_et_libguestfs_GuestFS__1pvs_1full
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
jobjectArray jr;
jclass cl;
jfieldID fl;
Java_com_redhat_et_libguestfs_GuestFS__1vgs_1full
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
jobjectArray jr;
jclass cl;
jfieldID fl;
Java_com_redhat_et_libguestfs_GuestFS__1lvs_1full
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
jobjectArray jr;
jclass cl;
jfieldID fl;
Java_com_redhat_et_libguestfs_GuestFS__1read_1lines
(JNIEnv *env, jobject obj, jlong jg, jstring jpath)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
jobjectArray jr;
int r_len;
jclass cl;
Java_com_redhat_et_libguestfs_GuestFS__1aug_1init
(JNIEnv *env, jobject obj, jlong jg, jstring jroot, jint jflags)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *root;
int flags;
Java_com_redhat_et_libguestfs_GuestFS__1aug_1close
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
r = guestfs_aug_close (g);
Java_com_redhat_et_libguestfs_GuestFS__1aug_1defvar
(JNIEnv *env, jobject obj, jlong jg, jstring jname, jstring jexpr)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *name;
const char *expr;
Java_com_redhat_et_libguestfs_GuestFS__1aug_1defnode
(JNIEnv *env, jobject obj, jlong jg, jstring jname, jstring jexpr, jstring jval)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
jobject jr;
jclass cl;
jfieldID fl;
Java_com_redhat_et_libguestfs_GuestFS__1aug_1get
(JNIEnv *env, jobject obj, jlong jg, jstring jpath)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
jstring jr;
char *r;
const char *path;
Java_com_redhat_et_libguestfs_GuestFS__1aug_1set
(JNIEnv *env, jobject obj, jlong jg, jstring jpath, jstring jval)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *path;
const char *val;
Java_com_redhat_et_libguestfs_GuestFS__1aug_1insert
(JNIEnv *env, jobject obj, jlong jg, jstring jpath, jstring jlabel, jboolean jbefore)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *path;
const char *label;
Java_com_redhat_et_libguestfs_GuestFS__1aug_1rm
(JNIEnv *env, jobject obj, jlong jg, jstring jpath)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *path;
Java_com_redhat_et_libguestfs_GuestFS__1aug_1mv
(JNIEnv *env, jobject obj, jlong jg, jstring jsrc, jstring jdest)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *src;
const char *dest;
Java_com_redhat_et_libguestfs_GuestFS__1aug_1match
(JNIEnv *env, jobject obj, jlong jg, jstring jpath)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
jobjectArray jr;
int r_len;
jclass cl;
Java_com_redhat_et_libguestfs_GuestFS__1aug_1save
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
r = guestfs_aug_save (g);
Java_com_redhat_et_libguestfs_GuestFS__1aug_1load
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
r = guestfs_aug_load (g);
Java_com_redhat_et_libguestfs_GuestFS__1aug_1ls
(JNIEnv *env, jobject obj, jlong jg, jstring jpath)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
jobjectArray jr;
int r_len;
jclass cl;
Java_com_redhat_et_libguestfs_GuestFS__1rm
(JNIEnv *env, jobject obj, jlong jg, jstring jpath)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *path;
Java_com_redhat_et_libguestfs_GuestFS__1rmdir
(JNIEnv *env, jobject obj, jlong jg, jstring jpath)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *path;
Java_com_redhat_et_libguestfs_GuestFS__1rm_1rf
(JNIEnv *env, jobject obj, jlong jg, jstring jpath)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *path;
Java_com_redhat_et_libguestfs_GuestFS__1mkdir
(JNIEnv *env, jobject obj, jlong jg, jstring jpath)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *path;
Java_com_redhat_et_libguestfs_GuestFS__1mkdir_1p
(JNIEnv *env, jobject obj, jlong jg, jstring jpath)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *path;
Java_com_redhat_et_libguestfs_GuestFS__1chmod
(JNIEnv *env, jobject obj, jlong jg, jint jmode, jstring jpath)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
int mode;
const char *path;
Java_com_redhat_et_libguestfs_GuestFS__1chown
(JNIEnv *env, jobject obj, jlong jg, jint jowner, jint jgroup, jstring jpath)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
int owner;
int group;
Java_com_redhat_et_libguestfs_GuestFS__1exists
(JNIEnv *env, jobject obj, jlong jg, jstring jpath)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *path;
Java_com_redhat_et_libguestfs_GuestFS__1is_1file
(JNIEnv *env, jobject obj, jlong jg, jstring jpath)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *path;
Java_com_redhat_et_libguestfs_GuestFS__1is_1dir
(JNIEnv *env, jobject obj, jlong jg, jstring jpath)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *path;
Java_com_redhat_et_libguestfs_GuestFS__1pvcreate
(JNIEnv *env, jobject obj, jlong jg, jstring jdevice)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *device;
Java_com_redhat_et_libguestfs_GuestFS__1vgcreate
(JNIEnv *env, jobject obj, jlong jg, jstring jvolgroup, jobjectArray jphysvols)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *volgroup;
int physvols_len;
Java_com_redhat_et_libguestfs_GuestFS__1lvcreate
(JNIEnv *env, jobject obj, jlong jg, jstring jlogvol, jstring jvolgroup, jint jmbytes)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *logvol;
const char *volgroup;
Java_com_redhat_et_libguestfs_GuestFS__1mkfs
(JNIEnv *env, jobject obj, jlong jg, jstring jfstype, jstring jdevice)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *fstype;
const char *device;
Java_com_redhat_et_libguestfs_GuestFS__1sfdisk
(JNIEnv *env, jobject obj, jlong jg, jstring jdevice, jint jcyls, jint jheads, jint jsectors, jobjectArray jlines)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *device;
int cyls;
Java_com_redhat_et_libguestfs_GuestFS__1write_1file
(JNIEnv *env, jobject obj, jlong jg, jstring jpath, jstring jcontent, jint jsize)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *path;
const char *content;
Java_com_redhat_et_libguestfs_GuestFS__1umount
(JNIEnv *env, jobject obj, jlong jg, jstring jpathordevice)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *pathordevice;
Java_com_redhat_et_libguestfs_GuestFS__1mounts
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
jobjectArray jr;
int r_len;
jclass cl;
Java_com_redhat_et_libguestfs_GuestFS__1umount_1all
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
r = guestfs_umount_all (g);
Java_com_redhat_et_libguestfs_GuestFS__1lvm_1remove_1all
(JNIEnv *env, jobject obj, jlong jg)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
r = guestfs_lvm_remove_all (g);
Java_com_redhat_et_libguestfs_GuestFS__1file
(JNIEnv *env, jobject obj, jlong jg, jstring jpath)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
jstring jr;
char *r;
const char *path;
Java_com_redhat_et_libguestfs_GuestFS__1command
(JNIEnv *env, jobject obj, jlong jg, jobjectArray jarguments)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
jstring jr;
char *r;
int arguments_len;
Java_com_redhat_et_libguestfs_GuestFS__1command_1lines
(JNIEnv *env, jobject obj, jlong jg, jobjectArray jarguments)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
jobjectArray jr;
int r_len;
jclass cl;
Java_com_redhat_et_libguestfs_GuestFS__1stat
(JNIEnv *env, jobject obj, jlong jg, jstring jpath)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
jobject jr;
jclass cl;
jfieldID fl;
Java_com_redhat_et_libguestfs_GuestFS__1lstat
(JNIEnv *env, jobject obj, jlong jg, jstring jpath)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
jobject jr;
jclass cl;
jfieldID fl;
Java_com_redhat_et_libguestfs_GuestFS__1statvfs
(JNIEnv *env, jobject obj, jlong jg, jstring jpath)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
jobject jr;
jclass cl;
jfieldID fl;
Java_com_redhat_et_libguestfs_GuestFS__1tune2fs_1l
(JNIEnv *env, jobject obj, jlong jg, jstring jdevice)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
char **r;
const char *device;
Java_com_redhat_et_libguestfs_GuestFS__1blockdev_1setro
(JNIEnv *env, jobject obj, jlong jg, jstring jdevice)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *device;
Java_com_redhat_et_libguestfs_GuestFS__1blockdev_1setrw
(JNIEnv *env, jobject obj, jlong jg, jstring jdevice)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *device;
Java_com_redhat_et_libguestfs_GuestFS__1blockdev_1getro
(JNIEnv *env, jobject obj, jlong jg, jstring jdevice)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *device;
Java_com_redhat_et_libguestfs_GuestFS__1blockdev_1getss
(JNIEnv *env, jobject obj, jlong jg, jstring jdevice)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *device;
Java_com_redhat_et_libguestfs_GuestFS__1blockdev_1getbsz
(JNIEnv *env, jobject obj, jlong jg, jstring jdevice)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *device;
Java_com_redhat_et_libguestfs_GuestFS__1blockdev_1setbsz
(JNIEnv *env, jobject obj, jlong jg, jstring jdevice, jint jblocksize)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *device;
int blocksize;
Java_com_redhat_et_libguestfs_GuestFS__1blockdev_1getsz
(JNIEnv *env, jobject obj, jlong jg, jstring jdevice)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int64_t r;
const char *device;
Java_com_redhat_et_libguestfs_GuestFS__1blockdev_1getsize64
(JNIEnv *env, jobject obj, jlong jg, jstring jdevice)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int64_t r;
const char *device;
Java_com_redhat_et_libguestfs_GuestFS__1blockdev_1flushbufs
(JNIEnv *env, jobject obj, jlong jg, jstring jdevice)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *device;
Java_com_redhat_et_libguestfs_GuestFS__1blockdev_1rereadpt
(JNIEnv *env, jobject obj, jlong jg, jstring jdevice)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *device;
Java_com_redhat_et_libguestfs_GuestFS__1upload
(JNIEnv *env, jobject obj, jlong jg, jstring jfilename, jstring jremotefilename)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *filename;
const char *remotefilename;
Java_com_redhat_et_libguestfs_GuestFS__1download
(JNIEnv *env, jobject obj, jlong jg, jstring jremotefilename, jstring jfilename)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *remotefilename;
const char *filename;
Java_com_redhat_et_libguestfs_GuestFS__1checksum
(JNIEnv *env, jobject obj, jlong jg, jstring jcsumtype, jstring jpath)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
jstring jr;
char *r;
const char *csumtype;
Java_com_redhat_et_libguestfs_GuestFS__1tar_1in
(JNIEnv *env, jobject obj, jlong jg, jstring jtarfile, jstring jdirectory)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *tarfile;
const char *directory;
Java_com_redhat_et_libguestfs_GuestFS__1tar_1out
(JNIEnv *env, jobject obj, jlong jg, jstring jdirectory, jstring jtarfile)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *directory;
const char *tarfile;
Java_com_redhat_et_libguestfs_GuestFS__1tgz_1in
(JNIEnv *env, jobject obj, jlong jg, jstring jtarball, jstring jdirectory)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *tarball;
const char *directory;
Java_com_redhat_et_libguestfs_GuestFS__1tgz_1out
(JNIEnv *env, jobject obj, jlong jg, jstring jdirectory, jstring jtarball)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *directory;
const char *tarball;
Java_com_redhat_et_libguestfs_GuestFS__1mount_1ro
(JNIEnv *env, jobject obj, jlong jg, jstring jdevice, jstring jmountpoint)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *device;
const char *mountpoint;
Java_com_redhat_et_libguestfs_GuestFS__1mount_1options
(JNIEnv *env, jobject obj, jlong jg, jstring joptions, jstring jdevice, jstring jmountpoint)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *options;
const char *device;
Java_com_redhat_et_libguestfs_GuestFS__1mount_1vfs
(JNIEnv *env, jobject obj, jlong jg, jstring joptions, jstring jvfstype, jstring jdevice, jstring jmountpoint)
{
- guestfs_h *g = (guestfs_h *) jg;
+ guestfs_h *g = (guestfs_h *) (long) jg;
int r;
const char *options;
const char *vfstype;