Commit 386c6b9d authored by Jean-Paul Saman's avatar Jean-Paul Saman

mozilla: define wrapper prototypes in support/npunix.c

parent a6d61f14
...@@ -421,6 +421,24 @@ void NPN_SetException(NPObject *npobj, const NPUTF8 *message) ...@@ -421,6 +421,24 @@ void NPN_SetException(NPObject *npobj, const NPUTF8 *message)
* setting up globals for 68K plugins. * setting up globals for 68K plugins.
* *
***********************************************************************/ ***********************************************************************/
NPError Private_New(NPMIMEType pluginType, NPP instance, uint16 mode,
int16 argc, char* argn[], char* argv[], NPSavedData* saved);
NPError Private_Destroy(NPP instance, NPSavedData** save);
NPError Private_SetWindow(NPP instance, NPWindow* window);
NPError Private_NewStream(NPP instance, NPMIMEType type, NPStream* stream,
NPBool seekable, uint16* stype);
int32 Private_WriteReady(NPP instance, NPStream* stream);
int32 Private_Write(NPP instance, NPStream* stream, int32 offset, int32 len,
void* buffer);
void Private_StreamAsFile(NPP instance, NPStream* stream, const char* fname);
NPError Private_DestroyStream(NPP instance, NPStream* stream, NPError reason);
void Private_URLNotify(NPP instance, const char* url, NPReason reason, void* notifyData);
void Private_Print(NPP instance, NPPrint* platformPrint);
NPError Private_GetValue(NPP instance, NPPVariable variable, void *r_value);
NPError Private_SetValue(NPP instance, NPPVariable variable, void *r_value);
JRIGlobalRef Private_GetJavaClass(void);
/* */
NPError NPError
Private_New(NPMIMEType pluginType, NPP instance, uint16 mode, Private_New(NPMIMEType pluginType, NPP instance, uint16 mode,
...@@ -484,7 +502,6 @@ Private_StreamAsFile(NPP instance, NPStream* stream, const char* fname) ...@@ -484,7 +502,6 @@ Private_StreamAsFile(NPP instance, NPStream* stream, const char* fname)
NPP_StreamAsFile(instance, stream, fname); NPP_StreamAsFile(instance, stream, fname);
} }
NPError NPError
Private_DestroyStream(NPP instance, NPStream* stream, NPError reason) Private_DestroyStream(NPP instance, NPStream* stream, NPError reason)
{ {
...@@ -497,14 +514,11 @@ Private_DestroyStream(NPP instance, NPStream* stream, NPError reason) ...@@ -497,14 +514,11 @@ Private_DestroyStream(NPP instance, NPStream* stream, NPError reason)
void void
Private_URLNotify(NPP instance, const char* url, Private_URLNotify(NPP instance, const char* url,
NPReason reason, void* notifyData) NPReason reason, void* notifyData)
{ {
PLUGINDEBUGSTR("URLNotify"); PLUGINDEBUGSTR("URLNotify");
NPP_URLNotify(instance, url, reason, notifyData); NPP_URLNotify(instance, url, reason, notifyData);
} }
void void
Private_Print(NPP instance, NPPrint* platformPrint) Private_Print(NPP instance, NPPrint* platformPrint)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment