1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
8 #include "third_party/npapi/bindings/npapi.h"
9 #include "third_party/npapi/bindings/npapi_extensions.h"
10 #include "third_party/npapi/bindings/npfunctions.h"
11 #include "third_party/npapi/bindings/npruntime.h"
13 // Define an OS-neutral wrapper for shared library entry points
15 #define API_CALL __stdcall
25 // NPAPI library entry points
27 #if defined(OS_POSIX) && !defined(OS_MACOSX)
28 typedef NPError (API_CALL
* NP_InitializeFunc
)(NPNetscapeFuncs
* pNFuncs
,
29 NPPluginFuncs
* pPFuncs
);
31 typedef NPError (API_CALL
* NP_InitializeFunc
)(NPNetscapeFuncs
* pFuncs
);
32 typedef NPError (API_CALL
* NP_GetEntryPointsFunc
)(NPPluginFuncs
* pFuncs
);
34 typedef NPError (API_CALL
* NP_ShutdownFunc
)(void);
40 #endif // _NPHOSTAPI_H_