20 lines
332 B
C
20 lines
332 B
C
#ifndef __LATCH_FILE_H__
|
|
#define __LATCH_FILE_H__
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
#include <stdio.h>
|
|
#include <time.h>
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
int64_t lt_get_file_size(FILE *f);
|
|
time_t lt_get_file_mtime(FILE *f);
|
|
time_t lt_get_file_ctime(FILE *f);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // __LATCH_FILE_H__
|