Back to index

lightning-sunbird  0.9+nobinonly
Defines | Typedefs
zipstub.h File Reference
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <malloc.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define PR_ASSERT   assert
#define PR_Malloc   malloc
#define PR_Free   free
#define PR_FREEIF(x)   do { if (x) free(x); } while(0)
#define PL_strfree   free
#define PL_strcmp   strcmp
#define PL_strdup   strdup
#define PL_strcpy   strcpy
#define PL_strlen   strlen
#define PR_Open(a, b, c)   fopen((a),(b))
#define PR_Read(f, d, n)   fread((d),1,(n),(f))
#define PR_Write(f, s, n)   fwrite((s),1,(n),(f))
#define PR_Close   fclose
#define PR_Seek   fseek
#define PR_Delete   remove
#define PR_BEGIN_EXTERN_C
#define PR_END_EXTERN_C
#define PR_EXTERN(__type)   extern __type
#define PR_PUBLIC_API(__type)   __type
#define PR_CALLBACK
#define PR_STATIC_CALLBACK(__x)   static __x
#define NS_STATIC_CAST(__type, __ptr)   ((__type)(__ptr))
#define PRFileDesc   FILE
#define PR_TRUE   1
#define PR_FALSE   0
#define INVALID_SXP   -2
#define NON_SXP   -1
#define VALID_SXP   1
#define MATCH   0
#define NOMATCH   1
#define ABORTED   -1
#define PR_RDONLY   "rb"
#define PR_SEEK_SET   SEEK_SET
#define PR_SEEK_END   SEEK_END
#define NS_WildCardValid(a)   NON_SXP
#define NS_WildCardMatch(a, b, c)   PR_FALSE
#define MOZ_DECL_CTOR_COUNTER(x)
#define MOZ_COUNT_CTOR(x)
#define MOZ_COUNT_DTOR(x)

Typedefs

typedef long PRInt32
typedef PRInt32 PROffset32
typedef unsigned long PRUint32
typedef short PRInt16
typedef unsigned short PRUint16
typedef char PRBool
typedef unsigned char PRUint8
typedef PRUint8 PRPackedBool

Define Documentation

#define ABORTED   -1

Definition at line 109 of file zipstub.h.

#define INVALID_SXP   -2

Definition at line 104 of file zipstub.h.

#define MATCH   0

Definition at line 107 of file zipstub.h.

Definition at line 119 of file zipstub.h.

Definition at line 120 of file zipstub.h.

Definition at line 118 of file zipstub.h.

#define NOMATCH   1

Definition at line 108 of file zipstub.h.

#define NON_SXP   -1

Definition at line 105 of file zipstub.h.

#define NS_STATIC_CAST (   __type,
  __ptr 
)    ((__type)(__ptr))

Definition at line 89 of file zipstub.h.

#define NS_WildCardMatch (   a,
  b,
  c 
)    PR_FALSE

Definition at line 116 of file zipstub.h.

Definition at line 115 of file zipstub.h.

#define PL_strcmp   strcmp

Definition at line 55 of file zipstub.h.

#define PL_strcpy   strcpy

Definition at line 57 of file zipstub.h.

Definition at line 56 of file zipstub.h.

Definition at line 54 of file zipstub.h.

#define PL_strlen   strlen

Definition at line 58 of file zipstub.h.

Definition at line 50 of file zipstub.h.

Definition at line 71 of file zipstub.h.

Definition at line 86 of file zipstub.h.

Definition at line 63 of file zipstub.h.

Definition at line 65 of file zipstub.h.

Definition at line 72 of file zipstub.h.

#define PR_EXTERN (   __type)    extern __type

Definition at line 82 of file zipstub.h.

return PR_FALSE   0

Definition at line 102 of file zipstub.h.

Definition at line 52 of file zipstub.h.

#define PR_FREEIF (   x)    do { if (x) free(x); } while(0)

Definition at line 53 of file zipstub.h.

Definition at line 51 of file zipstub.h.

#define PR_Open (   a,
  b,
  c 
)    fopen((a),(b))

Definition at line 60 of file zipstub.h.

#define PR_PUBLIC_API (   __type)    __type

Definition at line 83 of file zipstub.h.

#define PR_RDONLY   "rb"

Definition at line 111 of file zipstub.h.

#define PR_Read (   f,
  d,
  n 
)    fread((d),1,(n),(f))

Definition at line 61 of file zipstub.h.

Definition at line 64 of file zipstub.h.

Definition at line 113 of file zipstub.h.

Definition at line 112 of file zipstub.h.

#define PR_STATIC_CALLBACK (   __x)    static __x

Definition at line 87 of file zipstub.h.

nsnull PR_TRUE   1

Definition at line 101 of file zipstub.h.

#define PR_Write (   f,
  s,
  n 
)    fwrite((s),1,(n),(f))

Definition at line 62 of file zipstub.h.

Definition at line 91 of file zipstub.h.

#define VALID_SXP   1

Definition at line 106 of file zipstub.h.


Typedef Documentation

typedef PRBool

Definition at line 97 of file zipstub.h.

typedef short PRInt16

Definition at line 95 of file zipstub.h.

typedef long PRInt32

Definition at line 92 of file zipstub.h.

Definition at line 93 of file zipstub.h.

Definition at line 99 of file zipstub.h.

typedef unsigned short PRUint16

Definition at line 96 of file zipstub.h.

typedef unsigned long PRUint32

Definition at line 94 of file zipstub.h.

typedef unsigned char PRUint8

Definition at line 98 of file zipstub.h.