definitions of the constants from sys/xattr.h instead of setting them
to arbitrary platform-specific constant values.
goto &$AUTOLOAD;
}
-sub XATTR_CREATE {
- # See <sys/xattr.h>.
- return 1;
-}
-
-sub XATTR_REPLACE {
- # See <sys/xattr.h>.
- return 2;
-}
-
bootstrap Fuse $VERSION;
sub main {
#include "perl.h"
#include "XSUB.h"
+#include <sys/xattr.h>
#include <fuse.h>
/* Determine if threads support should be included */
OUTPUT:
RETVAL
+SV *
+XATTR_CREATE()
+ CODE:
+ RETVAL = newSViv(XATTR_CREATE);
+ OUTPUT:
+ RETVAL
+
+SV *
+XATTR_REPLACE()
+ CODE:
+ RETVAL = newSViv(XATTR_REPLACE);
+ OUTPUT:
+ RETVAL
+
void
perl_fuse_main(...)
PREINIT: