Defines | Functions | Variables

ie_imp_Applix.cpp File Reference

#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_Applix.h"
#include "pd_Document.h"
#include "ut_growbuf.h"
#include "ut_bytebuf.h"
#include "xap_EncodingManager.h"
#include "ie_impexp_Applix.h"

Defines

#define AX_STR_CMP(x, y)   strcmp((x), (y))
#define AX_STRN_CMP(x, y, z)   strncmp((x), (y), (z))
#define APPLIX_LINE_LENGTH   80
#define APPLIX_MAX_LINE_LENGTH   4096
#define nAxWords   (sizeof(IE_Imp_Applix::axwords) / sizeof(IE_Imp_Applix::axwords[0]))
#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 char * fgets (char *s, int count, GsfInput *stream)

Variables

static IE_SuffixConfidence IE_Imp_Applix_Sniffer__SuffixConfidence []
static IE_MimeConfidence IE_Imp_Applix_Sniffer__MimeConfidence []

Define Documentation

#define APPLIX_LINE_LENGTH   80
#define APPLIX_MAX_LINE_LENGTH   4096
#define AX_STR_CMP (   x,
  y 
)    strcmp((x), (y))
#define AX_STRN_CMP (   x,
  y,
  z 
)    strncmp((x), (y), (z))
#define nAxWords   (sizeof(IE_Imp_Applix::axwords) / sizeof(IE_Imp_Applix::axwords[0]))
#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)

Function Documentation

static char* fgets ( char *  s,
int  count,
GsfInput *  stream 
) [static]

Variable Documentation

Initial value:
 {
    { IE_MIME_MATCH_FULL,   IE_MIMETYPE_Applix, UT_CONFIDENCE_GOOD  },
    { IE_MIME_MATCH_BOGUS,  "",                 UT_CONFIDENCE_ZILCH }
}
Initial value: