mirror of https://github.com/omar-polo/gmid.git
rename log.[ch] to logger.[ch]
This commit is contained in:
parent
3dd89fbb44
commit
281a8852b3
8
Makefile
8
Makefile
|
@ -23,7 +23,7 @@ GMID_SRCS = config.c \
|
||||||
fcgi.c \
|
fcgi.c \
|
||||||
gmid.c \
|
gmid.c \
|
||||||
iri.c \
|
iri.c \
|
||||||
log.c \
|
logger.c \
|
||||||
mime.c \
|
mime.c \
|
||||||
proxy.c \
|
proxy.c \
|
||||||
puny.c \
|
puny.c \
|
||||||
|
@ -40,7 +40,7 @@ GE_SRCS = config.c \
|
||||||
fcgi.c \
|
fcgi.c \
|
||||||
ge.c \
|
ge.c \
|
||||||
iri.c \
|
iri.c \
|
||||||
log.c \
|
logger.c \
|
||||||
mime.c \
|
mime.c \
|
||||||
proxy.c \
|
proxy.c \
|
||||||
puny.c \
|
puny.c \
|
||||||
|
@ -58,7 +58,7 @@ GG_SRCS = gg.c \
|
||||||
GG_OBJS = ${GG_SRCS:.c=.o} ${COBJS}
|
GG_OBJS = ${GG_SRCS:.c=.o} ${COBJS}
|
||||||
|
|
||||||
SRCS = gmid.h \
|
SRCS = gmid.h \
|
||||||
log.h \
|
logger.h \
|
||||||
parse.y \
|
parse.y \
|
||||||
${GMID_SRCS} \
|
${GMID_SRCS} \
|
||||||
${GE_SRCS} \
|
${GE_SRCS} \
|
||||||
|
@ -158,7 +158,7 @@ DISTFILES = .cirrus.yml \
|
||||||
gmid.conf.5 \
|
gmid.conf.5 \
|
||||||
gmid.h \
|
gmid.h \
|
||||||
iri.c \
|
iri.c \
|
||||||
log.c \
|
logger.c \
|
||||||
mime.c \
|
mime.c \
|
||||||
parse.y \
|
parse.y \
|
||||||
proxy.c \
|
proxy.c \
|
||||||
|
|
2
fcgi.c
2
fcgi.c
|
@ -20,7 +20,7 @@
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "logger.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sometimes it can be useful to inspect the fastcgi traffic as
|
* Sometimes it can be useful to inspect the fastcgi traffic as
|
||||||
|
|
2
ge.c
2
ge.c
|
@ -28,7 +28,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "logger.h"
|
||||||
|
|
||||||
struct imsgbuf ibuf, logibuf;
|
struct imsgbuf ibuf, logibuf;
|
||||||
struct conf conf;
|
struct conf conf;
|
||||||
|
|
2
gmid.c
2
gmid.c
|
@ -29,7 +29,7 @@
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "logger.h"
|
||||||
|
|
||||||
static const char *opts = "c:D:fhnP:Vv";
|
static const char *opts = "c:D:fhnP:Vv";
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include <syslog.h>
|
#include <syslog.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "logger.h"
|
||||||
|
|
||||||
static struct event imsgev;
|
static struct event imsgev;
|
||||||
|
|
2
mime.c
2
mime.c
|
@ -20,7 +20,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "logger.h"
|
||||||
|
|
||||||
void
|
void
|
||||||
init_mime(struct mime *mime)
|
init_mime(struct mime *mime)
|
||||||
|
|
2
proxy.c
2
proxy.c
|
@ -20,7 +20,7 @@
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "logger.h"
|
||||||
|
|
||||||
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "gmid.h"
|
#include "gmid.h"
|
||||||
#include "log.h"
|
#include "logger.h"
|
||||||
|
|
||||||
#if defined(__OpenBSD__)
|
#if defined(__OpenBSD__)
|
||||||
|
|
||||||
|
|
2
server.c
2
server.c
|
@ -28,7 +28,7 @@
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "logger.h"
|
||||||
|
|
||||||
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue