Back to index

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

Go to the source code of this file.

Classes

struct  JMURLCallbacks

Typedefs

typedef voidJMURLConnectionRef
typedef voidJMURLInputStreamRef
typedef voidJMURLOutputStreamRef
typedef enum
JMURLConnectionOptions typedef 
CALLBACK_API_C (OSStatus, JMURLOpenConnectionProcPtr)(JMTextRef url
typedef enum
JMURLConnectionOptions typedef
JMTextRef 
requestMethod
typedef enum
JMURLConnectionOptions typedef
JMTextRef
JMURLConnectionOptions 
options
typedef enum
JMURLConnectionOptions typedef
JMTextRef
JMURLConnectionOptions
JMAppletViewerRef 
appletViewer
typedef enum
JMURLConnectionOptions typedef
JMTextRef
JMURLConnectionOptions
JMAppletViewerRef
JMURLConnectionRef
urlConnectionRef
typedef JMTextRef * cookie
typedef int numberOfProperties
typedef int JMTextRef * keys
typedef int JMTextRef JMTextRef * value
typedef int JMTextRef JMTextRef * values
typedef JMURLInputStreamRefurlInputStreamRef
typedef JMURLOutputStreamRefurlOutputStreamRef
typedef voidbuffer
typedef void UInt32 bufferSize
typedef void UInt32 SInt32 * bytesRead
typedef void SInt32 bytesToWrite
typedef struct JMURLCallbacks

Enumerations

enum  JMURLConnectionOptions { eDefault = 0, eNoCaching = (1 << 2), eNoUserInteraction = (1 << 3), eNoRedirection = (1 << 4) }

Functions

typedef CALLBACK_API_C (OSStatus, JMURLCloseConnectionProcPtr)(JMURLConnectionRef urlConnectionRef)
typedef CALLBACK_API_C (Boolean, JMURLUsingProxyProcPtr)(JMURLConnectionRef urlConnectionRef)
typedef CALLBACK_API_C (OSStatus, JMURLGetCookieProcPtr)(JMURLConnectionRef urlConnectionRef
typedef CALLBACK_API_C (OSStatus, JMURLSetCookieProcPtr)(JMURLConnectionRef urlConnectionRef
typedef CALLBACK_API_C (OSStatus, JMURLSetRequestPropertiesProcPtr)(JMURLConnectionRef urlConnectionRef
typedef CALLBACK_API_C (OSStatus, JMURLGetResponsePropertiesCountProcPtr)(JMURLInputStreamRef iStreamRef
typedef CALLBACK_API_C (OSStatus, JMURLGetResponsePropertiesProcPtr)(JMURLInputStreamRef iStreamRef
typedef CALLBACK_API_C (OSStatus, JMURLOpenInputStreamProcPtr)(JMURLConnectionRef urlConnectionRef
typedef CALLBACK_API_C (OSStatus, JMURLOpenOutputStreamProcPtr)(JMURLConnectionRef urlConnectionRef
typedef CALLBACK_API_C (OSStatus, JMURLCloseInputStreamProcPtr)(JMURLInputStreamRef urlInputStreamRef)
typedef CALLBACK_API_C (OSStatus, JMURLCloseOutputStreamProcPtr)(JMURLOutputStreamRef urlOutputStreamRef)
typedef CALLBACK_API_C (OSStatus, JMURLReadProcPtr)(JMURLInputStreamRef iStreamRef
typedef CALLBACK_API_C (OSStatus, JMURLWriteProcPtr)(JMURLOutputStreamRef oStreamRef
 JMURLSetCallbacks (JMSessionRef session, const char *protocol, JMURLCallbacks *cb)
 JMURLOpenConnection (JMSessionRef session, JMTextRef url, JMTextRef requestMethod, JMURLConnectionOptions options, JMAppletViewerRef appletViewer, JMURLConnectionRef *urlConnectionRef)
 JMURLCloseConnection (JMSessionRef session, JMURLConnectionRef urlConnectionRef)
 JMURLUsingProxy (JMSessionRef session, JMURLConnectionRef urlConnectionRef)
 JMURLGetCookie (JMSessionRef session, JMURLConnectionRef urlConnectionRef, JMTextRef *cookie)
 JMURLSetCookie (JMSessionRef session, JMURLConnectionRef urlConnectionRef, JMTextRef cookie)
 JMURLSetRequestProperties (JMSessionRef session, JMURLConnectionRef urlConnectionRef, int numberOfProperties, JMTextRef *keys, JMTextRef *value)
 JMURLGetResponsePropertiesCount (JMSessionRef session, JMURLInputStreamRef iStreamRef, int *numberOfProperties)
 JMURLGetResponseProperties (JMSessionRef session, JMURLInputStreamRef iStreamRef, int numberOfProperties, JMTextRef *keys, JMTextRef *values)
 JMURLOpenInputStream (JMSessionRef session, JMURLConnectionRef urlConnectionRef, JMURLInputStreamRef *urlInputStreamRef)
 JMURLOpenOutputStream (JMSessionRef session, JMURLConnectionRef urlConnectionRef, JMURLOutputStreamRef *urlOutputStreamRef)
 JMURLCloseInputStream (JMSessionRef session, JMURLInputStreamRef urlInputStreamRef)
 JMURLCloseOutputStream (JMSessionRef session, JMURLOutputStreamRef urlOutputStreamRef)
 JMURLRead (JMSessionRef session, JMURLInputStreamRef urlInputStreamRef, void *buffer, UInt32 bufferSize, SInt32 *bytesRead)
 JMURLWrite (JMSessionRef session, JMURLOutputStreamRef urlOutputStreamRef, void *buffer, SInt32 bytesToWrite)

Class Documentation

struct JMURLCallbacks

Definition at line 118 of file JMURLConnection.h.

Class Members
JMURLCloseConnectionProcPtr fCloseConnection
JMURLCloseInputStreamProcPtr fCloseInputStream
JMURLCloseOutputStreamProcPtr fCloseOutputStream
JMURLGetCookieProcPtr fGetCookie
JMURLGetResponsePropertiesProcPtr fGetResponseProperties
JMURLGetResponsePropertiesCountProcPtr fGetResponsePropertiesCount
JMURLOpenConnectionProcPtr fOpenConnection
JMURLOpenInputStreamProcPtr fOpenInputStream
JMURLOpenOutputStreamProcPtr fOpenOutputStream
JMURLReadProcPtr fRead
JMURLSetCookieProcPtr fSetCookie
JMURLSetRequestPropertiesProcPtr fSetRequestProperties
JMURLUsingProxyProcPtr fUsingProxy
UInt32 fVersion
JMURLWriteProcPtr fWrite

Typedef Documentation

typedef enum JMURLConnectionOptions typedef JMTextRef JMURLConnectionOptions JMAppletViewerRef appletViewer

Definition at line 38 of file JMURLConnection.h.

typedef void* buffer

Definition at line 107 of file JMURLConnection.h.

Definition at line 107 of file JMURLConnection.h.

typedef void UInt32 SInt32* bytesRead

Definition at line 107 of file JMURLConnection.h.

typedef void SInt32 bytesToWrite

Definition at line 114 of file JMURLConnection.h.

typedef enum JMURLConnectionOptions typedef CALLBACK_API_C(OSStatus, JMURLOpenConnectionProcPtr)(JMTextRef url

Definition at line 36 of file JMURLConnection.h.

typedef JMTextRef cookie

Definition at line 55 of file JMURLConnection.h.

typedef struct JMURLCallbacks

Definition at line 136 of file JMURLConnection.h.

Definition at line 22 of file JMURLConnection.h.

Definition at line 23 of file JMURLConnection.h.

Definition at line 24 of file JMURLConnection.h.

typedef int JMTextRef * keys

Definition at line 64 of file JMURLConnection.h.

Definition at line 64 of file JMURLConnection.h.

typedef enum JMURLConnectionOptions typedef JMTextRef JMURLConnectionOptions options

Definition at line 38 of file JMURLConnection.h.

typedef enum JMURLConnectionOptions typedef JMTextRef requestMethod

Definition at line 38 of file JMURLConnection.h.

typedef enum JMURLConnectionOptions typedef JMTextRef JMURLConnectionOptions JMAppletViewerRef JMURLConnectionRef* urlConnectionRef

Definition at line 38 of file JMURLConnection.h.

Definition at line 90 of file JMURLConnection.h.

Definition at line 95 of file JMURLConnection.h.

typedef int JMTextRef JMTextRef* value

Definition at line 64 of file JMURLConnection.h.

typedef int JMTextRef JMTextRef* values

Definition at line 82 of file JMURLConnection.h.


Enumeration Type Documentation

Enumerator:
eDefault 
eNoCaching 
eNoUserInteraction 
eNoRedirection 

Definition at line 26 of file JMURLConnection.h.

{
       eDefault                    = 0,
       eNoCaching                  = (1 << 2),
       eNoUserInteraction   = (1 << 3),
       eNoRedirection              = (1 << 4)
};

Function Documentation

typedef CALLBACK_API_C ( OSStatus  ,
JMURLCloseConnectionProcPtr   
)
typedef CALLBACK_API_C ( Boolean  ,
JMURLUsingProxyProcPtr   
)
typedef CALLBACK_API_C ( OSStatus  ,
JMURLGetCookieProcPtr   
)
typedef CALLBACK_API_C ( OSStatus  ,
JMURLSetCookieProcPtr   
)
typedef CALLBACK_API_C ( OSStatus  ,
JMURLSetRequestPropertiesProcPtr   
)
typedef CALLBACK_API_C ( OSStatus  ,
JMURLGetResponsePropertiesCountProcPtr   
)
typedef CALLBACK_API_C ( OSStatus  ,
JMURLGetResponsePropertiesProcPtr   
)
typedef CALLBACK_API_C ( OSStatus  ,
JMURLOpenInputStreamProcPtr   
)
typedef CALLBACK_API_C ( OSStatus  ,
JMURLOpenOutputStreamProcPtr   
)
typedef CALLBACK_API_C ( OSStatus  ,
JMURLCloseInputStreamProcPtr   
)
typedef CALLBACK_API_C ( OSStatus  ,
JMURLCloseOutputStreamProcPtr   
)
typedef CALLBACK_API_C ( OSStatus  ,
JMURLReadProcPtr   
)
typedef CALLBACK_API_C ( OSStatus  ,
JMURLWriteProcPtr   
)
JMURLCloseConnection ( JMSessionRef  session,
JMURLConnectionRef  urlConnectionRef 
)
JMURLCloseInputStream ( JMSessionRef  session,
JMURLInputStreamRef  urlInputStreamRef 
)
JMURLCloseOutputStream ( JMSessionRef  session,
JMURLOutputStreamRef  urlOutputStreamRef 
)
JMURLGetCookie ( JMSessionRef  session,
JMURLConnectionRef  urlConnectionRef,
JMTextRef *  cookie 
)
JMURLGetResponseProperties ( JMSessionRef  session,
JMURLInputStreamRef  iStreamRef,
int  numberOfProperties,
JMTextRef *  keys,
JMTextRef *  values 
)
JMURLGetResponsePropertiesCount ( JMSessionRef  session,
JMURLInputStreamRef  iStreamRef,
int numberOfProperties 
)
JMURLOpenConnection ( JMSessionRef  session,
JMTextRef  url,
JMTextRef  requestMethod,
JMURLConnectionOptions  options,
JMAppletViewerRef  appletViewer,
JMURLConnectionRef urlConnectionRef 
)
JMURLOpenInputStream ( JMSessionRef  session,
JMURLConnectionRef  urlConnectionRef,
JMURLInputStreamRef urlInputStreamRef 
)
JMURLOpenOutputStream ( JMSessionRef  session,
JMURLConnectionRef  urlConnectionRef,
JMURLOutputStreamRef urlOutputStreamRef 
)
JMURLRead ( JMSessionRef  session,
JMURLInputStreamRef  urlInputStreamRef,
void buffer,
UInt32  bufferSize,
SInt32 *  bytesRead 
)
JMURLSetCallbacks ( JMSessionRef  session,
const char *  protocol,
JMURLCallbacks cb 
)

Here is the caller graph for this function:

JMURLSetCookie ( JMSessionRef  session,
JMURLConnectionRef  urlConnectionRef,
JMTextRef  cookie 
)
JMURLSetRequestProperties ( JMSessionRef  session,
JMURLConnectionRef  urlConnectionRef,
int  numberOfProperties,
JMTextRef *  keys,
JMTextRef *  value 
)
JMURLUsingProxy ( JMSessionRef  session,
JMURLConnectionRef  urlConnectionRef 
)
JMURLWrite ( JMSessionRef  session,
JMURLOutputStreamRef  urlOutputStreamRef,
void buffer,
SInt32  bytesToWrite 
)