librpc: Shorten dcerpc_binding_handle_call a bit
[Samba/vl.git] / lib / krb5_wrap / gss_samba.h
blob531993263bb31316580f65760d79a91c993e041a
1 /*
2 * Unix SMB/CIFS implementation.
4 * Simple GSSAPI wrappers
6 * Copyright (c) 2012 Andreas Schneider <asn@samba.org>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 3 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, see <http://www.gnu.org/licenses/>.
22 #ifndef _GSS_SAMBA_H
23 #define _GSS_SAMBA_H
25 #ifdef HAVE_GSSAPI
27 #include "system/gssapi.h"
29 #if defined(HAVE_GSS_OID_EQUAL)
30 #define smb_gss_oid_equal gss_oid_equal
31 #else
32 int smb_gss_oid_equal(const gss_OID first_oid, const gss_OID second_oid);
33 #endif /* HAVE_GSS_OID_EQUAL */
35 #endif /* HAVE_GSSAPI */
36 #endif /* _GSS_SAMBA_H */