Deleted Added
full compact
kafs.h (90926) kafs.h (120945)
1/*
1/*
2 * Copyright (c) 1995 - 2001 Kungliga Tekniska H�gskolan
2 * Copyright (c) 1995 - 2001, 2003 Kungliga Tekniska H�gskolan
3 * (Royal Institute of Technology, Stockholm, Sweden).
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 *
10 * 1. Redistributions of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 */
33
3 * (Royal Institute of Technology, Stockholm, Sweden).
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 *
10 * 1. Redistributions of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 */
33
34/* $Id: kafs.h,v 1.35 2001/09/10 16:05:31 assar Exp $ */
34/* $Id: kafs.h,v 1.39.2.1 2003/04/23 18:03:21 lha Exp $ */
35
36#ifndef __KAFS_H
37#define __KAFS_H
38
39/* XXX must include krb5.h or krb.h */
40
41/* sys/ioctl.h must be included manually before kafs.h */
42

--- 96 unchanged lines hidden (view full) ---

139#ifdef KFAILURE
140#define KRB_H_INCLUDED
141#endif
142
143#ifdef KRB5_RECVAUTH_IGNORE_VERSION
144#define KRB5_H_INCLUDED
145#endif
146
35
36#ifndef __KAFS_H
37#define __KAFS_H
38
39/* XXX must include krb5.h or krb.h */
40
41/* sys/ioctl.h must be included manually before kafs.h */
42

--- 96 unchanged lines hidden (view full) ---

139#ifdef KFAILURE
140#define KRB_H_INCLUDED
141#endif
142
143#ifdef KRB5_RECVAUTH_IGNORE_VERSION
144#define KRB5_H_INCLUDED
145#endif
146
147void kafs_set_verbose __P((void (*kafs_verbose)(void *, const char *), void *));
148int kafs_settoken_rxkad __P((const char *, struct ClearToken *,
149 void *ticket, size_t ticket_len));
147#ifdef KRB_H_INCLUDED
148int kafs_settoken __P((const char*, uid_t, CREDENTIALS*));
149#endif
150#ifdef KRB_H_INCLUDED
151int kafs_settoken __P((const char*, uid_t, CREDENTIALS*));
152#endif
153#ifdef KRB5_H_INCLUDED
154int kafs_settoken5 __P((krb5_context, const char*, uid_t, krb5_creds*));
155#endif
150
156
157
151#ifdef KRB5_H_INCLUDED
152krb5_error_code krb5_afslog_uid __P((krb5_context context,
153 krb5_ccache id,
154 const char *cell,
155 krb5_const_realm realm,
156 uid_t uid));
157krb5_error_code krb5_afslog __P((krb5_context context,
158 krb5_ccache id,

--- 43 unchanged lines hidden ---
158#ifdef KRB5_H_INCLUDED
159krb5_error_code krb5_afslog_uid __P((krb5_context context,
160 krb5_ccache id,
161 const char *cell,
162 krb5_const_realm realm,
163 uid_t uid));
164krb5_error_code krb5_afslog __P((krb5_context context,
165 krb5_ccache id,

--- 43 unchanged lines hidden ---