Where Online Learning is simpler!
The C and C++ Include Header Files
/usr/include/ntirpc/rpc/auth_stat.h
$ cat -n /usr/include/ntirpc/rpc/auth_stat.h 1 /* 2 * Copyright (c) 1984, 2009, Sun Microsystems, Inc. 3 * Copyright (c) 2017 Red Hat, Inc. and/or its affiliates. 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 are met: 8 * - Redistributions of source code must retain the above copyright notice, 9 * this list of conditions and the following disclaimer. 10 * - Redistributions in binary form must reproduce the above copyright notice, 11 * this list of conditions and the following disclaimer in the documentation 12 * and/or other materials provided with the distribution. 13 * - Neither the name of Sun Microsystems, Inc. nor the names of its 14 * contributors may be used to endorse or promote products derived 15 * from this software without specific prior written permission. 16 * 17 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 * POSSIBILITY OF SUCH DAMAGE. 28 * 29 * from: @(#)auth.h 1.17 88/02/08 SMI 30 * from: @(#)auth.h 2.3 88/08/07 4.0 RPCSRC 31 * from: @(#)auth.h 1.43 98/02/02 SMI 32 * from: $NetBSD: auth.h,v 1.15 2000/06/02 22:57:55 fvdl Exp $ 33 * from: $FreeBSD: src/include/rpc/auth.h,v 1.20 2003/01/01 18:48:42 schweikh Exp $ 34 */ 35 36 #ifndef _TIRPC_AUTH_STAT_H_ 37 #define _TIRPC_AUTH_STAT_H_ 38 39 #ifdef __cplusplus 40 extern "C" { 41 #endif 42 43 /* 44 * Status returned from authentication check 45 */ 46 enum auth_stat { 47 AUTH_OK = 0, 48 /* 49 * failed at remote end 50 */ 51 AUTH_BADCRED = 1, /* bogus credentials (seal broken) */ 52 AUTH_REJECTEDCRED = 2, /* client should begin new session */ 53 AUTH_BADVERF = 3, /* bogus verifier (seal broken) */ 54 AUTH_REJECTEDVERF = 4, /* verifier expired or was replayed */ 55 AUTH_TOOWEAK = 5, /* rejected due to security reasons */ 56 /* 57 * failed locally 58 */ 59 AUTH_INVALIDRESP = 6, /* bogus response verifier */ 60 AUTH_FAILED = 7, /* some unknown reason */ 61 #ifdef KERBEROS 62 /* 63 * kerberos errors 64 */ 65 AUTH_KERB_GENERIC = 8, /* kerberos generic error */ 66 AUTH_TIMEEXPIRE = 9, /* time of credential expired */ 67 AUTH_TKT_FILE = 10, /* something wrong with ticket file */ 68 AUTH_DECODE = 11, /* can't decode authenticator */ 69 AUTH_NET_ADDR = 12, /* wrong net address in ticket */ 70 #endif /* KERBEROS */ 71 /* 72 * RPCSEC_GSS errors 73 */ 74 RPCSEC_GSS_CREDPROBLEM = 13, 75 RPCSEC_GSS_CTXPROBLEM = 14, 76 }; 77 78 #ifdef __cplusplus 79 } 80 #endif 81 #endif /* !_TIRPC_AUTH_STAT_H_ */
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2025 MyWebUniversity.com ™