2017-03-18 23:44:11 +00:00
|
|
|
#ifndef ATIPMAPPING_H
|
|
|
|
#define ATIPMAPPING_H
|
|
|
|
|
2017-04-02 05:55:27 +00:00
|
|
|
#include <types.h>
|
2017-04-09 04:40:41 +00:00
|
|
|
#include <appletalk.h>
|
2017-04-02 05:55:27 +00:00
|
|
|
|
2017-03-18 23:44:11 +00:00
|
|
|
typedef struct ATIPMapping {
|
|
|
|
/* AppleTalk address/socket */
|
|
|
|
Word networkNumber; /* in network byte order */
|
|
|
|
Byte node;
|
|
|
|
Byte socket;
|
|
|
|
|
|
|
|
/* IP address/port */
|
|
|
|
LongWord ipAddr;
|
|
|
|
Word port;
|
2017-04-15 03:16:55 +00:00
|
|
|
|
|
|
|
/* Flags for AFP over TCP (defined in afpoptions.h) */
|
|
|
|
unsigned int flags;
|
2017-03-18 23:44:11 +00:00
|
|
|
} ATIPMapping;
|
|
|
|
|
|
|
|
extern struct ATIPMapping atipMapping;
|
|
|
|
|
2017-04-10 01:56:19 +00:00
|
|
|
LongWord DoLookupName(NBPLookupNameRec *commandRec);
|
2017-04-09 04:40:41 +00:00
|
|
|
|
2017-03-18 23:44:11 +00:00
|
|
|
#endif
|