netatalk: atserv.h Source File

netatalk 4.5.1
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
8 struct atport {
9 int ap_fd;
10 struct atport *ap_next;
11 struct interface *ap_iface;
12 unsigned char ap_port;
13 int (*ap_packet)(struct atport *ap, struct sockaddr_at *from, char *data,
14 int len);
15};
16
17 struct 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
data
#define data
Definition hash.c:38
atport
Definition atserv.h:8
atport::ap_port
unsigned char ap_port
Definition atserv.h:12
atport::ap_packet
int(* ap_packet)(struct atport *ap, struct sockaddr_at *from, char *data, int len)
Definition atserv.h:13
atport::ap_next
struct atport * ap_next
Definition atserv.h:10
atport::ap_fd
int ap_fd
Definition atserv.h:9
atport::ap_iface
struct interface * ap_iface
Definition atserv.h:11
atserv
Definition atserv.h:17
atserv::as_packet
int(* as_packet)(struct atport *ap, struct sockaddr_at *from, char *data, int len)
Definition atserv.h:20
atserv::as_port
unsigned char as_port
Definition atserv.h:19
atserv::as_name
char * as_name
Definition atserv.h:18
interface
Definition interface.h:11
sockaddr_at
Definition at.h:88