auth_des.c (75094) | auth_des.c (90868) |
---|---|
1 2/* 3 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 4 * unrestricted use provided that this legend is included on all tape 5 * media and as a part of the software program in whole or part. Users 6 * may copy or modify Sun RPC without charge, but are not authorized 7 * to license or distribute it to anyone else except as part of a product or 8 * program developed by the user. --- 34 unchanged lines hidden (view full) --- 43#include <sys/cdefs.h> 44#include <rpc/des_crypt.h> 45#include <syslog.h> 46#include <rpc/types.h> 47#include <rpc/auth.h> 48#include <rpc/auth_des.h> 49#include <rpc/clnt.h> 50#include <rpc/xdr.h> | 1 2/* 3 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 4 * unrestricted use provided that this legend is included on all tape 5 * media and as a part of the software program in whole or part. Users 6 * may copy or modify Sun RPC without charge, but are not authorized 7 * to license or distribute it to anyone else except as part of a product or 8 * program developed by the user. --- 34 unchanged lines hidden (view full) --- 43#include <sys/cdefs.h> 44#include <rpc/des_crypt.h> 45#include <syslog.h> 46#include <rpc/types.h> 47#include <rpc/auth.h> 48#include <rpc/auth_des.h> 49#include <rpc/clnt.h> 50#include <rpc/xdr.h> |
51#include <netinet/in.h> /* XXX: just to get htonl() and ntohl() */ | |
52#include <sys/socket.h> 53#undef NIS 54#include <rpcsvc/nis.h> 55#include "un-namespace.h" 56 57#if defined(LIBC_SCCS) && !defined(lint) 58/* from: static char sccsid[] = "@(#)auth_des.c 2.2 88/07/29 4.0 RPCSRC; from 1.9 88/02/08 SMI"; */ | 51#include <sys/socket.h> 52#undef NIS 53#include <rpcsvc/nis.h> 54#include "un-namespace.h" 55 56#if defined(LIBC_SCCS) && !defined(lint) 57/* from: static char sccsid[] = "@(#)auth_des.c 2.2 88/07/29 4.0 RPCSRC; from 1.9 88/02/08 SMI"; */ |
59static const char rcsid[] = "$FreeBSD: head/lib/libc/rpc/auth_des.c 75094 2001-04-02 21:41:44Z iedowse $"; | 58static const char rcsid[] = "$FreeBSD: head/lib/libc/rpc/auth_des.c 90868 2002-02-18 20:35:27Z mike $"; |
60#endif 61 62#define USEC_PER_SEC 1000000 63#define RTIME_TIMEOUT 5 /* seconds to wait for sync */ 64 65#define AUTH_PRIVATE(auth) (struct ad_private *) auth->ah_private 66#define ALLOC(object_type) (object_type *) mem_alloc(sizeof(object_type)) 67#define FREE(ptr, size) mem_free((char *)(ptr), (int) size) --- 431 unchanged lines hidden --- | 59#endif 60 61#define USEC_PER_SEC 1000000 62#define RTIME_TIMEOUT 5 /* seconds to wait for sync */ 63 64#define AUTH_PRIVATE(auth) (struct ad_private *) auth->ah_private 65#define ALLOC(object_type) (object_type *) mem_alloc(sizeof(object_type)) 66#define FREE(ptr, size) mem_free((char *)(ptr), (int) size) --- 431 unchanged lines hidden --- |