From dfcd46510329fddf9a5e6fe7a4d63a12ddb1f808 Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Fri, 16 Aug 2019 18:00:26 +0200 Subject: [PATCH] Rename some api-*.c files to be more descriptive. --- Makefile.windows | 24 +++++++++++----------- src/Makefile.in | 22 ++++++++++---------- src/{api-extcmodes.c => api-channelmode.c} | 2 +- src/{api-extbans.c => api-extban.c} | 2 +- src/{api-mtag.c => api-messagetag.c} | 0 src/{api-umodes.c => api-usermode.c} | 2 +- 6 files changed, 26 insertions(+), 26 deletions(-) rename src/{api-extcmodes.c => api-channelmode.c} (99%) rename src/{api-extbans.c => api-extban.c} (99%) rename src/{api-mtag.c => api-messagetag.c} (100%) rename src/{api-umodes.c => api-usermode.c} (99%) diff --git a/Makefile.windows b/Makefile.windows index 538a313cd..c4e1057d7 100644 --- a/Makefile.windows +++ b/Makefile.windows @@ -156,11 +156,11 @@ EXP_OBJ_FILES=SRC/CHANNEL.OBJ SRC/SEND.OBJ SRC/SOCKET.OBJ \ SRC/SERV.OBJ SRC/USER.OBJ \ SRC/VERSION.OBJ SRC/KLINE.OBJ SRC/EXTRA.OBJ SRC/IRCSPRINTF.OBJ \ SRC/SCACHE.OBJ SRC/RES.OBJ SRC/MODULES.OBJ \ - SRC/ALIASES.OBJ SRC/API-EVENT.OBJ SRC/API-UMODES.OBJ SRC/AUTH.OBJ SRC/TLS.OBJ \ - SRC/RANDOM.OBJ SRC/API-EXTCMODES.OBJ SRC/MODDATA.OBJ SRC/UID.OBJ SRC/MEMPOOL.OBJ \ + SRC/ALIASES.OBJ SRC/API-EVENT.OBJ SRC/API-USERMODE.OBJ SRC/AUTH.OBJ SRC/TLS.OBJ \ + SRC/RANDOM.OBJ SRC/API-CHANNELMODE.OBJ SRC/MODDATA.OBJ SRC/UID.OBJ SRC/MEMPOOL.OBJ \ SRC/DISPATCH.OBJ SRC/MD5.OBJ SRC/API-ISUPPORT.OBJ SRC/API-COMMAND.OBJ \ - SRC/API-CLICAP.OBJ SRC/API-MTAG.OBJ SRC/API-HISTORY-BACKEND.OBJ \ - SRC/API-EXTBANS.OBJ SRC/CRYPT_BLOWFISH.OBJ \ + SRC/API-CLICAP.OBJ SRC/API-MESSAGETAG.OBJ SRC/API-HISTORY-BACKEND.OBJ \ + SRC/API-EXTBAN.OBJ SRC/CRYPT_BLOWFISH.OBJ \ SRC/OPERCLASS.OBJ SRC/UPDCONF.OBJ SRC/CRASHREPORT.OBJ \ SRC/OPENSSL_HOSTNAME_VALIDATION.OBJ $(CURLOBJ) @@ -456,8 +456,8 @@ src/modules.obj: src/modules.c $(INCLUDES) src/api-event.obj: src/api-event.c $(INCLUDES) $(CC) $(CFLAGS) src/api-event.c -src/api-umodes.obj: src/api-umodes.c $(INCLUDES) - $(CC) $(CFLAGS) src/api-umodes.c +src/api-usermode.obj: src/api-usermode.c $(INCLUDES) + $(CC) $(CFLAGS) src/api-usermode.c src/auth.obj: src/auth.c $(INCLUDES) $(CC) $(CFLAGS) src/auth.c @@ -465,8 +465,8 @@ src/auth.obj: src/auth.c $(INCLUDES) src/random.obj: src/random.c $(INCLUDES) $(CC) $(CFLAGS) src/random.c -src/api-extcmodes.obj: src/api-extcmodes.c $(INCLUDES) - $(CC) $(CFLAGS) src/api-extcmodes.c +src/api-channelmode.obj: src/api-channelmode.c $(INCLUDES) + $(CC) $(CFLAGS) src/api-channelmode.c src/moddata.obj: src/moddata.c $(INCLUDES) $(CC) $(CFLAGS) src/moddata.c @@ -486,8 +486,8 @@ src/md5.obj: src/md5.c $(INCLUDES) src/url.obj: src/url.c $(INCLUDES) ./include/url.h $(CC) $(CFLAGS) src/url.c -src/api-extbans.obj: src/api-extbans.c $(INCLUDES) - $(CC) $(CFLAGS) src/api-extbans.c +src/api-extban.obj: src/api-extban.c $(INCLUDES) + $(CC) $(CFLAGS) src/api-extban.c src/api-isupport.obj: src/api-isupport.c $(INCLUDES) $(CC) $(CFLAGS) src/api-isupport.c @@ -498,8 +498,8 @@ src/api-command.obj: src/api-command.c $(INCLUDES) src/api-clicap.obj: src/api-clicap.c $(INCLUDES) $(CC) $(CFLAGS) src/api-clicap.c -src/api-mtag.obj: src/api-mtag.c $(INCLUDES) - $(CC) $(CFLAGS) src/api-mtag.c +src/api-messagetag.obj: src/api-messagetag.c $(INCLUDES) + $(CC) $(CFLAGS) src/api-messagetag.c src/api-history-backend.obj: src/api-history-backend.c $(INCLUDES) $(CC) $(CFLAGS) src/api-history-backend.c diff --git a/src/Makefile.in b/src/Makefile.in index a5e8f98ca..f3d6fb847 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -26,9 +26,9 @@ OBJS=res.o bsd.o auth.o channel.o cloak.o crule.o dbuf.o \ match.o modules.o packet.o parse.o mempool.o operclass.o \ conf_preprocessor.o conf.o debug.o dispatch.o err.o extra.o kline.o \ misc.o numeric.o serv.o aliases.o $(STRTOUL) socket.o \ - tls.o user.o scache.o send.o support.o api-umodes.o \ - version.o whowas.o random.o api-extcmodes.o moddata.o uid.o \ - api-extbans.o api-isupport.o api-command.o api-clicap.o api-mtag.o \ + tls.o user.o scache.o send.o support.o api-usermode.o \ + version.o whowas.o random.o api-channelmode.o moddata.o uid.o \ + api-extban.o api-isupport.o api-command.o api-clicap.o api-messagetag.o \ api-history-backend.o md5.o crypt_blowfish.o updconf.o crashreport.o \ openssl_hostname_validation.o $(URL) @@ -113,8 +113,8 @@ mempool.o: mempool.c $(INCLUDES) support.o: support.c $(INCLUDES) $(CC) $(CFLAGS) $(BINCFLAGS) -c support.c -api-umodes.o: api-umodes.c $(INCLUDES) - $(CC) $(CFLAGS) $(BINCFLAGS) -c api-umodes.c +api-usermode.o: api-usermode.c $(INCLUDES) + $(CC) $(CFLAGS) $(BINCFLAGS) -c api-usermode.c userload.o: userload.c $(INCLUDES) $(CC) $(CFLAGS) $(BINCFLAGS) -c userload.c @@ -206,8 +206,8 @@ crule.o: crule.c $(INCLUDES) random.o: random.c $(INCLUDES) $(CC) $(CFLAGS) $(BINCFLAGS) -c random.c -api-extcmodes.o: api-extcmodes.c $(INCLUDES) - $(CC) $(CFLAGS) $(BINCFLAGS) -c api-extcmodes.c +api-channelmode.o: api-channelmode.c $(INCLUDES) + $(CC) $(CFLAGS) $(BINCFLAGS) -c api-channelmode.c operclass.o: operclass.c $(INCLUDES) $(CC) $(CFLAGS) $(BINCFLAGS) -c operclass.c @@ -215,8 +215,8 @@ operclass.o: operclass.c $(INCLUDES) moddata.o: moddata.c $(INCLUDES) $(CC) $(CFLAGS) $(BINCFLAGS) -c moddata.c -api-extbans.o: api-extbans.c $(INCLUDES) - $(CC) $(CFLAGS) $(BINCFLAGS) -c api-extbans.c +api-extban.o: api-extban.c $(INCLUDES) + $(CC) $(CFLAGS) $(BINCFLAGS) -c api-extban.c md5.o: md5.c $(INCLUDES) $(CC) $(CFLAGS) $(BINCFLAGS) -c md5.c @@ -230,8 +230,8 @@ api-isupport.o: api-isupport.c $(INCLUDES) api-clicap.o: api-clicap.c $(INCLUDES) $(CC) $(CFLAGS) $(BINCFLAGS) -c api-clicap.c -api-mtag.o: api-mtag.c $(INCLUDES) - $(CC) $(CFLAGS) $(BINCFLAGS) -c api-mtag.c +api-messagetag.o: api-messagetag.c $(INCLUDES) + $(CC) $(CFLAGS) $(BINCFLAGS) -c api-messagetag.c api-history-backend.o: api-history-backend.c $(INCLUDES) $(CC) $(CFLAGS) $(BINCFLAGS) -c api-history-backend.c diff --git a/src/api-extcmodes.c b/src/api-channelmode.c similarity index 99% rename from src/api-extcmodes.c rename to src/api-channelmode.c index 89f431569..ae6baa247 100644 --- a/src/api-extcmodes.c +++ b/src/api-channelmode.c @@ -1,5 +1,5 @@ /************************************************************************ - * IRC - Internet Relay Chat, extcmodes.c + * IRC - Internet Relay Chat, src/api-channelmode.c * (C) 2003-2007 Bram Matthys (Syzop) and the UnrealIRCd Team * * See file AUTHORS in IRC package for additional names of diff --git a/src/api-extbans.c b/src/api-extban.c similarity index 99% rename from src/api-extbans.c rename to src/api-extban.c index e59eef79f..b4f9f2a0a 100644 --- a/src/api-extbans.c +++ b/src/api-extban.c @@ -1,5 +1,5 @@ /************************************************************************ - * IRC - Internet Relay Chat, extbans.c + * IRC - Internet Relay Chat, api-extban.c * (C) 2003 Bram Matthys (Syzop) and the UnrealIRCd Team * * See file AUTHORS in IRC package for additional names of diff --git a/src/api-mtag.c b/src/api-messagetag.c similarity index 100% rename from src/api-mtag.c rename to src/api-messagetag.c diff --git a/src/api-umodes.c b/src/api-usermode.c similarity index 99% rename from src/api-umodes.c rename to src/api-usermode.c index 3aa8b2c1b..faceff564 100644 --- a/src/api-umodes.c +++ b/src/api-usermode.c @@ -1,5 +1,5 @@ /************************************************************************ - * IRC - Internet Relay Chat, umodes.c + * IRC - Internet Relay Chat, src/api-usermode.c * (C) 1999-2000 Carsten Munk (Techie/Stskeeps) * * See file AUTHORS in IRC package for additional names of