tor-browser

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

pr_getdefaultiomethods.rst (649B)


      1 PR_GetDefaultIOMethods
      2 ======================
      3 
      4 Gets the default I/O methods table.
      5 
      6 
      7 Syntax
      8 ------
      9 
     10 .. code::
     11 
     12   #include <prio.h>
     13 
     14   const PRIOMethods* PR_GetDefaultIOMethods(void);
     15 
     16 
     17 Returns
     18 ~~~~~~~
     19 
     20 If successful, the function returns a pointer to a :ref:`PRIOMethods`
     21 structure.
     22 
     23 
     24 Description
     25 -----------
     26 
     27 After using :ref:`PR_GetDefaultIOMethods` to identify the default I/O
     28 methods table, you can select elements from that table with which to
     29 build your own layer's methods table. You may not modify the default I/O
     30 methods table directly. You can pass your own layer's methods table to
     31 :ref:`PR_CreateIOLayerStub` to create your new layer.