Added a sqlite and mongo database driver for the new logging
system.
This commit is contained in:
15
approxidate.h
Normal file
15
approxidate.h
Normal 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
|
Reference in New Issue
Block a user