~ubuntu-branches/ubuntu/trusty/mysql-5.6/trusty

« back to all changes in this revision

Viewing changes to storage/ndb/src/ndbjtie/mgmapi_jtie.hpp

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-02-12 11:54:27 UTC
  • Revision ID: package-import@ubuntu.com-20140212115427-oq6tfsqxl1wuwehi
Tags: upstream-5.6.15
ImportĀ upstreamĀ versionĀ 5.6.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 Copyright 2010 Sun Microsystems, Inc.
 
3
 All rights reserved. Use is subject to license terms.
 
4
 
 
5
 This program is free software; you can redistribute it and/or modify
 
6
 it under the terms of the GNU General Public License as published by
 
7
 the Free Software Foundation; version 2 of the License.
 
8
 
 
9
 This program is distributed in the hope that it will be useful,
 
10
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
 GNU General Public License for more details.
 
13
 
 
14
 You should have received a copy of the GNU General Public License
 
15
 along with this program; if not, write to the Free Software
 
16
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
 
17
*/
 
18
/*
 
19
 * mgmapi_jtie.hpp
 
20
 */
 
21
 
 
22
#ifndef mgmapi_jtie_hpp
 
23
#define mgmapi_jtie_hpp
 
24
 
 
25
// API to implement against
 
26
#include "mgmapi.h"
 
27
//#include "mgmapi_config_parameters.h"
 
28
//#include "mgmapi_debug.h"
 
29
//#include "mgmapi_error.h"
 
30
//#include "ndb_logevent.h"
 
31
//#include "ndbd_exit_codes.h"
 
32
 
 
33
// libraries
 
34
#include "ndbjtie_defs.hpp"
 
35
#include "helpers.hpp"
 
36
#include "jtie.hpp"
 
37
 
 
38
// ---------------------------------------------------------------------------
 
39
// MGMAPI JTie Type Definitions
 
40
// ---------------------------------------------------------------------------
 
41
 
 
42
// ---------------------------------------------------------------------------
 
43
// MGMAPI JTie Function Stubs
 
44
// ---------------------------------------------------------------------------
 
45
 
 
46
// The API stub functions in this file have mangled names that adhere
 
47
// to the JVM specification.  It is not necessary to include the
 
48
// function prototypes generated by the javah tool from the Java source,
 
49
// if they are declared to receive "C" linkage here.
 
50
extern "C" {
 
51
 
 
52
// A javah bug in JDK 5
 
53
//   http://forums.sun.com/thread.jspa?threadID=5115982&tstart=1499
 
54
// generates a wrong name for native methods in static nested classes:
 
55
//
 
56
// JDK 6 has this bug only partially fixed (nested classes as invocation
 
57
// targets but not as parameters).
 
58
//
 
59
// Outer$Inner is to be mangled as unicode escape: Outer_00024Inner, see:
 
60
//   http://java.sun.com/javase/6/docs/technotes/guides/jni/spec/design.html#wp615]Resolving%20Native%20Method%20Names
 
61
 
 
62
// ---------------------------------------------------------------------------
 
63
 
 
64
// ---------------------------------------------------------------------------
 
65
 
 
66
} // extern "C"
 
67
 
 
68
#endif // mgmapi_jtie_hpp