diff options
| -rw-r--r-- | src/.gitignore | 1 | ||||
| -rw-r--r-- | src/Makefile.am | 4 | ||||
| -rw-r--r-- | src/signup.cc | 19 |
3 files changed, 24 insertions, 0 deletions
diff --git a/src/.gitignore b/src/.gitignore index 246841d..896e388 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -4,3 +4,4 @@ /stamp-h1 /libcgi.la /libdb.la +/signup diff --git a/src/Makefile.am b/src/Makefile.am index aaab9f9..5a779fa 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2,8 +2,12 @@ MAINTAINERCLEANFILES = Makefile.in AM_CPPFLAGS = @DEFINES@ +bin_PROGRAMS = signup noinst_LTLIBRARIES = libdb.la libcgi.la +signup_SOURCES = signup.cc common.hh cgi.hh db.hh +signup_LDADD = libdb.la libcgi.la + libcgi_la_SOURCES = cgi.hh common.hh cgi.cc \ query_parser.hh query_parser.cc \ header_parser.hh header_parser.cc \ diff --git a/src/signup.cc b/src/signup.cc new file mode 100644 index 0000000..a3eafd4 --- /dev/null +++ b/src/signup.cc @@ -0,0 +1,19 @@ +#include "common.hh" + +#include "cgi.hh" +#include "db.hh" + +using namespace stuff; + +namespace { + +bool handle_request(CGI* cgi) { + + return false; +} + +} // namespace + +int main() { + return CGI::run(handle_request); +} |
