Added a sqlite and mongo database driver for the new logging

system.
This commit is contained in:
2016-03-01 09:51:25 +01:00
parent 972e191795
commit 1087dd6c8d
11 changed files with 1589 additions and 1 deletions

15
approxidate.h Normal file
View File

@ -0,0 +1,15 @@
#ifndef APPROXIDATE_H
#define APPROXIDATE_H
#include <sys/time.h>
/**
* @param date The date string
* @param tv Where the time will be placed.
*
* @return 0 on success
* @return 1 on error
*/
int approxidate(const char *date, struct timeval *tv);
#endif