Deleted Added
full compact
timedc.h (1554) timedc.h (30642)
1/*-
2 * Copyright (c) 1985, 1993
3 * The Regents of the University of California. 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

--- 32 unchanged lines hidden (view full) ---

41#include <sys/socket.h>
42#include <netinet/in.h>
43#include <arpa/inet.h>
44
45#include <errno.h>
46#include <netdb.h>
47#include <stdio.h>
48
1/*-
2 * Copyright (c) 1985, 1993
3 * The Regents of the University of California. 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

--- 32 unchanged lines hidden (view full) ---

41#include <sys/socket.h>
42#include <netinet/in.h>
43#include <arpa/inet.h>
44
45#include <errno.h>
46#include <netdb.h>
47#include <stdio.h>
48
49extern int errno;
50
51#define ON 1
52#define OFF 0
53
54#define GOOD 1
55#define UNREACHABLE 2
56#define NONSTDTIME 3
57#define HOSTDOWN 0x7fffffff
58
59struct cmd {
60 char *c_name; /* command name */
61 char *c_help; /* help message */
62 void (*c_handler)(); /* routine to do the work */
63 int c_priv; /* privileged command */
64};
65
66#include "extern.h"
49#define ON 1
50#define OFF 0
51
52#define GOOD 1
53#define UNREACHABLE 2
54#define NONSTDTIME 3
55#define HOSTDOWN 0x7fffffff
56
57struct cmd {
58 char *c_name; /* command name */
59 char *c_help; /* help message */
60 void (*c_handler)(); /* routine to do the work */
61 int c_priv; /* privileged command */
62};
63
64#include "extern.h"