|
Blender
V2.59
|
#include <stdio.h>#include "npapi.h"#include "npupp.h"Go to the source code of this file.
Defines | |
| #define | PLUGINDEBUGSTR(msg) |
Functions | |
| void | NPN_Version (int *plugin_major, int *plugin_minor, int *netscape_major, int *netscape_minor) |
| NPError | NPN_GetValue (NPP instance, NPNVariable variable, void *r_value) |
| NPError | NPN_GetURL (NPP instance, const char *url, const char *window) |
| NPError | NPN_PostURL (NPP instance, const char *url, const char *window, uint32 len, const char *buf, NPBool file) |
| NPError | NPN_RequestRead (NPStream *stream, NPByteRange *rangeList) |
| NPError | NPN_NewStream (NPP instance, NPMIMEType type, const char *window, NPStream **stream_ptr) |
| int32 | NPN_Write (NPP instance, NPStream *stream, int32 len, void *buffer) |
| NPError | NPN_DestroyStream (NPP instance, NPStream *stream, NPError reason) |
| void | NPN_Status (NPP instance, const char *message) |
| const char * | NPN_UserAgent (NPP instance) |
| void * | NPN_MemAlloc (uint32 size) |
| void | NPN_MemFree (void *ptr) |
| uint32 | NPN_MemFlush (uint32 size) |
| void | NPN_ReloadPlugins (NPBool reloadPages) |
| JRIEnv * | NPN_GetJavaEnv () |
| jref | NPN_GetJavaPeer (NPP instance) |
| void | NPN_ForceRedraw (NPP instance) |
| void | NPN_InvalidateRect (NPP instance, NPRect *invalidRect) |
| 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_Print (NPP instance, NPPrint *platformPrint) |
| char * | NP_GetMIMEDescription (void) |
| NPError | NP_GetValue (void *future, NPPVariable variable, void *value) |
| NPError | NP_Initialize (NPNetscapeFuncs *nsTable, NPPluginFuncs *pluginFuncs) |
| NPError | NP_Shutdown (void) |
Variables | |
| static NPNetscapeFuncs | gNetscapeFuncs |
| #define PLUGINDEBUGSTR | ( | msg | ) |
Adapted to new API. Used by the Blender Web Plugin
Definition at line 34 of file npunix.c.
Referenced by NP_Initialize(), NP_Shutdown(), Private_Destroy(), Private_DestroyStream(), Private_New(), Private_NewStream(), Private_Print(), Private_SetWindow(), Private_StreamAsFile(), Private_Write(), and Private_WriteReady().
| char* NP_GetMIMEDescription | ( | void | ) |
Definition at line 293 of file npunix.c.
References NPP_GetMIMEDescription().
| NPError NP_GetValue | ( | void * | future, |
| NPPVariable | variable, | ||
| void * | value | ||
| ) |
Definition at line 305 of file npunix.c.
References NPP_GetValue().
| NPError NP_Initialize | ( | NPNetscapeFuncs * | nsTable, |
| NPPluginFuncs * | pluginFuncs | ||
| ) |
Definition at line 328 of file npunix.c.
References err, gNetscapeFuncs, NPP_Initialize(), NULL, PLUGINDEBUGSTR, Private_Destroy(), Private_DestroyStream(), Private_New(), Private_NewStream(), Private_Print(), Private_SetWindow(), Private_StreamAsFile(), Private_Write(), and Private_WriteReady().
| NPError NP_Shutdown | ( | void | ) |
Definition at line 448 of file npunix.c.
References NPP_Shutdown(), and PLUGINDEBUGSTR.
| NPError NPN_DestroyStream | ( | NPP | instance, |
| NPStream * | stream, | ||
| NPError | reason | ||
| ) |
Definition at line 123 of file npunix.c.
References gNetscapeFuncs.
| void NPN_ForceRedraw | ( | NPP | instance | ) |
Definition at line 174 of file npunix.c.
References gNetscapeFuncs.
| JRIEnv* NPN_GetJavaEnv | ( | ) |
Definition at line 162 of file npunix.c.
References gNetscapeFuncs.
| jref NPN_GetJavaPeer | ( | NPP | instance | ) |
Definition at line 167 of file npunix.c.
References gNetscapeFuncs.
| NPError NPN_GetURL | ( | NPP | instance, |
| const char * | url, | ||
| const char * | window | ||
| ) |
Definition at line 78 of file npunix.c.
References gNetscapeFuncs.
| NPError NPN_GetValue | ( | NPP | instance, |
| NPNVariable | variable, | ||
| void * | r_value | ||
| ) |
Definition at line 71 of file npunix.c.
References gNetscapeFuncs.
| void NPN_InvalidateRect | ( | NPP | instance, |
| NPRect * | invalidRect | ||
| ) |
Definition at line 181 of file npunix.c.
References gNetscapeFuncs.
| void* NPN_MemAlloc | ( | uint32 | size | ) |
Definition at line 142 of file npunix.c.
References gNetscapeFuncs.
Referenced by execute_blenderplayer(), NPP_New(), and NPP_NewStream().
Definition at line 152 of file npunix.c.
References gNetscapeFuncs.
| void NPN_MemFree | ( | void * | ptr | ) |
| NPError NPN_NewStream | ( | NPP | instance, |
| NPMIMEType | type, | ||
| const char * | window, | ||
| NPStream ** | stream_ptr | ||
| ) |
Definition at line 108 of file npunix.c.
References gNetscapeFuncs.
| NPError NPN_PostURL | ( | NPP | instance, |
| const char * | url, | ||
| const char * | window, | ||
| uint32 | len, | ||
| const char * | buf, | ||
| NPBool | file | ||
| ) |
Definition at line 93 of file npunix.c.
References gNetscapeFuncs.
| void NPN_ReloadPlugins | ( | NPBool | reloadPages | ) |
Definition at line 157 of file npunix.c.
References gNetscapeFuncs.
| NPError NPN_RequestRead | ( | NPStream * | stream, |
| NPByteRange * | rangeList | ||
| ) |
Definition at line 101 of file npunix.c.
References gNetscapeFuncs.
| void NPN_Status | ( | NPP | instance, |
| const char * | message | ||
| ) |
Definition at line 130 of file npunix.c.
References gNetscapeFuncs.
Referenced by NPP_DestroyStream().
| const char* NPN_UserAgent | ( | NPP | instance | ) |
Definition at line 136 of file npunix.c.
References gNetscapeFuncs.
| void NPN_Version | ( | int * | plugin_major, |
| int * | plugin_minor, | ||
| int * | netscape_major, | ||
| int * | netscape_minor | ||
| ) |
Definition at line 58 of file npunix.c.
References gNetscapeFuncs.
| int32 NPN_Write | ( | NPP | instance, |
| NPStream * | stream, | ||
| int32 | len, | ||
| void * | buffer | ||
| ) |
Definition at line 116 of file npunix.c.
References gNetscapeFuncs.
| NPError Private_Destroy | ( | NPP | instance, |
| NPSavedData ** | save | ||
| ) |
Definition at line 211 of file npunix.c.
References NPP_Destroy(), and PLUGINDEBUGSTR.
Referenced by NP_Initialize().
| NPError Private_DestroyStream | ( | NPP | instance, |
| NPStream * | stream, | ||
| NPError | reason | ||
| ) |
Definition at line 264 of file npunix.c.
References err, NPP_DestroyStream(), and PLUGINDEBUGSTR.
Referenced by NP_Initialize().
| NPError Private_New | ( | NPMIMEType | pluginType, |
| NPP | instance, | ||
| uint16 | mode, | ||
| int16 | argc, | ||
| char * | argn[], | ||
| char * | argv[], | ||
| NPSavedData * | saved | ||
| ) |
Definition at line 201 of file npunix.c.
References NPP_New(), and PLUGINDEBUGSTR.
Referenced by NP_Initialize().
| NPError Private_NewStream | ( | NPP | instance, |
| NPMIMEType | type, | ||
| NPStream * | stream, | ||
| NPBool | seekable, | ||
| uint16 * | stype | ||
| ) |
Definition at line 227 of file npunix.c.
References err, NPP_NewStream(), and PLUGINDEBUGSTR.
Referenced by NP_Initialize().
| void Private_Print | ( | NPP | instance, |
| NPPrint * | platformPrint | ||
| ) |
Definition at line 274 of file npunix.c.
References NPP_Print(), and PLUGINDEBUGSTR.
Referenced by NP_Initialize().
| NPError Private_SetWindow | ( | NPP | instance, |
| NPWindow * | window | ||
| ) |
Definition at line 218 of file npunix.c.
References err, NPP_SetWindow(), and PLUGINDEBUGSTR.
Referenced by NP_Initialize().
| void Private_StreamAsFile | ( | NPP | instance, |
| NPStream * | stream, | ||
| const char * | fname | ||
| ) |
Definition at line 256 of file npunix.c.
References NPP_StreamAsFile(), and PLUGINDEBUGSTR.
Referenced by NP_Initialize().
| int32 Private_Write | ( | NPP | instance, |
| NPStream * | stream, | ||
| int32 | offset, | ||
| int32 | len, | ||
| void * | buffer | ||
| ) |
Definition at line 246 of file npunix.c.
References NPP_Write(), and PLUGINDEBUGSTR.
Referenced by NP_Initialize().
| int32 Private_WriteReady | ( | NPP | instance, |
| NPStream * | stream | ||
| ) |
Definition at line 237 of file npunix.c.
References NPP_WriteReady(), and PLUGINDEBUGSTR.
Referenced by NP_Initialize().
NPNetscapeFuncs gNetscapeFuncs [static] |
Definition at line 44 of file npunix.c.
Referenced by NP_Initialize(), NPN_DestroyStream(), NPN_ForceRedraw(), NPN_GetJavaEnv(), NPN_GetJavaPeer(), NPN_GetURL(), NPN_GetValue(), NPN_InvalidateRect(), NPN_MemAlloc(), NPN_MemFlush(), NPN_MemFree(), NPN_NewStream(), NPN_PostURL(), NPN_ReloadPlugins(), NPN_RequestRead(), NPN_Status(), NPN_UserAgent(), NPN_Version(), and NPN_Write().