Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Functions
nsMsgAppleCodes.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ap_header
struct  ap_entry
struct  ap_dates
struct  myFInfo

Defines

#define APPLESINGLE_MAGIC   0x00051600L
#define APPLEDOUBLE_MAGIC   0x00051607L
#define VERSION   0x00020000
#define NUM_ENTRIES   6
#define ENT_DFORK   1L
#define ENT_RFORK   2L
#define ENT_NAME   3L
#define ENT_COMMENT   4L
#define ENT_DATES   8L
#define ENT_FINFO   9L
#define CONVERT_TIME   1265437696L

Typedefs

typedef struct ap_header ap_header
typedef struct ap_entry ap_entry
typedef struct ap_dates ap_dates
typedef struct myFInfo myFInfo

Functions

PR_BEGIN_EXTERN_C int write_stream (appledouble_encode_object *p_ap_encode_obj, char *s, int len)
int fill_apple_mime_header (appledouble_encode_object *p_ap_encode_obj)
int ap_encode_file_infor (appledouble_encode_object *p_ap_encode_obj)
int ap_encode_header (appledouble_encode_object *p_ap_encode_obj, PRBool firstTime)
int ap_encode_data (appledouble_encode_object *p_ap_encode_obj, PRBool firstTime)
int fetch_a_line (appledouble_decode_object *p_ap_decode_obj, char *buff)
int ParseFileHeader (appledouble_decode_object *p_ap_decode_obj)
int ap_seek_part_start (appledouble_decode_object *p_ap_decode_obj)
void parse_param (char *p, char **param, char **define, char **np)
int ap_seek_to_boundary (appledouble_decode_object *p_ap_decode_obj, PRBool firstime)
int ap_parse_header (appledouble_decode_object *p_ap_decode_obj, PRBool firstime)
int ap_decode_file_infor (appledouble_decode_object *p_ap_decode_obj)
int ap_decode_process_header (appledouble_decode_object *p_ap_decode_obj, PRBool firstime)
int ap_decode_process_data (appledouble_decode_object *p_ap_decode_obj, PRBool firstime)

Class Documentation

struct ap_header

Definition at line 82 of file nsMsgAppleCodes.h.

Class Members
PRInt16 entries
PRInt16 entriesCount
PRInt32 fill
char fill
PRInt32 magic
PRInt32 version
struct ap_entry

Definition at line 91 of file nsMsgAppleCodes.h.

Class Members
PRInt32 id
PRInt32 length
PRInt32 offset
struct ap_dates

Definition at line 99 of file nsMsgAppleCodes.h.

Class Members
PRInt32 access
PRInt32 backup
PRInt32 create
PRInt32 modify
struct myFInfo

Definition at line 105 of file nsMsgAppleCodes.h.

Class Members
PRInt32 fdCreator
PRInt16 fdFlags
PRInt16 fdFldr
PRInt32 fdLocation
PRInt32 fdType

Define Documentation

#define APPLEDOUBLE_MAGIC   0x00051607L

Definition at line 66 of file nsMsgAppleCodes.h.

#define APPLESINGLE_MAGIC   0x00051600L

Definition at line 65 of file nsMsgAppleCodes.h.

#define CONVERT_TIME   1265437696L

Definition at line 77 of file nsMsgAppleCodes.h.

#define ENT_COMMENT   4L

Definition at line 74 of file nsMsgAppleCodes.h.

#define ENT_DATES   8L

Definition at line 75 of file nsMsgAppleCodes.h.

#define ENT_DFORK   1L

Definition at line 71 of file nsMsgAppleCodes.h.

#define ENT_FINFO   9L

Definition at line 76 of file nsMsgAppleCodes.h.

#define ENT_NAME   3L

Definition at line 73 of file nsMsgAppleCodes.h.

#define ENT_RFORK   2L

Definition at line 72 of file nsMsgAppleCodes.h.

Definition at line 69 of file nsMsgAppleCodes.h.

#define VERSION   0x00020000

Definition at line 67 of file nsMsgAppleCodes.h.


Typedef Documentation

typedef struct ap_dates ap_dates
typedef struct ap_entry ap_entry
typedef struct ap_header ap_header
typedef struct myFInfo myFInfo

Function Documentation

int ap_decode_process_data ( appledouble_decode_object p_ap_decode_obj,
PRBool  firstime 
)
int ap_decode_process_header ( appledouble_decode_object p_ap_decode_obj,
PRBool  firstime 
)
int ap_encode_data ( appledouble_encode_object p_ap_encode_obj,
PRBool  firstTime 
)
int ap_encode_header ( appledouble_encode_object p_ap_encode_obj,
PRBool  firstTime 
)
int ap_parse_header ( appledouble_decode_object p_ap_decode_obj,
PRBool  firstime 
)
int ap_seek_to_boundary ( appledouble_decode_object p_ap_decode_obj,
PRBool  firstime 
)
int fetch_a_line ( appledouble_decode_object p_ap_decode_obj,
char *  buff 
)
void parse_param ( char *  p,
char **  param,
char **  define,
char **  np 
)
PR_BEGIN_EXTERN_C int write_stream ( appledouble_encode_object p_ap_encode_obj,
char *  s,
int  len 
)