basic: Move ratelimit logging functions to ratelimit.h

The ratelimit logging functions are only useful in a few scenarios
so let's move them to ratelimit.h instead of keeping them in the
generic log.h
This commit is contained in:
Daan De Meyer
2025-04-18 10:11:40 +02:00
parent 39dd06dbc4
commit 40d60725ec
10 changed files with 61 additions and 53 deletions
+2
View File
@@ -5,6 +5,8 @@
/* Include here so consumers have LOCK_{EX,SH,NB} available. */
#include <sys/file.h>
#include "time-util.h"
typedef struct LockFile {
int dir_fd;
char *path;