tor-browser

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

prtimeparamfn.rst (523B)


      1 PRTimeParamFn
      2 =============
      3 
      4 This type defines a callback function to calculate and return the time
      5 parameter offsets from a calendar time object in GMT.
      6 
      7 
      8 Syntax
      9 ------
     10 
     11 .. code::
     12 
     13    #include <prtime.h>
     14 
     15    typedef PRTimeParameters (PR_CALLBACK_DECL *PRTimeParamFn)
     16       (const PRExplodedTime *gmt);
     17 
     18 
     19 Description
     20 -----------
     21 
     22 The type :ref:`PRTimeParamFn` represents a callback function that, when
     23 given a time instant in GMT, returns the time zone information (offset
     24 from GMT and DST offset) at that time instant.