tor-browser

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

pr_getlayersidentity.rst (459B)


      1 PR_GetLayersIdentity
      2 ====================
      3 
      4 Gets the unique identity for the layer of the specified file descriptor.
      5 
      6 
      7 Syntax
      8 ------
      9 
     10 .. code::
     11 
     12   #include <prio.h>
     13 
     14   PRDescIdentity PR_GetLayersIdentity(PRFileDesc* fd);
     15 
     16 
     17 Parameter
     18 ~~~~~~~~~
     19 
     20 The function has the following parameter:
     21 
     22 ``fd``
     23   A pointer to a file descriptor.
     24 
     25 
     26 Returns
     27 ~~~~~~~
     28 
     29 If successful, the function returns the :ref:`PRDescIdentity` for the layer
     30 of the specified file descriptor.