tor-browser

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

TimePrecision.d.h (757B)


      1 #ifndef TimePrecision_D_H
      2 #define TimePrecision_D_H
      3 
      4 #include <stdio.h>
      5 #include <stdint.h>
      6 #include <stddef.h>
      7 #include <stdbool.h>
      8 #include "diplomat_runtime.h"
      9 
     10 
     11 
     12 
     13 
     14 typedef enum TimePrecision {
     15  TimePrecision_Hour = 0,
     16  TimePrecision_Minute = 1,
     17  TimePrecision_MinuteOptional = 2,
     18  TimePrecision_Second = 3,
     19  TimePrecision_Subsecond1 = 4,
     20  TimePrecision_Subsecond2 = 5,
     21  TimePrecision_Subsecond3 = 6,
     22  TimePrecision_Subsecond4 = 7,
     23  TimePrecision_Subsecond5 = 8,
     24  TimePrecision_Subsecond6 = 9,
     25  TimePrecision_Subsecond7 = 10,
     26  TimePrecision_Subsecond8 = 11,
     27  TimePrecision_Subsecond9 = 12,
     28 } TimePrecision;
     29 
     30 typedef struct TimePrecision_option {union { TimePrecision ok; }; bool is_ok; } TimePrecision_option;
     31 
     32 
     33 
     34 #endif // TimePrecision_D_H