]> git.tue.mpg.de Git - paraslash.git/commit
Convert para_server to lopsub.
authorAndre Noll <maan@tuebingen.mpg.de>
Fri, 24 Jun 2016 19:38:24 +0000 (21:38 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 26 Mar 2017 09:02:28 +0000 (11:02 +0200)
commite9dd7df880c68a2d664ea10d167e6667707f9fd5
tree8fe7eed714ab51a9cddadc73e1e38bca7e9cee1d
parent15d4c69ddcf88dd9046ed8d2847a428145a32045
Convert para_server to lopsub.

This is the last executable to be converted to lopsub.

acl_init() is removed from acl.c, and the initialization of the access
control list is moved to init_sender_status() of send_common.c. It
now takes an lls_opt_result argument and calls acl_add_entry() for
each argument given. The latter function needs to be made public.

In dccp_send.c we check the FEC parameters and change the gengetopt
config structure to contain the default values if invalid FEC
parameters were given. With lopsub this is no longer possible as
the lls_parse_result structure is opaque. We copy the FEC parameters
to a dccp_fec_client structure anyway, so is it easiest to move the
check there.

The patch removes the unused gengetopt option files but leaves the
gengetopt infrastructure of the build system in place. The build
system will be cleaned up in subsequent patches.
26 files changed:
Makefile.real
acl.c
acl.h
afs.c
command.c
configure.ac
dccp_send.c
http_send.c
m4/gengetopt/color.m4 [deleted file]
m4/gengetopt/config_file.m4 [deleted file]
m4/gengetopt/daemon.m4 [deleted file]
m4/gengetopt/group.m4 [deleted file]
m4/gengetopt/header.m4 [deleted file]
m4/gengetopt/log_timing.m4 [deleted file]
m4/gengetopt/logfile.m4 [deleted file]
m4/gengetopt/loglevel.m4 [deleted file]
m4/gengetopt/priority.m4 [deleted file]
m4/gengetopt/server.m4 [deleted file]
m4/gengetopt/user.m4 [deleted file]
m4/lls/server.suite.m4 [new file with mode: 0644]
send.h
send_common.c
server.c
server.h
udp_send.c
vss.c