JetCore/latex/Global_8h_source.tex
2025-11-07 10:22:40 -08:00

50 lines
3.3 KiB
TeX

\doxysection{Global.\+h}
\hypertarget{Global_8h_source}{}\label{Global_8h_source}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#ifndef\ \_\_Global\_h\_\_}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#\ define\ \_\_Global\_h\_\_}}
\DoxyCodeLine{00003\ }
\DoxyCodeLine{00004\ \textcolor{preprocessor}{\#\ include\ "{}MString.h"{}}}
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#\ include\ "{}CGIFormattedData.h"{}}}
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#\ include\ <map>}}
\DoxyCodeLine{00007\ }
\DoxyCodeLine{00008\ \textcolor{keyword}{namespace\ \ }jet\ \{}
\DoxyCodeLine{00009\ }
\DoxyCodeLine{00010\ \ \ \ \textcolor{keyword}{class\ }\_\_mysql;}
\DoxyCodeLine{00011\ \ \ \ }
\DoxyCodeLine{00012\ \ \ \ \textcolor{keyword}{class\ }\mbox{\hyperlink{classjet_1_1Global}{Global}}\ \{}
\DoxyCodeLine{00013\ }
\DoxyCodeLine{00014\ \ \ \ \ \textcolor{keyword}{public}:}
\DoxyCodeLine{00015\ \ \ \ \ \ \ \mbox{\hyperlink{classjet_1_1Global}{Global}}(\textcolor{keywordtype}{char}\ **envp);}
\DoxyCodeLine{00016\ \ \ \ \ \ \ \textcolor{keyword}{virtual}\ \mbox{\hyperlink{classjet_1_1Global}{\string~Global}}();}
\DoxyCodeLine{00017\ }
\DoxyCodeLine{00018\ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ dump();}
\DoxyCodeLine{00019\ \ \ \ \ \ \ \textcolor{keywordtype}{bool}\ sessionExists(coreutils::MString\ sessionId);}
\DoxyCodeLine{00020\ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ addSession(coreutils::MString\ sessionId,\ \mbox{\hyperlink{classjet_1_1____mysql}{\_\_mysql}}\ *mysql);}
\DoxyCodeLine{00021\ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ removeSession(coreutils::MString\ sessionId);}
\DoxyCodeLine{00022\ \ \ \ \ \ \ \mbox{\hyperlink{classjet_1_1____mysql}{\_\_mysql}}\ *\ getSession(coreutils::MString\ sessionId);}
\DoxyCodeLine{00023\ \ \ \ \ \ \ coreutils::ZString\ getSessionVariable(coreutils::MString\ \&splitName);}
\DoxyCodeLine{00024\ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ outputHeaders();}
\DoxyCodeLine{00025\ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ setupFormData(coreutils::ZString\ \&formdata);}
\DoxyCodeLine{00026\ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ setupFormURLEncoded(coreutils::ZString\ \&formdata);}
\DoxyCodeLine{00027\ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ *errorCursor\ =\ NULL;}
\DoxyCodeLine{00028\ \ \ \ \ }
\DoxyCodeLine{00029\ \ \ \ \ \ \ coreutils::CGIFormattedData\ cookies;}
\DoxyCodeLine{00030\ \ \ \ \ \ \ std::map<coreutils::MString,\ coreutils::MString>\ variables;}
\DoxyCodeLine{00031\ \ \ \ \ \ \ std::map<coreutils::MString,\ coreutils::MString>\ cgiVariables;}
\DoxyCodeLine{00032\ \ \ \ \ \ \ std::map<coreutils::MString,\ \_\_mysql\ *>\ sessions;}
\DoxyCodeLine{00033\ \ \ \ \ \ \ std::map<coreutils::MString,\ coreutils::MString>\ headers;}
\DoxyCodeLine{00034\ \ \ \ \ \ \ std::map<coreutils::MString,\ coreutils::MString>\ tags;}
\DoxyCodeLine{00035\ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ **envp;}
\DoxyCodeLine{00036\ \ \ \ \ \ \ \textcolor{keywordtype}{bool}\ cgi\ =\ \textcolor{keyword}{false};}
\DoxyCodeLine{00037\ \ \ \ \ \ \ \textcolor{keywordtype}{bool}\ session\ =\ \textcolor{keyword}{false};}
\DoxyCodeLine{00038\ \ \ \ \ \ \ coreutils::MString\ sessionId;}
\DoxyCodeLine{00039\ \ \ \ \ \ \ }
\DoxyCodeLine{00040\ \ \ \ \};}
\DoxyCodeLine{00041\ }
\DoxyCodeLine{00042\ \}}
\DoxyCodeLine{00043\ }
\DoxyCodeLine{00044\ \textcolor{preprocessor}{\#endif}}
\end{DoxyCode}