/[fuse.before_github]/branches/xattr/Fuse.xs
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /branches/xattr/Fuse.xs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 114 by dpavlin, Thu Dec 6 10:52:28 2007 UTC revision 115 by dpavlin, Thu Dec 6 10:53:37 2007 UTC
# Line 831  fuse_get_context() Line 831  fuse_get_context()
831          OUTPUT:          OUTPUT:
832          RETVAL          RETVAL
833    
834    #include <sys/xattr.h>
835    
836    SV*
837    fuse_get_xattr()
838            CODE:
839            HV *hash = newHV();
840            hv_store(hash, "XATTR_CREATE",  3, newSViv(XATTR_CREATE),  0);
841            hv_store(hash, "XATTR_REPLACE", 3, newSViv(XATTR_REPLACE), 0);
842            RETVAL = newRV_noinc((SV*)hash);
843            OUTPUT:
844            RETVAL
845    
846  void  void
847  perl_fuse_main(...)  perl_fuse_main(...)
848          PREINIT:          PREINIT:

Legend:
Removed from v.114  
changed lines
  Added in v.115

  ViewVC Help
Powered by ViewVC 1.1.26