Annotation of embedaddon/ntp/include/adjtime.h, revision 1.1

1.1     ! misho       1: /*************************************************************************/
        !             2: /* (c) Copyright Tai Jin, 1988.  All Rights Reserved.                    */
        !             3: /*     Hewlett-Packard Laboratories.                                     */
        !             4: /*                                                                       */
        !             5: /* Permission is hereby granted for unlimited modification, use, and     */
        !             6: /* distribution.  This software is made available with no warranty of    */
        !             7: /* any kind, express or implied.  This copyright notice must remain      */
        !             8: /* intact in all versions of this software.                              */
        !             9: /*                                                                       */
        !            10: /* The author would appreciate it if any bug fixes and enhancements were */
        !            11: /* to be sent back to him for incorporation into future versions of this */
        !            12: /* software.  Please send changes to tai@iag.hp.com or ken@sdd.hp.com.   */
        !            13: /*************************************************************************/
        !            14: 
        !            15: /* "adjtime.h,v 3.1 1993/07/06 01:04:43 jbj Exp" */
        !            16: /* adjtime.h,v
        !            17:  * Revision 3.1  1993/07/06  01:04:43  jbj
        !            18:  * NTP release 3.1
        !            19:  *
        !            20:  *
        !            21:  * Revision 1.5  90/02/07  15:34:18  15:34:18  src (Source Hacker)
        !            22:  * CHANGED KEY !!!
        !            23:  * 
        !            24:  * Revision 1.4  89/02/09  12:26:35  12:26:35  tai (Tai Jin (Guest))
        !            25:  * *** empty log message ***
        !            26:  * 
        !            27:  * Revision 1.4  89/02/09  12:26:35  12:26:35  tai (Tai Jin)
        !            28:  * added comment
        !            29:  * 
        !            30:  * Revision 1.3  88/08/30  01:08:29  01:08:29  tai (Tai Jin)
        !            31:  * fix copyright notice again
        !            32:  * 
        !            33:  * Revision 1.2  88/08/30  00:51:55  00:51:55  tai (Tai Jin)
        !            34:  * fix copyright notice
        !            35:  * 
        !            36:  * Revision 1.1  88/04/02  14:56:54  14:56:54  tai (Tai Jin)
        !            37:  * Initial revision
        !            38:  *  */
        !            39: 
        !            40: #include "ntp_types.h"
        !            41: 
        !            42: #define KEY    659847L
        !            43: 
        !            44: typedef union {
        !            45:   struct msgbuf msgp;
        !            46:   struct {
        !            47:     long mtype;
        !            48:     int code;
        !            49:     struct timeval tv;
        !            50:   } msgb;
        !            51: } MsgBuf;
        !            52: 
        !            53: #define MSGSIZE        (sizeof(int) + sizeof(struct timeval))
        !            54: /*
        !            55:  * mtype values
        !            56:  */
        !            57: #define CLIENT 1L
        !            58: #define SERVER 2L
        !            59: /*
        !            60:  * code values
        !            61:  */
        !            62: #define DELTA1 0
        !            63: #define DELTA2 1

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>