netatalk: zip.h Source File

netatalk 4.5.0
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
etc/atalkd/zip.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 1990,1993 Regents of The University of Michigan.
3 * All Rights Reserved. See COPYRIGHT.
4 */
5
6#ifndef ATALKD_ZIP_H
7#define ATALKD_ZIP_H 1
8
9#include <sys/types.h>
10
11 struct ziptab {
12 struct ziptab *zt_next,
13 *zt_prev;
14 unsigned char zt_len;
15 char *zt_name;
16 unsigned char *zt_bcast;
17 struct list *zt_rt;
18};
19
20 extern struct ziptab *ziptab, *ziplast;
21struct ziptab *newzt(const int, const char *);
22
23int addzone(struct rtmptab *, int, char *);
24int zip_getnetinfo(struct interface *);
25int zip_packet(struct atport *ap, struct sockaddr_at *from, char *data,
26 int len);
27
28#endif /* atalkd/zip.h */
addzone
int addzone(struct rtmptab *, int, char *)
Definition zip.c:1063
newzt
struct ziptab * newzt(const int, const char *)
Definition zip.c:1006
zip_getnetinfo
int zip_getnetinfo(struct interface *)
Definition zip.c:952
zip_packet
int zip_packet(struct atport *ap, struct sockaddr_at *from, char *data, int len)
Definition zip.c:85
data
#define data
Definition hash.c:38
atport
Definition atserv.h:8
interface
Definition interface.h:11
list
Definition etc/atalkd/list.h:6
rtmptab
Definition etc/atalkd/rtmp.h:30
sockaddr_at
Definition at.h:88
ziptab
Definition etc/atalkd/zip.h:11
ziptab::zt_len
unsigned char zt_len
Definition etc/atalkd/zip.h:14
ziptab::zt_name
char * zt_name
Definition etc/atalkd/zip.h:15
ziptab::zt_bcast
unsigned char * zt_bcast
Definition etc/atalkd/zip.h:16
ziptab::zt_next
struct ziptab * zt_next
Definition etc/atalkd/zip.h:12
ziptab::zt_rt
struct list * zt_rt
Definition etc/atalkd/zip.h:17
ziptab::zt_prev
struct ziptab * zt_prev
Definition etc/atalkd/zip.h:13
ziplast
struct ziptab * ziplast
Definition zip.c:41