#include <stdio.h>#include <stdlib.h>#include "ut_types.h"#include "ut_assert.h"#include "ut_debugmsg.h"#include "ut_string.h"#include "ie_imp_PalmDoc.h"#include "pd_Document.h"#include "ut_growbuf.h"#include "xap_EncodingManager.h"Defines | |
| #define | X_CleanupIfError(error, exp) do { if (((error)=(exp)) != UT_OK) goto Cleanup; } while (0) |
| #define | X_ReturnIfFail(exp, error) do { bool b = (exp); if (!b) return (error); } while (0) |
| #define | X_ReturnNoMemIfError(exp) X_ReturnIfFail(exp,UT_IE_NOMEMORY) |
Functions | |
| static void | _zero_fill (Byte *p, int len) |
Variables | |
| static IE_SuffixConfidence | IE_Imp_PalmDoc_Sniffer__SuffixConfidence [] |
| #define X_CleanupIfError | ( | error, | ||
| exp | ||||
| ) | do { if (((error)=(exp)) != UT_OK) goto Cleanup; } while (0) |
Referenced by IE_Imp_PalmDoc::_loadFile().
| #define X_ReturnIfFail | ( | exp, | ||
| error | ||||
| ) | do { bool b = (exp); if (!b) return (error); } while (0) |
| #define X_ReturnNoMemIfError | ( | exp | ) | X_ReturnIfFail(exp,UT_IE_NOMEMORY) |
Referenced by IE_Imp_PalmDoc::_parseFile(), and IE_Imp_PalmDoc::_writeHeader().
| static void _zero_fill | ( | Byte * | p, | |
| int | len | |||
| ) | [static] |
Referenced by IE_Imp_PalmDoc::_parseFile(), IE_Imp_PalmDoc::_uncompress(), and IE_Imp_PalmDoc::IE_Imp_PalmDoc().
{
{ "pdb", UT_CONFIDENCE_PERFECT },
{ "", UT_CONFIDENCE_ZILCH }
}
1.7.1