tor-browser

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

prstaticlinktable.rst (591B)


      1 PRStaticLinkTable
      2 =================
      3 
      4 A static link table entry can be created by a client of the runtime so
      5 that other clients can access static or dynamic libraries transparently.
      6 The basic function on a dynamic library is to acquire a pointer to a
      7 function that the library exports. If, during initialization, such
      8 entries are manually created, then future attempts to link to the
      9 symbols can be treated in a consistent fashion.
     10 
     11 
     12 Syntax
     13 ------
     14 
     15 .. code::
     16 
     17   #include <prlink.h>
     18 
     19   typedef struct PRStaticLinkTable {
     20       const char *name;
     21       void (*fp)();
     22   } PRStaticLinkTable;