1 /* |
1 /* |
2 * Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
81 extern jfieldID FID_NativeGSSContext_isEstablished; |
81 extern jfieldID FID_NativeGSSContext_isEstablished; |
82 extern jfieldID FID_NativeGSSContext_delegatedCred; |
82 extern jfieldID FID_NativeGSSContext_delegatedCred; |
83 extern jfieldID FID_NativeGSSContext_flags; |
83 extern jfieldID FID_NativeGSSContext_flags; |
84 extern jfieldID FID_NativeGSSContext_lifetime; |
84 extern jfieldID FID_NativeGSSContext_lifetime; |
85 extern jfieldID FID_NativeGSSContext_actualMech; |
85 extern jfieldID FID_NativeGSSContext_actualMech; |
86 #define TRACE0(s) { if (JGSS_DEBUG) { puts(s); fflush(stdout); }} |
86 #define TRACE0(s) { if (JGSS_DEBUG) { printf("[GSSLibStub:%d] %s\n", __LINE__, s); fflush(stdout); }} |
87 #define TRACE1(s, p1) { if (JGSS_DEBUG) { printf(s"\n", p1); fflush(stdout); }} |
87 #define TRACE1(s, p1) { if (JGSS_DEBUG) { printf("[GSSLibStub:%d] "s"\n", __LINE__, p1); fflush(stdout); }} |
88 #define TRACE2(s, p1, p2) { if (JGSS_DEBUG) { printf(s"\n", p1, p2); fflush(stdout); }} |
88 #define TRACE2(s, p1, p2) { if (JGSS_DEBUG) { printf("[GSSLibStub:%d] "s"\n", __LINE__, p1, p2); fflush(stdout); }} |
89 #define TRACE3(s, p1, p2, p3) { if (JGSS_DEBUG) { printf(s"\n", p1, p2, p3); fflush(stdout); }} |
89 #define TRACE3(s, p1, p2, p3) { if (JGSS_DEBUG) { printf("[GSSLibStub:%d] "s"\n", __LINE__, p1, p2, p3); fflush(stdout); }} |
90 |
90 |
91 |
91 |
92 #ifdef __cplusplus |
92 #ifdef __cplusplus |
93 } |
93 } |
94 #endif |
94 #endif |