]> arthur.barton.de Git - netatalk.git/blob - include/atalk/zip.h
Update NEWS
[netatalk.git] / include / atalk / zip.h
1 /*
2  * Copyright (c) 1990,1991 Regents of The University of Michigan.
3  * All Rights Reserved.
4  *
5  * Permission to use, copy, modify, and distribute this software and
6  * its documentation for any purpose and without fee is hereby granted,
7  * provided that the above copyright notice appears in all copies and
8  * that both that copyright notice and this permission notice appear
9  * in supporting documentation, and that the name of The University
10  * of Michigan not be used in advertising or publicity pertaining to
11  * distribution of the software without specific, written prior
12  * permission. This software is supplied as is without expressed or
13  * implied warranties of any kind.
14  *
15  *      Research Systems Unix Group
16  *      The University of Michigan
17  *      c/o Mike Clark
18  *      535 W. William Street
19  *      Ann Arbor, Michigan
20  *      +1-313-763-0525
21  *      netatalk@itd.umich.edu
22  */
23
24
25 #ifndef _ATALK_ZIP_H
26 #define _ATALK_ZIP_H 1
27
28 #ifndef NO_DDP
29
30 #include <netatalk/endian.h>
31
32 struct ziphdr {
33     u_int8_t    zh_op;
34     u_int8_t    zh_cnt;
35 #define zh_count        zh_cnt
36 #define zh_zero         zh_cnt
37 #define zh_flags        zh_cnt
38 };
39
40 struct zipreplent {
41     u_int16_t   zre_net;
42     u_int8_t    zre_zonelen;
43 };
44
45 #define ZIPOP_QUERY     1
46 #define ZIPOP_REPLY     2
47 #define ZIPOP_TAKEDOWN  3       /* XXX */
48 #define ZIPOP_BRINGUP   4       /* XXX */
49 #define ZIPOP_GNI       5
50 #define ZIPOP_GNIREPLY  6
51 #define ZIPOP_NOTIFY    7
52 #define ZIPOP_EREPLY    8
53 #define ZIPOP_GETMYZONE 7
54 #define ZIPOP_GETZONELIST 8
55 #define ZIPOP_GETLOCALZONES 9
56
57 #define ZIPGNI_INVALID  0x80
58 #define ZIPGNI_ONEZONE  0x20
59
60 #endif  /* NO_DDP */
61 #endif