From e3f9f5b078e3f1fc33b2f3344d2c3255f979737e Mon Sep 17 00:00:00 2001 From: Philipp Schafft Date: Sun, 26 Feb 2023 21:30:37 +0000 Subject: [PATCH] Feature: Added stub for ping requests --- src/Makefile.am | 2 ++ src/ping.c | 14 ++++++++++++++ src/ping.h | 12 ++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 src/ping.c create mode 100644 src/ping.h diff --git a/src/Makefile.am b/src/Makefile.am index 936345f9..b6239d71 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -45,6 +45,7 @@ noinst_HEADERS = \ fastevent.h \ navigation.h \ event.h \ + ping.h \ acl.h auth.h \ metadata_xiph.h \ format.h \ @@ -111,6 +112,7 @@ icecast_SOURCES = \ event.c \ event_log.c \ event_exec.c \ + ping.c \ acl.c \ auth.c \ auth_htpasswd.c \ diff --git a/src/ping.c b/src/ping.c new file mode 100644 index 00000000..d010d257 --- /dev/null +++ b/src/ping.c @@ -0,0 +1,14 @@ +/* Icecast + * + * Copyright 2023 Philipp "ph3-der-loewe" Schafft + * + * This program is distributed under the GNU General Public License, version 2. + * A copy of this license is included with this source. + */ + + +#ifdef HAVE_CONFIG_H +#include +#endif + +#include "ping.h" diff --git a/src/ping.h b/src/ping.h new file mode 100644 index 00000000..8c3dec1c --- /dev/null +++ b/src/ping.h @@ -0,0 +1,12 @@ +/* Icecast + * + * Copyright 2023 Philipp "ph3-der-loewe" Schafft + * + * This program is distributed under the GNU General Public License, version 2. + * A copy of this license is included with this source. + */ + +#ifndef __PING_H__ +#define __PING_H__ + +#endif /* __PING_H__ */