Browse Source

+ add prototypes in logfile.h

master
Alex 'AdUser' Z 9 years ago
parent
commit
3024ba39e3
  1. 5
      src/logfile.h

5
src/logfile.h

@ -11,4 +11,9 @@ typedef struct {
struct stat st; struct stat st;
} f2b_logfile_t; } f2b_logfile_t;
bool f2b_logfile_open(f2b_logfile_t *file, const char *filename);
void f2b_logfile_close(const f2b_logfile_t *file);
bool f2b_logfile_rotated(const f2b_logfile_t *file);
bool f2b_logfile_getline(const f2b_logfile_t *file, char *buf, size_t bufsize);
#endif /* F2B_LOGFILE_H_ */ #endif /* F2B_LOGFILE_H_ */

Loading…
Cancel
Save