mirror of
https://github.com/sheumann/AFPBridge.git
synced 2024-08-31 19:29:13 +00:00
26 lines
508 B
C
26 lines
508 B
C
#ifndef ATIPMAPPING_H
|
|
#define ATIPMAPPING_H
|
|
|
|
#include <types.h>
|
|
#include <appletalk.h>
|
|
|
|
typedef struct ATIPMapping {
|
|
/* AppleTalk address/socket */
|
|
Word networkNumber; /* in network byte order */
|
|
Byte node;
|
|
Byte socket;
|
|
|
|
/* IP address/port */
|
|
LongWord ipAddr;
|
|
Word port;
|
|
|
|
/* Flags for AFP over TCP (defined in afpoptions.h) */
|
|
unsigned int flags;
|
|
} ATIPMapping;
|
|
|
|
extern struct ATIPMapping atipMapping;
|
|
|
|
LongWord DoLookupName(NBPLookupNameRec *commandRec);
|
|
|
|
#endif
|