diff options
author | roberto <roberto@FreeBSD.org> | 1999-12-22 15:24:45 +0000 |
---|---|---|
committer | roberto <roberto@FreeBSD.org> | 1999-12-22 15:24:45 +0000 |
commit | 07fa87617ade0f00e9d60fa4b1079cac165d6059 (patch) | |
tree | daf1c2e9a599e9dfc97305d8b5252e8630bea9b9 /usr.sbin/xntpd/include/ntp_stdlib.h | |
parent | 5960602b89278a9a46eb40f3716de826681c1072 (diff) | |
download | FreeBSD-src-07fa87617ade0f00e9d60fa4b1079cac165d6059.zip FreeBSD-src-07fa87617ade0f00e9d60fa4b1079cac165d6059.tar.gz |
Bye bye xntpd.
Diffstat (limited to 'usr.sbin/xntpd/include/ntp_stdlib.h')
-rw-r--r-- | usr.sbin/xntpd/include/ntp_stdlib.h | 93 |
1 files changed, 0 insertions, 93 deletions
diff --git a/usr.sbin/xntpd/include/ntp_stdlib.h b/usr.sbin/xntpd/include/ntp_stdlib.h deleted file mode 100644 index 19cdad8..0000000 --- a/usr.sbin/xntpd/include/ntp_stdlib.h +++ /dev/null @@ -1,93 +0,0 @@ -/* - * ntp_stdlib.h - Prototypes for XNTP lib. - */ -#include <sys/types.h> - -#include "ntp_types.h" -#include "ntp_string.h" -#include "l_stdlib.h" - -#ifndef P -#if defined(__STDC__) || defined(USE_PROTOTYPES) -#define P(x) x -#else -#define P(x) () -#if !defined(const) -#define const -#endif -#endif -#endif - -#if defined(__STDC__) -extern void msyslog P((int, char *, ...)); -#else -extern void msyslog P(()); -#endif - -extern void auth_des P((u_long *, u_char *)); -extern void auth_delkeys P((void)); -extern int auth_havekey P((u_long)); -extern int auth_parity P((u_long *)); -extern void auth_setkey P((u_long, u_long *)); -extern void auth_subkeys P((u_long *, u_char *, u_char *)); -extern int authistrusted P((u_long)); -extern int authusekey P((u_long, int, const char *)); - -extern void auth_delkeys P((void)); - -extern void auth1crypt P((u_long, U_LONG *, int)); -extern int auth2crypt P((u_long, U_LONG *, int)); -extern int authdecrypt P((u_long, U_LONG *, int)); -extern int authencrypt P((u_long, U_LONG *, int)); -extern int authhavekey P((u_long)); -extern int authreadkeys P((const char *)); -extern void authtrust P((u_long, int)); -extern void calleapwhen P((u_long, u_long *, u_long *)); -extern u_long calyearstart P((u_long)); -extern const char *clockname P((int)); -extern int clocktime P((int, int, int, int, int, u_long, u_long *, U_LONG *)); -extern char * emalloc P((u_int)); -extern int ntp_getopt P((int, char **, char *)); -extern void init_auth P((void)); -extern void init_lib P((void)); -extern void init_random P((void)); - -#ifdef DES -extern void DESauth1crypt P((u_long, U_LONG *, int)); -extern int DESauth2crypt P((u_long, U_LONG *, int)); -extern int DESauthdecrypt P((u_long, const U_LONG *, int)); -extern int DESauthencrypt P((u_long, U_LONG *, int)); -extern void DESauth_setkey P((u_long, const U_LONG *)); -extern void DESauth_subkeys P((const U_LONG *, u_char *, u_char *)); -extern void DESauth_des P((U_LONG *, u_char *)); -extern int DESauth_parity P((U_LONG *)); -#endif /* DES */ - -#ifdef MD5 -extern void MD5auth1crypt P((u_long, U_LONG *, int)); -extern int MD5auth2crypt P((u_long, U_LONG *, int)); -extern int MD5authdecrypt P((u_long, const U_LONG *, int)); -extern int MD5authencrypt P((u_long, U_LONG *, int)); -extern void MD5auth_setkey P((u_long, const U_LONG *)); -#endif /* MD5 */ - -extern int atoint P((const char *, long *)); -extern int atouint P((const char *, u_long *)); -extern int hextoint P((const char *, u_long *)); -extern char * humandate P((u_long)); -extern char * inttoa P((long)); -extern char * mfptoa P((u_long, u_long, int)); -extern char * mfptoms P((u_long, u_long, int)); -extern char * modetoa P((int)); -extern u_int32_t netof P((u_int32_t)); -extern char * numtoa P((u_int32_t)); -extern char * numtohost P((u_int32_t)); -extern int octtoint P((const char *, u_long *)); -extern u_long ranp2 P((int)); -extern char * refnumtoa P((u_long)); -extern int tsftomsu P((u_long, int)); -extern char * uinttoa P((u_long)); - -extern int decodenetnum P((const char *, u_long *)); - -extern RETSIGTYPE signal_no_reset P((int, RETSIGTYPE (*func)())); |