A minimal but flexible directory listing server
Find a file
Laslo Hunhold 6b55e36036 Introduce flag-centric usage
The config.h-interface has proven to be very effective for a lot of
suckless tools, but it just does not make too much sense for a web
server like quark.

 $ quark

If you run multiple instances of it, you want to see in the command line
(or top) what it does, and given the amount of options it's logical to
just express them as options given in the command line.
It also is a problem if you can modify quark via the config.h,
contradicting the manual. Just saying "Well, then don't touch config.h"
is also not good, as the vhost and map options were only exposed via
this interface.

What is left in config.h are mime-types and two constants relating to
the incoming HTTP-header-limits.

In order to introduce these changes, some structs and safe utility
functions were added and imported from OpenBSD respectively.
2018-03-05 00:14:25 +01:00
arg.h Rename _i,_argused to i_,argused_ 2017-08-04 17:57:58 +02:00
config.def.h Introduce flag-centric usage 2018-03-05 00:14:25 +01:00
config.mk Refactor the single source file into multiple modules 2018-02-04 21:27:33 +01:00
http.c Introduce flag-centric usage 2018-03-05 00:14:25 +01:00
http.h Refactor the single source file into multiple modules 2018-02-04 21:27:33 +01:00
LICENSE Introduce flag-centric usage 2018-03-05 00:14:25 +01:00
main.c Introduce flag-centric usage 2018-03-05 00:14:25 +01:00
Makefile Refactor the single source file into multiple modules 2018-02-04 21:27:33 +01:00
quark.1 Refine manpage concerning the UNIX-domain socket file 2018-02-05 17:15:05 +01:00
resp.c Refactor the single source file into multiple modules 2018-02-04 21:27:33 +01:00
resp.h Refactor the single source file into multiple modules 2018-02-04 21:27:33 +01:00
sock.c Refactor the single source file into multiple modules 2018-02-04 21:27:33 +01:00
sock.h Refactor the single source file into multiple modules 2018-02-04 21:27:33 +01:00
util.c Introduce flag-centric usage 2018-03-05 00:14:25 +01:00
util.h Introduce flag-centric usage 2018-03-05 00:14:25 +01:00