Annotation of 43BSDTahoe/new/dsh/src/dsh.h, revision 1.1

1.1     ! root        1: /*  some definitions */
        !             2: #define HOSTNAMESIZE 32
        !             3: #define TRUE 1
        !             4: #define FALSE 0
        !             5: #define bool char
        !             6: #define COMMANDSIZE 450
        !             7: #define PATHSIZE 100
        !             8: #define BIDCMD "dbid"
        !             9: 
        !            10: /* some basic functions */
        !            11: #define new(q) ((q *)malloc(sizeof(q)))
        !            12: #define swab(a) ((a&0xff)<<8 | (a&0xff00)>>8)
        !            13: 
        !            14: /*
        !            15:  *     the hosts to use
        !            16:  */
        !            17: struct hostdef {
        !            18:     char       h_name[HOSTNAMESIZE];   /* name of this host */
        !            19:     char       h_user[HOSTNAMESIZE];   /* name of account to use */
        !            20:     char       h_dir[PATHSIZE];        /* the directory to use */
        !            21:     double     h_weight;               /* the weighting for this node */
        !            22:     struct hostdef *h_next;    /* next one */
        !            23: };

unix.superglobalmegacorp.com

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