libixp

git clone git://oldgit.suckless.org/libixp/
Log | Files | Refs | LICENSE

IxpFid.3 (1138B)


      1 .TH "IXPFID" 3 "2010 Jun" "libixp Manual"
      2 
      3 .SH NAME
      4 .P
      5 IxpFid
      6 
      7 .SH SYNOPSIS
      8 .nf
      9   #include <ixp.h>
     10   
     11   typedef struct IxpFid IxpFid;
     12   struct IxpFid {
     13           char*           uid;    /* The uid of the file opener. */
     14           void*           aux;    /* Arbitrary pointer, to be used by handlers. */
     15           uint32_t                fid;    /* The ID number of the fid. */
     16           IxpQid          qid;    /* The filesystem-unique QID of the file. */
     17           signed char     omode;  /* The open mode of the file. */
     18           uint            iounit; /* The maximum size of any IO request. */
     19   
     20           /* Private members */
     21           ...
     22   }
     23 .fi
     24 
     25 .SH DESCRIPTION
     26 .P
     27 Represents an open file for a 9P connection. The same
     28 structure persists as long as the file remains open, and is
     29 installed in the \fBIxp9Req(3)\fR structure for any request Fcall
     30 which references it. Handlers may use the IauxR member to
     31 store any data which must persist for the life of the open
     32 file.
     33 
     34 .SH SEE ALSO
     35 .P
     36 Ixp9Req(3), IxpQid(3), IxpOMode(3)
     37 
     38 
     39 .\" man code generated by txt2tags 2.5 (http://txt2tags.sf.net)
     40 .\" cmdline: txt2tags -o- IxpFid.man3
     41