3 #include <firefox/npapi.h>
4 #include <firefox/nptypes.h>
5 #include <firefox/npfunctions.h>
8 * Loading and unloading the library
10 NPError NP_Initialize(NPNetscapeFuncs *aNPNFuncs, NPPluginFuncs *aNPPFuncs)
12 return NPERR_NO_ERROR;
15 void NP_Shutdown(void)
21 * Create and destroy an instance of the plugin
23 NPError NPP_New(NPMIMEType pluginType,
24 NPP instance, uint16_t mode,
25 int16_t argc, char *argn[],
26 char *argv[], NPSavedData *saved)
28 return(NPERR_NO_ERROR);
31 NPError NPP_Destroy(NPP instance, NPSavedData **save)
33 return(NPERR_NO_ERROR);
39 * Register the plugin for MIME type, and name, etc.
41 #define MIME_TYPES_DESCRIPTION "application/web-shot:wsht:Web plugin for the Moonshot libraries"
42 const char* NP_GetMIMEDescription(void)
44 return(MIME_TYPES_DESCRIPTION);
47 NPError NP_GetValue(void *instance,
53 case NPPVpluginNameString:
54 *((char **)value) = "GSS-web Plugin\0";
56 case NPPVpluginDescriptionString:
57 *((char **)value) = "This plugin facilitates identification of you and authorization to access web resources using GSS-EAP, a standards-compliant mechanism for establishing an identity and access rights within a sophisticated organization.\0";
60 return NPERR_GENERIC_ERROR;
63 return NPERR_NO_ERROR;