\hypertarget{minos_8c}{}\doxysection{minos.\+c File Reference}
\label{minos_8c}\index{minos.c@{minos.c}}
{\ttfamily \#include \char`\"{}form3.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}minos.\+h\char`\"{}}\newline
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bfseries CFD}(y,  s,  type,  x,  j)
\item 
\#define {\bfseries CTD}(y,  s,  type,  x,  j)
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{minos_8c_ad34fd2e22f1aa29242831c35070f089c}\label{minos_8c_ad34fd2e22f1aa29242831c35070f089c}} 
int {\bfseries minosread} (FILE $\ast$f, char $\ast$buffer, MLONG size)
\item 
\mbox{\Hypertarget{minos_8c_aec43c3bdd7d524284a0ab76bf0379445}\label{minos_8c_aec43c3bdd7d524284a0ab76bf0379445}} 
int {\bfseries minoswrite} (FILE $\ast$f, char $\ast$buffer, MLONG size)
\item 
\mbox{\Hypertarget{minos_8c_ab0b221617223765a2bced92d6e388e37}\label{minos_8c_ab0b221617223765a2bced92d6e388e37}} 
char $\ast$ {\bfseries str\+\_\+dup} (char $\ast$str)
\item 
\mbox{\Hypertarget{minos_8c_ae04120153192a29abc752d8403c05124}\label{minos_8c_ae04120153192a29abc752d8403c05124}} 
void {\bfseries convertblock} (\mbox{\hyperlink{structindexblock}{INDEXBLOCK}} $\ast$in, \mbox{\hyperlink{structindexblock}{INDEXBLOCK}} $\ast$out, int mode)
\item 
\mbox{\Hypertarget{minos_8c_a59c4655f97fe1257f6ec76627f3f2f52}\label{minos_8c_a59c4655f97fe1257f6ec76627f3f2f52}} 
void {\bfseries convertnamesblock} (\mbox{\hyperlink{structnameblock}{NAMESBLOCK}} $\ast$in, \mbox{\hyperlink{structnameblock}{NAMESBLOCK}} $\ast$out, int mode)
\item 
\mbox{\Hypertarget{minos_8c_a6d2b3aa93bb576a9fdb3f6bb3e1934fd}\label{minos_8c_a6d2b3aa93bb576a9fdb3f6bb3e1934fd}} 
void {\bfseries convertiniinfo} (\mbox{\hyperlink{structiniinfo}{INIINFO}} $\ast$in, \mbox{\hyperlink{structiniinfo}{INIINFO}} $\ast$out, int mode)
\item 
\mbox{\Hypertarget{minos_8c_a8670f480c0ebbcd3847035fb5ae7ddda}\label{minos_8c_a8670f480c0ebbcd3847035fb5ae7ddda}} 
FILE $\ast$ {\bfseries Locate\+Base} (char $\ast$$\ast$name, char $\ast$$\ast$newname)
\item 
\mbox{\Hypertarget{minos_8c_a60cd4c65e191af7271932522905a0e70}\label{minos_8c_a60cd4c65e191af7271932522905a0e70}} 
int {\bfseries Read\+Index} (\mbox{\hyperlink{structdbase}{DBASE}} $\ast$d)
\item 
\mbox{\Hypertarget{minos_8c_ade49053a09f55f0efa5e1233dc3a3c60}\label{minos_8c_ade49053a09f55f0efa5e1233dc3a3c60}} 
int {\bfseries Write\+Index\+Block} (\mbox{\hyperlink{structdbase}{DBASE}} $\ast$d, MLONG num)
\item 
\mbox{\Hypertarget{minos_8c_a910886cf2828c31ea0eea39cbe20d2c5}\label{minos_8c_a910886cf2828c31ea0eea39cbe20d2c5}} 
int {\bfseries Write\+Names\+Block} (\mbox{\hyperlink{structdbase}{DBASE}} $\ast$d, MLONG num)
\item 
\mbox{\Hypertarget{minos_8c_a3e95c16e3f9836abb47dc02821d19404}\label{minos_8c_a3e95c16e3f9836abb47dc02821d19404}} 
int {\bfseries Write\+Index} (\mbox{\hyperlink{structdbase}{DBASE}} $\ast$d)
\item 
\mbox{\Hypertarget{minos_8c_a1f1f90e2e37ace10d7c2ab4127d0a50b}\label{minos_8c_a1f1f90e2e37ace10d7c2ab4127d0a50b}} 
int {\bfseries Write\+Ini\+Info} (\mbox{\hyperlink{structdbase}{DBASE}} $\ast$d)
\item 
\mbox{\Hypertarget{minos_8c_a568a71394a96bc07273a0c017cf8c88e}\label{minos_8c_a568a71394a96bc07273a0c017cf8c88e}} 
int {\bfseries Read\+Ini\+Info} (\mbox{\hyperlink{structdbase}{DBASE}} $\ast$d)
\item 
\mbox{\Hypertarget{minos_8c_a70fdbfabfc8287d0c613395abca72240}\label{minos_8c_a70fdbfabfc8287d0c613395abca72240}} 
\mbox{\hyperlink{structdbase}{DBASE}} $\ast$ {\bfseries Get\+Dbase} (char $\ast$filename)
\item 
\mbox{\Hypertarget{minos_8c_ae36562bddd8ce724b7aed262befc686d}\label{minos_8c_ae36562bddd8ce724b7aed262befc686d}} 
\mbox{\hyperlink{structdbase}{DBASE}} $\ast$ {\bfseries New\+Dbase} (char $\ast$name, MLONG number)
\item 
\mbox{\Hypertarget{minos_8c_adf83d22ec58918f7a68fb23d6cf33230}\label{minos_8c_adf83d22ec58918f7a68fb23d6cf33230}} 
void {\bfseries Free\+Table\+Base} (\mbox{\hyperlink{structdbase}{DBASE}} $\ast$d)
\item 
\mbox{\Hypertarget{minos_8c_a5c51eec675a7e23239aae7b9bc3e65fb}\label{minos_8c_a5c51eec675a7e23239aae7b9bc3e65fb}} 
int {\bfseries Compose\+Table\+Names} (\mbox{\hyperlink{structdbase}{DBASE}} $\ast$d)
\item 
\mbox{\Hypertarget{minos_8c_a9fca4876925f72ed1f2d9f7702faf74d}\label{minos_8c_a9fca4876925f72ed1f2d9f7702faf74d}} 
\mbox{\hyperlink{structdbase}{DBASE}} $\ast$ {\bfseries Open\+Dbase} (char $\ast$filename)
\item 
\mbox{\Hypertarget{minos_8c_a67193cf4797ca910d8f415fc1685f708}\label{minos_8c_a67193cf4797ca910d8f415fc1685f708}} 
MLONG {\bfseries Add\+Table\+Name} (\mbox{\hyperlink{structdbase}{DBASE}} $\ast$d, char $\ast$name, \mbox{\hyperlink{structs_8h_a527a7f40a66c2b2bb735329fac3557ff}{TABLES}} T)
\item 
\mbox{\Hypertarget{minos_8c_a43a9aa4f172ebb0205d8f241309ea8f3}\label{minos_8c_a43a9aa4f172ebb0205d8f241309ea8f3}} 
MLONG {\bfseries Get\+Table\+Name} (\mbox{\hyperlink{structdbase}{DBASE}} $\ast$d, char $\ast$name)
\item 
\mbox{\Hypertarget{minos_8c_ad26ad25890688d5b015f2d93987fb445}\label{minos_8c_ad26ad25890688d5b015f2d93987fb445}} 
int {\bfseries Put\+Table\+Names} (\mbox{\hyperlink{structdbase}{DBASE}} $\ast$d)
\item 
\mbox{\Hypertarget{minos_8c_a2aee0272f168ad66c05d9467052ca4f4}\label{minos_8c_a2aee0272f168ad66c05d9467052ca4f4}} 
int {\bfseries Add\+To\+Index} (\mbox{\hyperlink{structdbase}{DBASE}} $\ast$d, MLONG number)
\item 
\mbox{\Hypertarget{minos_8c_a6488c163968038f47b2a3d624265ba82}\label{minos_8c_a6488c163968038f47b2a3d624265ba82}} 
MLONG {\bfseries Add\+Object} (\mbox{\hyperlink{structdbase}{DBASE}} $\ast$d, MLONG tablenumber, char $\ast$arguments, char $\ast$rhs)
\item 
\mbox{\Hypertarget{minos_8c_ad96f3f94e2bc1d167cb62fc99714d9c5}\label{minos_8c_ad96f3f94e2bc1d167cb62fc99714d9c5}} 
MLONG {\bfseries Find\+Table\+Number} (\mbox{\hyperlink{structdbase}{DBASE}} $\ast$d, char $\ast$name)
\item 
\mbox{\Hypertarget{minos_8c_ab3d7ae5280fa7f8d61e3a75b6808479b}\label{minos_8c_ab3d7ae5280fa7f8d61e3a75b6808479b}} 
int {\bfseries Write\+Object} (\mbox{\hyperlink{structdbase}{DBASE}} $\ast$d, MLONG tablenumber, char $\ast$arguments, char $\ast$rhs, MLONG number)
\item 
\mbox{\Hypertarget{minos_8c_aa28ad471c3b05aa0aeadfeb9054f7239}\label{minos_8c_aa28ad471c3b05aa0aeadfeb9054f7239}} 
char $\ast$ {\bfseries Read\+Object} (\mbox{\hyperlink{structdbase}{DBASE}} $\ast$d, MLONG tablenumber, char $\ast$arguments)
\item 
\mbox{\Hypertarget{minos_8c_aabd81a8a06bd98d3bfe1d22c5dd1146b}\label{minos_8c_aabd81a8a06bd98d3bfe1d22c5dd1146b}} 
char $\ast$ {\bfseries Readij\+Object} (\mbox{\hyperlink{structdbase}{DBASE}} $\ast$d, MLONG i, MLONG j, char $\ast$arguments)
\item 
\mbox{\Hypertarget{minos_8c_ae52d8f0702153b7fcd2a7d1ecd437dd4}\label{minos_8c_ae52d8f0702153b7fcd2a7d1ecd437dd4}} 
int {\bfseries Exists\+Object} (\mbox{\hyperlink{structdbase}{DBASE}} $\ast$d, MLONG tablenumber, char $\ast$arguments)
\item 
\mbox{\Hypertarget{minos_8c_a552bbc2554941c3775269c2861049556}\label{minos_8c_a552bbc2554941c3775269c2861049556}} 
int {\bfseries Delete\+Object} (\mbox{\hyperlink{structdbase}{DBASE}} $\ast$d, MLONG tablenumber, char $\ast$arguments)
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{minos_8c_a54a3f1870ea4ea58ae87fe6d226f01cf}\label{minos_8c_a54a3f1870ea4ea58ae87fe6d226f01cf}} 
int {\bfseries withoutflush} = 0
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
These are the low level functions for the database part of the tablebases. These routines have been copied (and then adapted) from the minos database program. This file goes together with \mbox{\hyperlink{minos_8h}{minos.\+h}} 

\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{minos_8c_a7629a81b520203045373b3a1961fd5f1}\label{minos_8c_a7629a81b520203045373b3a1961fd5f1}} 
\index{minos.c@{minos.c}!CFD@{CFD}}
\index{CFD@{CFD}!minos.c@{minos.c}}
\doxysubsubsection{\texorpdfstring{CFD}{CFD}}
{\footnotesize\ttfamily \#define CFD(\begin{DoxyParamCaption}\item[{}]{y,  }\item[{}]{s,  }\item[{}]{type,  }\item[{}]{x,  }\item[{}]{j }\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{    \textcolor{keywordflow}{for}(x=0,j=0;j<((int)\textcolor{keyword}{sizeof}(type));j++) \(\backslash\)}
\DoxyCodeLine{    x=(x<<8)+((*s++)\&0x00FF); y=x;}

\end{DoxyCode}


Definition at line 55 of file minos.\+c.

\mbox{\Hypertarget{minos_8c_a9b2896c7297de3b5c04efcbbff215955}\label{minos_8c_a9b2896c7297de3b5c04efcbbff215955}} 
\index{minos.c@{minos.c}!CTD@{CTD}}
\index{CTD@{CTD}!minos.c@{minos.c}}
\doxysubsubsection{\texorpdfstring{CTD}{CTD}}
{\footnotesize\ttfamily \#define CTD(\begin{DoxyParamCaption}\item[{}]{y,  }\item[{}]{s,  }\item[{}]{type,  }\item[{}]{x,  }\item[{}]{j }\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{                      x=y;\textcolor{keywordflow}{for}(j=\textcolor{keyword}{sizeof}(type)-\/1;j>=0;j-\/-\/)\{s[j]=x\&0xFF; \(\backslash\)}
\DoxyCodeLine{                      x>>=8;\} s += \textcolor{keyword}{sizeof}(type);}

\end{DoxyCode}


Definition at line 57 of file minos.\+c.

