~ubuntu-branches/ubuntu/quantal/gecko-mediaplayer/quantal

« back to all changes in this revision

Viewing changes to src/npupp.h

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Tirabassi
  • Date: 2010-02-27 17:04:42 UTC
  • mfrom: (1.1.16 upstream) (0.1.12 sid)
  • Revision ID: james.westby@ubuntu.com-20100227170442-vunev0niu3xmrij8
Tags: 0.9.9.2-1
* Point fix release (LP: #523793):
  - Use proper NPERR and NPRES codes in the URLNotify and DestroyStream
  - Fix Apple HD Gallery site
  - Improved handling of .m3u playlists
  - Opera still has issues with apple.com/trailers sites,
    due to user agent issues.
* Add chromium-browser (>> 4.0) as a compatible browser

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
                (*(FUNC))((NPParg), (NPStreamPtr))
130
130
 
131
131
/* NPP_Write */
132
 
typedef int32_t(*NP_LOADDS NPP_WriteUPP) (NPP instance, NPStream * stream, int32_t offset, int32_t len,
133
 
                                        void *buffer);
 
132
typedef int32_t(*NP_LOADDS NPP_WriteUPP) (NPP instance, NPStream * stream, int32_t offset,
 
133
                                          int32_t len, void *buffer);
134
134
#define NewNPP_WriteProc(FUNC)          \
135
135
                ((NPP_WriteUPP) (FUNC))
136
136
#define CallNPP_WriteProc(FUNC,  NPParg, NPStreamPtr, offsetArg, lenArg, bufferPtr)             \
246
246
                (*(FUNC))((npp), (type), (window), (stream))
247
247
 
248
248
/* NPN_Write */
249
 
typedef int32_t(*NP_LOADDS NPN_WriteUPP) (NPP instance, NPStream * stream, int32_t len, void *buffer);
 
249
typedef int32_t(*NP_LOADDS NPN_WriteUPP) (NPP instance, NPStream * stream, int32_t len,
 
250
                                          void *buffer);
250
251
#define NewNPN_WriteProc(FUNC)          \
251
252
                ((NPN_WriteUPP) (FUNC))
252
253
#define CallNPN_WriteProc(FUNC, npp, stream, len, buffer)               \
360
361
                (*(FUNC))((ARG1))
361
362
 
362
363
/* NPN_IntFromIdentifier */
363
 
typedef int32_t (*NP_LOADDS NPN_IntFromIdentifierUPP) (NPIdentifier identifier);
 
364
typedef int32_t(*NP_LOADDS NPN_IntFromIdentifierUPP) (NPIdentifier identifier);
364
365
#define NewNPN_IntFromIdentifierProc(FUNC)              \
365
366
                ((NPN_IntFromIdentifierUPP) (FUNC))
366
367
#define CallNPN_IntFromIdentifierProc(FUNC, ARG1)               \
609
610
};
610
611
 
611
612
typedef struct _BPSupportedMIMETypes {
612
 
    Sint32_t structVersion;       /* struct version */
 
613
    Sint32_t structVersion;     /* struct version */
613
614
    Handle typeStrings;         /* STR# formated handle, allocated by plug-in */
614
615
    Handle infoStrings;         /* STR# formated handle, allocated by plug-in */
615
616
} BPSupportedMIMETypes;