Back to index

lightning-sunbird  0.9+nobinonly
Typedefs | Functions
nsVCard.h File Reference
#include "prtypes.h"
#include "nsFileStream.h"
#include "nsFileSpec.h"
#include "nsVCardObj.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


typedef void(* MimeErrorHandler )(char *)


PR_BEGIN_EXTERN_C VObjectparse_MIME (const char *input, unsigned long len)
VObjectparse_MIME_FromFile (nsInputFileStream *file)
VObjectparse_MIME_FromFileName (nsFileSpec *fname)
void registerMimeErrorHandler (MimeErrorHandler)

Typedef Documentation

typedef void(* MimeErrorHandler)(char *)

Definition at line 93 of file nsVCard.h.

Function Documentation

PR_BEGIN_EXTERN_C VObject* parse_MIME ( const char *  input,
unsigned long  len 

Definition at line 1242 of file nsVCard.cpp.

    initLex(input, len, 0);
    return parse_MIMEHelper();

Here is the call graph for this function:

VObject* parse_MIME_FromFile ( nsInputFileStream *  file)

Definition at line 1249 of file nsVCard.cpp.

  VObject *result;   
  long startPos;
  initLex(0,(unsigned long)-1,file);
  startPos = file->tell();
  if (!(result = parse_MIMEHelper())) {
  return result;

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 1262 of file nsVCard.cpp.

  nsInputFileStream *fp = new nsInputFileStream(*fname);
  if (fp) 
    VObject* o = parse_MIME_FromFile(fp);
    return o;
  else {
    char msg[80];
    PR_snprintf(msg, sizeof(msg), "Can't open file for reading\n");
    return 0;
  NS_ASSERTION(FALSE, "1.5 <> 06 Jan 2000 08:00");
  return 0;

Here is the call graph for this function:

Definition at line 1286 of file nsVCard.cpp.

    mimeErrorHandler = me;