#include <stdio.h>#include <stdlib.h>#include <string.h>#include <mysql/mysql.h>#include <unistd.h>#include <libmysqlwrapped.h>#include <libfd.h>#include <string>#include <libcgi++.h>#include "utils.h"#include "html.h"#include "forms.h"#include "Mime.h"#include "FinderHandler.h"#include "dbd.h"Include dependency graph for dbd.cpp:

Go to the source code of this file.
Functions | |
| void | valflik (int nr, const std::string &title, int flik) |
| void | run (Database &db, FILE *o, const std::string &input_data) |
| void | post_form (Database &db, Query &q, char *sql, db::Item *p) |
| void | search (Database &db, Query &q, char *sql, Form *form, Cookies *cs) |
Variables | |
| long | searchtag = 0 |
| long | searchcat = 0 |
| FILE * | out = stdout |
| ExecSocket * | g_pSocket = NULL |
| char | tmp_path [1000] |
| bool | g_bSize = false |
|
||||||||||||||||||||
|
Definition at line 252 of file dbd.cpp. References db::Item::category, db::Item::name, db::Category::name, db::Tag::name, db::Category::num, db::Tag::num, out, and db::Item::typ. Referenced by run().
|
|
||||||||||||||||
|
Definition at line 69 of file dbd.cpp. References db::Item::data, error(), form_input(), g_bSize, g_pSocket, db::Item::name, db::Item::num, out, pack_and_set_cookies(), post_form(), search(), searchcat, searchtag, set_cookie(), tmp_path, unpack_cookie(), and valflik(). Referenced by ExecSocket::Exec().
|
|
||||||||||||||||||||||||
|
Definition at line 348 of file dbd.cpp. References db::Item::category, db::Category::name, db::Tag::name, db::Item::name, db::Category::num, db::Item::num, db::Tag::num, out, searchcat, searchtag, db::Item::sz, db::Linkitemtag::tag, and db::Item::typ. Referenced by run().
|
|
||||||||||||||||
|
Definition at line 57 of file dbd.cpp. References out. Referenced by run().
|
|
|
Definition at line 54 of file dbd.cpp. Referenced by form_input(), and run(). |
|
|
Definition at line 52 of file dbd.cpp. Referenced by ExecSocket::Exec(), form_input(), and run(). |
|
|
Definition at line 51 of file dbd.cpp. Referenced by error(), ExecSocket::Exec(), footer(), header(), ExecSocket::header(), header0(), header_top(), ibranchcont(), ibranchend(), iclosed(), iempty(), iexpanded(), iglobe(), iglobe0(), iminus(), iminusend(), inotexpanded(), iopen(), ipascal(), iplus(), iplusend(), ithumbsdown(), ithumbsup(), ivertline(), nullheader(), pack_and_set_cookies(), post_form(), remove_br(), run(), search(), textareain(), and valflik(). |
|
|
|
|
|
|
|
|
Definition at line 53 of file dbd.cpp. Referenced by run(). |
1.3.7