#include <stdio.h>
#include <string>
#include <mysql/mysql.h>
#include <libmysqlwrapped.h>
#include <libfd.h>
#include "ExecSocket.h"
Include dependency graph for dbd.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | LIVEDB |
#define | TITLE "fd" |
#define | APACHEDLPATH "/usr/local/apache/www.alhem.net/htdocs/download" |
#define | COOKIE_DOMAIN ".alhem.net" |
#define | COOKIE_PATH "/cgi-bin/dbd" |
#define | MYSQLADMIN "/usr/local/mysql/bin/mysqladmin --user=root" |
#define | MYSQL_program "/usr/local/mysql/bin/mysql --user=root" |
#define | MYSQLDUMP "/usr/local/mysql/bin/mysqldump --user=root" |
#define | APACHEPATH "/download" |
#define | UF_AUTOCREATENUM 1 |
#define | UF_SHOWLINKED 2 |
#define | FF_ALLOWNULL 1 |
#define | FF_AUTO_INCREMENT 2 |
#define | FF_BINARY 4 |
#define | FF_UNSIGNED 8 |
#define | FF_ZEROFILL 16 |
#define | CF_EXPAND_DB 1 |
#define | CF_EXPAND_TBL 2 |
#define | CF_EXPAND_FLD 4 |
#define | CF_EXPAND_INDEX 8 |
#define | CF_EXPAND_APP 16 |
Functions | |
void | post_form (Database &db, Query &q, char *sql, db::Item *=NULL) |
void | search (Database &, Query &, char *, Form *, Cookies *) |
void | run (Database &, FILE *, const std::string &input_data="") |
Variables | |
FILE * | out |
ExecSocket * | g_pSocket |
char | tmp_path [1000] |
bool | g_bSize |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 52 of file dbd.h. Referenced by pack_and_set_cookies(). |
|
Definition at line 53 of file dbd.h. Referenced by pack_and_set_cookies(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 43 of file dbd.h. Referenced by header(), and nullheader(). |
|
|
|
|
|
Definition at line 252 of file dbd.cpp. References db::Item::category, db::Tag::name, db::Category::name, db::Item::name, db::Tag::num, db::Category::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::Item::name, db::Tag::name, db::Category::name, db::Tag::num, db::Item::num, db::Category::num, out, searchcat, searchtag, db::Item::sz, db::Linkitemtag::tag, and db::Item::typ. Referenced by run().
|
|
Definition at line 29 of file dbd.h. Referenced by form_input(), and run(). |
|
Definition at line 27 of file dbd.h. Referenced by ExecSocket::Exec(), form_input(), and run(). |
|
Definition at line 26 of file dbd.h. Referenced by error(), ExecSocket::Exec(), footer(), ExecSocket::header(), 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 28 of file dbd.h. Referenced by run(). |