#include "nechung_oracle.h"
#include <basis/guards.h>
#include <basis/istring.h>
#include <loggers/console_logger.h>
#include <opsystem/filename.h>
#include <data_struct/static_memory_gremlin.h>
#include <stdio.h>
Include dependency graph for cgi_nechung.cpp:

Go to the source code of this file.
Defines | |
| #define | LOG(s) program_wide_logger().log(s) |
| #define | DEFAULT_FORTUNE_FILE "fortunes.dat" |
Functions | |
| int | main (int argc, char *argv[]) |
Variables | |
| HOOPLE_STARTUP_CODE | |
Definition in file cgi_nechung.cpp.
| #define DEFAULT_FORTUNE_FILE "fortunes.dat" |
| #define LOG | ( | s | ) | program_wide_logger().log(s) |
Definition at line 28 of file cgi_nechung.cpp.
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
Definition at line 34 of file cgi_nechung.cpp.
References DEFAULT_FORTUNE_FILE, istring::end(), portable::env_string(), filename::extension(), istring::length(), LOG, nechung_oracle::pick_random(), filename::raw(), SET_DEFAULT_CONSOLE_LOGGER, and istring::zap().
Definition at line 30 of file cgi_nechung.cpp.
1.5.1