Annotation of 43BSD/etc/timed/timedc.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * Copyright (c) 1983 Regents of the University of California.
        !             3:  * All rights reserved.  The Berkeley software License Agreement
        !             4:  * specifies the terms and conditions for redistribution.
        !             5:  */
        !             6: 
        !             7: /*     @(#)timedc.h    2.1     (Berkeley)      12/10/85        */
        !             8: 
        !             9: #include <sys/param.h>
        !            10: #include <stdio.h>
        !            11: #include <sys/time.h>
        !            12: #include <errno.h>
        !            13: #include <sys/socket.h>
        !            14: #include <netinet/in.h>
        !            15: #include <netdb.h>
        !            16: #include <arpa/inet.h>
        !            17: 
        !            18: extern int errno;
        !            19: 
        !            20: #define ON             1
        !            21: #define OFF            0
        !            22: 
        !            23: #define MSGS           6
        !            24: #define TRIALS         5
        !            25: 
        !            26: #define GOOD           1
        !            27: #define UNREACHABLE    2
        !            28: #define NONSTDTIME     3
        !            29: #define HOSTDOWN       0x7fffffff
        !            30: 
        !            31: struct cmd {
        !            32:        char    *c_name;                /* command name */
        !            33:        char    *c_help;                /* help message */
        !            34:        int     (*c_handler)();         /* routine to do the work */
        !            35:        int     c_priv;                 /* privileged command */
        !            36: };

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.