[Libsysio-commit] HEAD: libsysio/include sysio-cmn.h
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2009-02-04 20:07:29
|
Update of /cvsroot/libsysio/libsysio/include In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1058/include Modified Files: sysio-cmn.h Log Message: A new API, built when --with-file-handle-interface is set to yes, is available with this deposit. The API allows operation by handles derived from exported volumes. At this point, it's not incredibly well tested. What is tested is the export/unexport functionality and the root_of, lookup, and stat functions. Hopefully, this will mature quickly. Not yet included is the ability to use credentials other than the caller's from it's process credentials. That ability should be here soon. Index: sysio-cmn.h =================================================================== RCS file: /cvsroot/libsysio/libsysio/include/sysio-cmn.h,v retrieving revision 1.20 retrieving revision 1.21 diff -u -w -b -B -p -r1.20 -r1.21 --- sysio-cmn.h 17 Jun 2008 17:18:57 -0000 1.20 +++ sysio-cmn.h 4 Feb 2009 20:07:23 -0000 1.21 @@ -222,6 +222,27 @@ typedef enum { SYSIO_TTAG(ftruncate), SYSIO_TTAG(unlink), SYSIO_TTAG(utime), +#ifdef FILE_HANDLE_INTERFACE + SYSIO_TTAG(fhi_export), + SYSIO_TTAG(fhi_unexport), + SYSIO_TTAG(fhi_root_of), + SYSIO_TTAG(fhi_iowait), + SYSIO_TTAG(fhi_getattr), + SYSIO_TTAG(fhi_setattr), + SYSIO_TTAG(fhi_lookup), + SYSIO_TTAG(fhi_readlink), + SYSIO_TTAG(fhi_read64x), + SYSIO_TTAG(fhi_write64x), + SYSIO_TTAG(fhi_create), + SYSIO_TTAG(fhi_unlink), + SYSIO_TTAG(fhi_rename), + SYSIO_TTAG(fhi_link), + SYSIO_TTAG(fhi_symlink), + SYSIO_TTAG(fhi_mkdir), + SYSIO_TTAG(fhi_rmdir), + SYSIO_TTAG(fhi_getdirentries64), + SYSIO_TTAG(fhi_statvfs64), +#endif } tracing_tag; extern void *_sysio_initializer_trace_q; |