feisty meow concerns codebase  2.140
cgi_nechung.cpp File Reference

Spits out a CGI appropriate chunk of text with a fortune in it. More...

#include "nechung_oracle.h"
#include <basis/astring.h>
#include <basis/environment.h>
#include <basis/guards.h>
#include <filesystem/filename.h>
#include <loggers/console_logger.h>
#include <loggers/critical_events.h>
#include <loggers/program_wide_logger.h>
#include <stdio.h>
Include dependency graph for cgi_nechung.cpp:

Go to the source code of this file.

Macros

#define LOG(s)   program_wide_logger::get().log(s, 0)
 
#define DEFAULT_FORTUNE_FILE   "fortunes.dat"
 

Functions

int main (int argc, char *argv[])
 

Detailed Description

Spits out a CGI appropriate chunk of text with a fortune in it.

Definition in file cgi_nechung.cpp.

Macro Definition Documentation

◆ DEFAULT_FORTUNE_FILE

#define DEFAULT_FORTUNE_FILE   "fortunes.dat"

Definition at line 40 of file cgi_nechung.cpp.

◆ LOG

#define LOG (   s)    program_wide_logger::get().log(s, 0)

Definition at line 35 of file cgi_nechung.cpp.

Function Documentation

◆ main()