netatalk  4.4.0dev
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
atserv.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 1990,1992 Regents of The University of Michigan.
3 * All Rights Reserved. See COPYRIGHT.
4 */
5#ifndef ATALKD_ATSERV_H
6#define ATALKD_ATSERV_H 1
7
8struct atport {
9 int ap_fd;
10 struct atport *ap_next;
12 unsigned char ap_port;
13 int (*ap_packet)(struct atport *ap, struct sockaddr_at *from, char *data,
14 int len);
15};
16
17struct atserv {
18 char *as_name;
19 unsigned char as_port; /* Used as a fall back */
20 int (*as_packet)(struct atport *ap, struct sockaddr_at *from, char *data,
21 int len);
22};
23
24#endif
#define data
Definition hash.c:37
Definition atserv.h:8
unsigned char ap_port
Definition atserv.h:12
int(* ap_packet)(struct atport *ap, struct sockaddr_at *from, char *data, int len)
Definition atserv.h:13
struct atport * ap_next
Definition atserv.h:10
int ap_fd
Definition atserv.h:9
struct interface * ap_iface
Definition atserv.h:11
Definition atserv.h:17
int(* as_packet)(struct atport *ap, struct sockaddr_at *from, char *data, int len)
Definition atserv.h:20
unsigned char as_port
Definition atserv.h:19
char * as_name
Definition atserv.h:18
Definition interface.h:11
Definition at.h:88