File: python_gssapi_krb5.h

package info (click to toggle)
python-gssapi 1.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 880 kB
  • sloc: python: 3,709; sh: 198; makefile: 154; ansic: 60
file content (25 lines) | stat: -rw-r--r-- 1,055 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifdef OSX_HAS_GSS_FRAMEWORK
#include <GSS/gssapi_krb5.h>

/* These functions are "private" in macOS GSS. They need to be redeclared so
 * Cython can see them. */
OM_uint32
__ApplePrivate_gsskrb5_extract_authtime_from_sec_context(OM_uint32 *minor,
                                                         gss_ctx_id_t context,
                                                         void *authtime);

OM_uint32 __ApplePrivate_gss_krb5_import_cred(OM_uint32 *minor_status,
                                              void *id,
                                              void *keytab_principal,
                                              void *keytab,
                                              gss_cred_id_t *cred);

OM_uint32 __ApplePrivate_gss_krb5_get_tkt_flags(OM_uint32 *minor_status,
                                                gss_ctx_id_t context_handle,
                                                void *tkt_flags);

#elif defined(__MINGW32__) && defined(__MSYS__)
#include <gss.h>
#else
#include <gssapi/gssapi_krb5.h>
#endif