discordc

discordc - C Discord ping bot.
git clone git://git.beep.wimdupont.com/discordc.git
Log | Files | Refs | README | LICENSE

timeutil.h (274B)


      1 #ifndef TIMEUTIL_H
      2 #define TIMEUTIL_H
      3 
      4 #include <stdbool.h>
      5 #include <time.h>
      6 
      7 long parse_latency(const char *timestamp);
      8 void schedule_heartbeat(struct timespec *next_heartbeat,
      9 		const long heartbeat_ms);
     10 bool heartbeat_due(const struct timespec *next_heartbeat);
     11 
     12 #endif