2 * Copyright 2017 Dmitry Timoshkov
3 * Copyright 2017 George Popoff
4 * Copyright 2008 Robert Shearman for CodeWeavers
5 * Copyright 2017,2021 Hans Leidekker for CodeWeavers
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
22 #include "wine/unixlib.h"
24 #define KERBEROS_MAX_BUF 12000
26 struct accept_context_params
31 ULONG input_token_length
;
34 ULONG
*output_token_length
;
39 struct acquire_credentials_handle_params
41 const char *principal
;
49 struct delete_context_params
54 struct free_credentials_handle_params
59 struct initialize_context_params
63 const char *target_name
;
66 ULONG input_token_length
;
68 ULONG
*output_token_length
;
74 struct make_signature_params
83 struct query_context_attributes_params
90 struct query_ticket_cache_params
92 KERB_QUERY_TKT_CACHE_EX_RESPONSE
*resp
;
96 struct seal_message_params
106 struct unseal_message_params
116 struct verify_signature_params
130 unix_acquire_credentials_handle
,
132 unix_free_credentials_handle
,
133 unix_initialize_context
,
135 unix_query_context_attributes
,
136 unix_query_ticket_cache
,
139 unix_verify_signature
,
143 #define KRB5_CALL( func, params ) WINE_UNIX_CALL( unix_ ## func, params )