00001 // @(#)root/krb5auth:$Id: Krb5Auth.h 20882 2007-11-19 11:31:26Z rdm $ 00002 // Author: Johannes Muelmenstaedt 17/03/2002 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2003, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 /* Parts of this file are copied from the MIT krb5 distribution and 00013 * are subject to the following license: 00014 * 00015 * Copyright 1990,1991 by the Massachusetts Institute of Technology. 00016 * All Rights Reserved. 00017 * 00018 * Export of this software from the United States of America may 00019 * require a specific license from the United States Government. 00020 * It is the responsibility of any person or organization contemplating 00021 * export to obtain such a license before exporting. 00022 * 00023 * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and 00024 * distribute this software and its documentation for any purpose and 00025 * without fee is hereby granted, provided that the above copyright 00026 * notice appear in all copies and that both that copyright notice and 00027 * this permission notice appear in supporting documentation, and that 00028 * the name of M.I.T. not be used in advertising or publicity pertaining 00029 * to distribution of the software without specific, written prior 00030 * permission. Furthermore if you modify this software you must label 00031 * your software as modified software and not distribute it in such a 00032 * fashion that it might be confused with the original M.I.T. software. 00033 * M.I.T. makes no representations about the suitability of 00034 * this software for any purpose. It is provided "as is" without express 00035 * or implied warranty. 00036 * 00037 */ 00038 00039 #ifndef ROOT_Krb5Auth 00040 #define ROOT_Krb5Auth 00041 00042 extern "C" { 00043 #define KRB5_PRIVATE 1 00044 #if (defined(__sun) || defined(__sgi) || defined(__APPLE__)) && !defined(linux) 00045 #include <com_err.h> 00046 #endif 00047 #include <krb5.h> 00048 #if defined(linux) && !defined(__COM_ERR_H) 00049 #include <com_err.h> 00050 #endif 00051 int krb5_net_read(krb5_context, int, char *, int); // ow ow ow! 00052 } 00053 00054 #endif