tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

prfiletype.rst (634B)


      1 PRFileType
      2 ==========
      3 
      4 
      5 Type for enumerators used in the type field of the :ref:`PRFileInfo` and
      6 :ref:`PRFileInfo64` structures.
      7 
      8 
      9 Syntax
     10 ------
     11 
     12 .. code::
     13 
     14   #include <prio.h>
     15 
     16   typedef enum PRFileType{
     17      PR_FILE_FILE = 1,
     18      PR_FILE_DIRECTORY = 2,
     19      PR_FILE_OTHER = 3
     20   } PRFileType;
     21 
     22 
     23 Enumerators
     24 ~~~~~~~~~~~
     25 
     26 The enumeration has the following enumerators:
     27 
     28 ``PR_FILE_FILE``
     29   The information in the structure describes a file.
     30 ``PR_FILE_DIRECTORY``
     31   The information in the structure describes a directory.
     32 ``PR_FILE_OTHER``
     33   The information in the structure describes some other kind of file
     34   system object.