void plugin_post_url_notify (NPP instance, const char *url, const char *target, const char *data, guint data_len, void *user_data) { CallNPN_PostURLNotifyProc (mozilla_funcs.posturlnotify, instance, url, target, data_len, data ? data : "", FALSE, user_data); }
NPError NPN_PostURLNotify(NPP instance, const char* url, const char* window, uint32 len, const char* buf, NPBool file, void* notifyData) { return CallNPN_PostURLNotifyProc(gNetscapeFuncs.posturlnotify, instance, url, window, len, buf, file, notifyData); }
NPError NPN_PostURLNotify(NPP instance, const char* url, const char* window, uint32_t len, const char* buf, NPBool file, void* notifyData) { int navMinorVers = NPNFuncs.version & 0xFF; NPError rv = NPERR_NO_ERROR; if( navMinorVers >= NPVERS_HAS_NOTIFICATION ) rv = CallNPN_PostURLNotifyProc(NPNFuncs.posturlnotify, instance, url, window, len, buf, file, notifyData); else rv = NPERR_INCOMPATIBLE_VERSION_ERROR; return rv; }