aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormarshall <stmr@umich.edu>2023-05-10 17:05:05 -0400
committermarshall <stmr@umich.edu>2023-07-18 11:12:14 -0400
commit15cda8eb2adf35d88afe9a2981688b5975facb78 (patch)
tree821986ab1111afaedce4ad8d0cba605050ca9fa7 /src
parent7e08ec5663903e8a1bbfeeee214d8b2d1ab07f15 (diff)
downloadgnunet-15cda8eb2adf35d88afe9a2981688b5975facb78.tar.gz
gnunet-15cda8eb2adf35d88afe9a2981688b5975facb78.zip
transport (QUIC): create starter file and update Makefile
Diffstat (limited to 'src')
-rw-r--r--src/transport/Makefile.am12
-rw-r--r--src/transport/gnunet-communicator-quic.c23
2 files changed, 34 insertions, 1 deletions
diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am
index eeafab840..91583af4b 100644
--- a/src/transport/Makefile.am
+++ b/src/transport/Makefile.am
@@ -219,7 +219,8 @@ libexec_PROGRAMS = \
219 gnunet-service-tng \ 219 gnunet-service-tng \
220 gnunet-communicator-unix \ 220 gnunet-communicator-unix \
221 gnunet-communicator-udp \ 221 gnunet-communicator-udp \
222 gnunet-communicator-tcp 222 gnunet-communicator-tcp \
223 gnunet-communicator-quic
223 224
224 225
225 226
@@ -269,6 +270,15 @@ gnunet_communicator_udp_LDADD = \
269 $(top_builddir)/src/util/libgnunetutil.la \ 270 $(top_builddir)/src/util/libgnunetutil.la \
270 $(LIBGCRYPT_LIBS) 271 $(LIBGCRYPT_LIBS)
271 272
273gnunet_communicator_quic_SOURCES = \
274 gnunet-communicator-quic.c
275gnunet_communicator_quic_LDADD = \
276 $(top_builddir)/src/peerstore/libgnunetpeerstore.la \
277 $(top_builddir)/src/nat/libgnunetnatnew.la \
278 $(top_builddir)/src/nt/libgnunetnt.la \
279 $(top_builddir)/src/statistics/libgnunetstatistics.la \
280 $(top_builddir)/src/util/libgnunetutil.la \
281 $(LIBGCRYPT_LIBS)
272 282
273gnunet_helper_transport_wlan_SOURCES = \ 283gnunet_helper_transport_wlan_SOURCES = \
274 gnunet-helper-transport-wlan.c 284 gnunet-helper-transport-wlan.c
diff --git a/src/transport/gnunet-communicator-quic.c b/src/transport/gnunet-communicator-quic.c
new file mode 100644
index 000000000..130a76abc
--- /dev/null
+++ b/src/transport/gnunet-communicator-quic.c
@@ -0,0 +1,23 @@
1#include "gnunet_util_lib.h"
2#include "gnunet_core_service.h"
3
4int
5main(int argc, char *const *argv)
6{
7 static const struct GNUNET_GETOPT_CommandLineOption options[] = {
8 GNUNET_GETOPT_OPTION_END
9 };
10
11 int ret;
12 ret = (GNUNET_OK == GNUNET_PROGRAM_run(argc,
13 argv,
14 "gnunet-communicator-quic",
15 "quic",
16 options,
17 NULL,
18 NULL))
19 ? 0
20 : 1;
21
22 return ret;
23}