require '_h2ph_pre.ph';

no warnings qw(redefine misc);

if(!defined(&_FUSE_BUF_H_)) {
    eval 'sub _FUSE_BUF_H_ () {1;}' unless defined(&_FUSE_BUF_H_);
    require 'sys/types.ph';
    if(!defined(&FUSE_H_)) {
	die("Do\ not\ include\ this\ header\ directly\.\ Include\ \<fuse\.h\>\ instead\.");
    }
    if(defined(&__cplusplus)) {
    }
    eval("sub FUSE_BUF_IS_FD () { (1<<1); }") unless defined(&FUSE_BUF_IS_FD);
    eval("sub FUSE_BUF_FD_SEEK () { (1<<2); }") unless defined(&FUSE_BUF_FD_SEEK);
    eval("sub FUSE_BUF_FD_RETRY () { (1<<3); }") unless defined(&FUSE_BUF_FD_RETRY);
    eval("sub FUSE_BUF_NO_SPLICE () { (1<<1); }") unless defined(&FUSE_BUF_NO_SPLICE);
    eval("sub FUSE_BUF_FORCE_SPLICE () { (1<<2); }") unless defined(&FUSE_BUF_FORCE_SPLICE);
    eval("sub FUSE_BUF_SPLICE_MOVE () { (1<<3); }") unless defined(&FUSE_BUF_SPLICE_MOVE);
    eval("sub FUSE_BUF_SPLICE_NONBLOCK () { (1<<4); }") unless defined(&FUSE_BUF_SPLICE_NONBLOCK);
    eval 'sub FUSE_BUFVEC_INIT {
        my($size_) = @_;
	    eval q(( { 1, 0, 0, { { ($size_) ( &enum  &fuse_buf_flags)0,  &NULL, -1, 0, } } }));
    }' unless defined(&FUSE_BUFVEC_INIT);
    if(defined(&__cplusplus)) {
    }
}
1;
