Classes | Defines | Typedefs

npfunctions.h File Reference

#include "npapi.h"
#include "npruntime.h"
Include dependency graph for npfunctions.h:

Classes

struct  _NPPluginFuncs
struct  _NPNetscapeFuncs

Defines

#define NP_LOADDS
#define OSCALL

Typedefs

typedef void(* NPP_InitializeProcPtr )()
typedef void(* NPP_ShutdownProcPtr )()
typedef NPError(* NPP_NewProcPtr )(NPMIMEType pluginType, NPP instance, uint16_t mode, int16_t argc, char *argn[], char *argv[], NPSavedData *saved)
typedef NPError(* NPP_DestroyProcPtr )(NPP instance, NPSavedData **save)
typedef NPError(* NPP_SetWindowProcPtr )(NPP instance, NPWindow *window)
typedef NPError(* NPP_NewStreamProcPtr )(NPP instance, NPMIMEType type, NPStream *stream, NPBool seekable, uint16_t *stype)
typedef NPError(* NPP_DestroyStreamProcPtr )(NPP instance, NPStream *stream, NPReason reason)
typedef int32_t(* NPP_WriteReadyProcPtr )(NPP instance, NPStream *stream)
typedef int32_t(* NPP_WriteProcPtr )(NPP instance, NPStream *stream, int32_t offset, int32_t len, void *buffer)
typedef void(* NPP_StreamAsFileProcPtr )(NPP instance, NPStream *stream, const char *fname)
typedef void(* NPP_PrintProcPtr )(NPP instance, NPPrint *platformPrint)
typedef int16_t(* NPP_HandleEventProcPtr )(NPP instance, void *event)
typedef void(* NPP_URLNotifyProcPtr )(NPP instance, const char *url, NPReason reason, void *notifyData)
typedef NPError(* NPP_GetValueProcPtr )(NPP instance, NPPVariable variable, void *ret_value)
typedef NPError(* NPP_SetValueProcPtr )(NPP instance, NPNVariable variable, void *value)
typedef NPError(* NPN_GetValueProcPtr )(NPP instance, NPNVariable variable, void *ret_value)
typedef NPError(* NPN_SetValueProcPtr )(NPP instance, NPPVariable variable, void *value)
typedef NPError(* NPN_GetURLNotifyProcPtr )(NPP instance, const char *url, const char *window, void *notifyData)
typedef NPError(* NPN_PostURLNotifyProcPtr )(NPP instance, const char *url, const char *window, uint32_t len, const char *buf, NPBool file, void *notifyData)
typedef NPError(* NPN_GetURLProcPtr )(NPP instance, const char *url, const char *window)
typedef NPError(* NPN_PostURLProcPtr )(NPP instance, const char *url, const char *window, uint32_t len, const char *buf, NPBool file)
typedef NPError(* NPN_RequestReadProcPtr )(NPStream *stream, NPByteRange *rangeList)
typedef NPError(* NPN_NewStreamProcPtr )(NPP instance, NPMIMEType type, const char *window, NPStream **stream)
typedef int32_t(* NPN_WriteProcPtr )(NPP instance, NPStream *stream, int32_t len, void *buffer)
typedef NPError(* NPN_DestroyStreamProcPtr )(NPP instance, NPStream *stream, NPReason reason)
typedef void(* NPN_StatusProcPtr )(NPP instance, const char *message)
typedef const char *(* NPN_UserAgentProcPtr )(NPP instance)
typedef void *(* NPN_MemAllocProcPtr )(uint32_t size)
typedef void(* NPN_MemFreeProcPtr )(void *ptr)
typedef uint32_t(* NPN_MemFlushProcPtr )(uint32_t size)
typedef void(* NPN_ReloadPluginsProcPtr )(NPBool reloadPages)
typedef void *(* NPN_GetJavaEnvProcPtr )()
typedef void *(* NPN_GetJavaPeerProcPtr )(NPP instance)
typedef void(* NPN_InvalidateRectProcPtr )(NPP instance, NPRect *rect)
typedef void(* NPN_InvalidateRegionProcPtr )(NPP instance, NPRegion region)
typedef void(* NPN_ForceRedrawProcPtr )(NPP instance)
typedef NPIdentifier(* NPN_GetStringIdentifierProcPtr )(const NPUTF8 *name)
typedef void(* NPN_GetStringIdentifiersProcPtr )(const NPUTF8 **names, int32_t nameCount, NPIdentifier *identifiers)
typedef NPIdentifier(* NPN_GetIntIdentifierProcPtr )(int32_t intid)
typedef bool(* NPN_IdentifierIsStringProcPtr )(NPIdentifier identifier)
typedef NPUTF8 *(* NPN_UTF8FromIdentifierProcPtr )(NPIdentifier identifier)
typedef int32_t(* NPN_IntFromIdentifierProcPtr )(NPIdentifier identifier)
typedef NPObject *(* NPN_CreateObjectProcPtr )(NPP npp, NPClass *aClass)
typedef NPObject *(* NPN_RetainObjectProcPtr )(NPObject *obj)
typedef void(* NPN_ReleaseObjectProcPtr )(NPObject *obj)
typedef bool(* NPN_InvokeProcPtr )(NPP npp, NPObject *obj, NPIdentifier methodName, const NPVariant *args, uint32_t argCount, NPVariant *result)
typedef bool(* NPN_InvokeDefaultProcPtr )(NPP npp, NPObject *obj, const NPVariant *args, uint32_t argCount, NPVariant *result)
typedef bool(* NPN_EvaluateProcPtr )(NPP npp, NPObject *obj, NPString *script, NPVariant *result)
typedef bool(* NPN_GetPropertyProcPtr )(NPP npp, NPObject *obj, NPIdentifier propertyName, NPVariant *result)
typedef bool(* NPN_SetPropertyProcPtr )(NPP npp, NPObject *obj, NPIdentifier propertyName, const NPVariant *value)
typedef bool(* NPN_RemovePropertyProcPtr )(NPP npp, NPObject *obj, NPIdentifier propertyName)
typedef bool(* NPN_HasPropertyProcPtr )(NPP npp, NPObject *obj, NPIdentifier propertyName)
typedef bool(* NPN_HasMethodProcPtr )(NPP npp, NPObject *obj, NPIdentifier propertyName)
typedef void(* NPN_ReleaseVariantValueProcPtr )(NPVariant *variant)
typedef void(* NPN_SetExceptionProcPtr )(NPObject *obj, const NPUTF8 *message)
typedef bool(* NPN_PushPopupsEnabledStateProcPtr )(NPP npp, NPBool enabled)
typedef bool(* NPN_PopPopupsEnabledStateProcPtr )(NPP npp)
typedef bool(* NPN_EnumerateProcPtr )(NPP npp, NPObject *obj, NPIdentifier **identifier, uint32_t *count)
typedef void(* NPN_PluginThreadAsyncCallProcPtr )(NPP instance, void(*func)(void *), void *userData)
typedef bool(* NPN_ConstructProcPtr )(NPP npp, NPObject *obj, const NPVariant *args, uint32_t argCount, NPVariant *result)
typedef NPError(* NPN_GetValueForURLPtr )(NPP npp, NPNURLVariable variable, const char *url, char **value, uint32_t *len)
typedef NPError(* NPN_SetValueForURLPtr )(NPP npp, NPNURLVariable variable, const char *url, const char *value, uint32_t len)
typedef NPError(* NPN_GetAuthenticationInfoPtr )(NPP npp, const char *protocol, const char *host, int32_t port, const char *scheme, const char *realm, char **username, uint32_t *ulen, char **password, uint32_t *plen)
typedef uint32_t(* NPN_ScheduleTimerPtr )(NPP instance, uint32_t interval, NPBool repeat, void(*timerFunc)(NPP npp, uint32_t timerID))
typedef void(* NPN_UnscheduleTimerPtr )(NPP instance, uint32_t timerID)
typedef NPError(* NPN_PopUpContextMenuPtr )(NPP instance, NPMenu *menu)
typedef NPBool(* NPN_ConvertPointPtr )(NPP instance, double sourceX, double sourceY, NPCoordinateSpace sourceSpace, double *destX, double *destY, NPCoordinateSpace destSpace)
typedef struct _NPPluginFuncs NPPluginFuncs
typedef struct _NPNetscapeFuncs NPNetscapeFuncs

Define Documentation

#define NP_LOADDS
#define OSCALL

Typedef Documentation

typedef bool(* NPN_ConstructProcPtr)(NPP npp, NPObject *obj, const NPVariant *args, uint32_t argCount, NPVariant *result)
typedef NPBool(* NPN_ConvertPointPtr)(NPP instance, double sourceX, double sourceY, NPCoordinateSpace sourceSpace, double *destX, double *destY, NPCoordinateSpace destSpace)
typedef NPObject*(* NPN_CreateObjectProcPtr)(NPP npp, NPClass *aClass)
typedef NPError(* NPN_DestroyStreamProcPtr)(NPP instance, NPStream *stream, NPReason reason)
typedef bool(* NPN_EnumerateProcPtr)(NPP npp, NPObject *obj, NPIdentifier **identifier, uint32_t *count)
typedef bool(* NPN_EvaluateProcPtr)(NPP npp, NPObject *obj, NPString *script, NPVariant *result)
typedef void(* NPN_ForceRedrawProcPtr)(NPP instance)
typedef NPError(* NPN_GetAuthenticationInfoPtr)(NPP npp, const char *protocol, const char *host, int32_t port, const char *scheme, const char *realm, char **username, uint32_t *ulen, char **password, uint32_t *plen)
typedef NPIdentifier(* NPN_GetIntIdentifierProcPtr)(int32_t intid)
typedef void*(* NPN_GetJavaEnvProcPtr)()
typedef void*(* NPN_GetJavaPeerProcPtr)(NPP instance)
typedef bool(* NPN_GetPropertyProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName, NPVariant *result)
typedef void(* NPN_GetStringIdentifiersProcPtr)(const NPUTF8 **names, int32_t nameCount, NPIdentifier *identifiers)
typedef NPError(* NPN_GetURLNotifyProcPtr)(NPP instance, const char *url, const char *window, void *notifyData)
typedef NPError(* NPN_GetURLProcPtr)(NPP instance, const char *url, const char *window)
typedef NPError(* NPN_GetValueForURLPtr)(NPP npp, NPNURLVariable variable, const char *url, char **value, uint32_t *len)
typedef NPError(* NPN_GetValueProcPtr)(NPP instance, NPNVariable variable, void *ret_value)
typedef bool(* NPN_HasMethodProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName)
typedef bool(* NPN_HasPropertyProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName)
typedef int32_t(* NPN_IntFromIdentifierProcPtr)(NPIdentifier identifier)
typedef void(* NPN_InvalidateRectProcPtr)(NPP instance, NPRect *rect)
typedef void(* NPN_InvalidateRegionProcPtr)(NPP instance, NPRegion region)
typedef bool(* NPN_InvokeDefaultProcPtr)(NPP npp, NPObject *obj, const NPVariant *args, uint32_t argCount, NPVariant *result)
typedef bool(* NPN_InvokeProcPtr)(NPP npp, NPObject *obj, NPIdentifier methodName, const NPVariant *args, uint32_t argCount, NPVariant *result)
typedef void*(* NPN_MemAllocProcPtr)(uint32_t size)
typedef uint32_t(* NPN_MemFlushProcPtr)(uint32_t size)
typedef void(* NPN_MemFreeProcPtr)(void *ptr)
typedef NPError(* NPN_NewStreamProcPtr)(NPP instance, NPMIMEType type, const char *window, NPStream **stream)
typedef void(* NPN_PluginThreadAsyncCallProcPtr)(NPP instance, void(*func)(void *), void *userData)
typedef NPError(* NPN_PopUpContextMenuPtr)(NPP instance, NPMenu *menu)
typedef NPError(* NPN_PostURLNotifyProcPtr)(NPP instance, const char *url, const char *window, uint32_t len, const char *buf, NPBool file, void *notifyData)
typedef NPError(* NPN_PostURLProcPtr)(NPP instance, const char *url, const char *window, uint32_t len, const char *buf, NPBool file)
typedef void(* NPN_ReleaseVariantValueProcPtr)(NPVariant *variant)
typedef void(* NPN_ReloadPluginsProcPtr)(NPBool reloadPages)
typedef bool(* NPN_RemovePropertyProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName)
typedef NPError(* NPN_RequestReadProcPtr)(NPStream *stream, NPByteRange *rangeList)
typedef uint32_t(* NPN_ScheduleTimerPtr)(NPP instance, uint32_t interval, NPBool repeat, void(*timerFunc)(NPP npp, uint32_t timerID))
typedef void(* NPN_SetExceptionProcPtr)(NPObject *obj, const NPUTF8 *message)
typedef bool(* NPN_SetPropertyProcPtr)(NPP npp, NPObject *obj, NPIdentifier propertyName, const NPVariant *value)
typedef NPError(* NPN_SetValueForURLPtr)(NPP npp, NPNURLVariable variable, const char *url, const char *value, uint32_t len)
typedef NPError(* NPN_SetValueProcPtr)(NPP instance, NPPVariable variable, void *value)
typedef void(* NPN_StatusProcPtr)(NPP instance, const char *message)
typedef void(* NPN_UnscheduleTimerPtr)(NPP instance, uint32_t timerID)
typedef const char*(* NPN_UserAgentProcPtr)(NPP instance)
typedef int32_t(* NPN_WriteProcPtr)(NPP instance, NPStream *stream, int32_t len, void *buffer)
typedef NPError(* NPP_DestroyProcPtr)(NPP instance, NPSavedData **save)
typedef NPError(* NPP_DestroyStreamProcPtr)(NPP instance, NPStream *stream, NPReason reason)
typedef NPError(* NPP_GetValueProcPtr)(NPP instance, NPPVariable variable, void *ret_value)
typedef int16_t(* NPP_HandleEventProcPtr)(NPP instance, void *event)
typedef void(* NPP_InitializeProcPtr)()
typedef NPError(* NPP_NewProcPtr)(NPMIMEType pluginType, NPP instance, uint16_t mode, int16_t argc, char *argn[], char *argv[], NPSavedData *saved)
typedef NPError(* NPP_NewStreamProcPtr)(NPP instance, NPMIMEType type, NPStream *stream, NPBool seekable, uint16_t *stype)
typedef void(* NPP_PrintProcPtr)(NPP instance, NPPrint *platformPrint)
typedef NPError(* NPP_SetValueProcPtr)(NPP instance, NPNVariable variable, void *value)
typedef NPError(* NPP_SetWindowProcPtr)(NPP instance, NPWindow *window)
typedef void(* NPP_ShutdownProcPtr)()
typedef void(* NPP_StreamAsFileProcPtr)(NPP instance, NPStream *stream, const char *fname)
typedef void(* NPP_URLNotifyProcPtr)(NPP instance, const char *url, NPReason reason, void *notifyData)
typedef int32_t(* NPP_WriteProcPtr)(NPP instance, NPStream *stream, int32_t offset, int32_t len, void *buffer)
typedef int32_t(* NPP_WriteReadyProcPtr)(NPP instance, NPStream *stream)
typedef struct _NPPluginFuncs NPPluginFuncs