yp_update.c (81586) | yp_update.c (84220) |
---|---|
1/* 2 * Copyright (c) 1995, 1996 3 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 22 unchanged lines hidden (view full) --- 31 * 32 * ypupdate client-side library function. 33 * 34 * Written by Bill Paul <wpaul@ctr.columbia.edu> 35 * Center for Telecommunications Research 36 * Columbia University, New York City 37 */ 38 | 1/* 2 * Copyright (c) 1995, 1996 3 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 22 unchanged lines hidden (view full) --- 31 * 32 * ypupdate client-side library function. 33 * 34 * Written by Bill Paul <wpaul@ctr.columbia.edu> 35 * Center for Telecommunications Research 36 * Columbia University, New York City 37 */ 38 |
39#include <sys/cdefs.h> 40__FBSDID("$FreeBSD: head/lib/librpcsvc/yp_update.c 84220 2001-09-30 22:15:15Z dillon $"); 41 |
|
39#include <stdlib.h> 40#include <rpc/rpc.h> 41#include <rpcsvc/yp_prot.h> 42#include <rpcsvc/ypclnt.h> 43#include <rpcsvc/ypupdate_prot.h> 44#include <rpc/key_prot.h> 45 | 42#include <stdlib.h> 43#include <rpc/rpc.h> 44#include <rpcsvc/yp_prot.h> 45#include <rpcsvc/ypclnt.h> 46#include <rpcsvc/ypupdate_prot.h> 47#include <rpc/key_prot.h> 48 |
46#ifndef lint 47static const char rcsid[] = 48 "$FreeBSD: head/lib/librpcsvc/yp_update.c 81586 2001-08-13 14:06:34Z ru $"; 49#endif 50 | |
51#ifndef WINDOW 52#define WINDOW (60*60) 53#endif 54 55#ifndef TIMEOUT 56#define TIMEOUT 300 57#endif 58 --- 145 unchanged lines hidden --- | 49#ifndef WINDOW 50#define WINDOW (60*60) 51#endif 52 53#ifndef TIMEOUT 54#define TIMEOUT 300 55#endif 56 --- 145 unchanged lines hidden --- |