ROOT
6.10/09
Reference Guide
net
krb5auth
inc
Krb5Auth.h
Go to the documentation of this file.
1
// @(#)root/krb5auth:$Id$
2
// Author: Johannes Muelmenstaedt 17/03/2002
3
4
/*************************************************************************
5
* Copyright (C) 1995-2003, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
/* Parts of this file are copied from the MIT krb5 distribution and
13
* are subject to the following license:
14
*
15
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
16
* All Rights Reserved.
17
*
18
* Export of this software from the United States of America may
19
* require a specific license from the United States Government.
20
* It is the responsibility of any person or organization contemplating
21
* export to obtain such a license before exporting.
22
*
23
* WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
24
* distribute this software and its documentation for any purpose and
25
* without fee is hereby granted, provided that the above copyright
26
* notice appear in all copies and that both that copyright notice and
27
* this permission notice appear in supporting documentation, and that
28
* the name of M.I.T. not be used in advertising or publicity pertaining
29
* to distribution of the software without specific, written prior
30
* permission. Furthermore if you modify this software you must label
31
* your software as modified software and not distribute it in such a
32
* fashion that it might be confused with the original M.I.T. software.
33
* M.I.T. makes no representations about the suitability of
34
* this software for any purpose. It is provided "as is" without express
35
* or implied warranty.
36
*
37
*/
38
39
#ifndef ROOT_Krb5Auth
40
#define ROOT_Krb5Auth
41
42
extern
"C"
{
43
#define KRB5_PRIVATE 1
44
#if (defined(__sun) || defined(__sgi) || defined(__APPLE__)) && !defined(linux)
45
#include <com_err.h>
46
#endif
47
#include <krb5.h>
48
#if defined(linux) && !defined(__COM_ERR_H)
49
#include <com_err.h>
50
#endif
51
int
krb5_net_read
(krb5_context,
int
,
char
*,
int
);
// ow ow ow!
52
}
53
54
#endif
krb5_net_read
int krb5_net_read(krb5_context, int, char *, int)