AFPBridge/afpoptions.h
Stephen Heumann c4286a024e Add options to give somewhat better compatibility with the AFP server in OS X 10.5.
*The OS X server doesn't support ProDOS-type file type info, so trying to set it will give an error. This normally causes GS/OS to give an error when creating a file. There is now an option to ignore the error and proceed with creating the file, although the file type still won't be set.

*The OS X server seems to restrict each write operation to a small size based on the ASP quantum, so there is now an option for this. Using this option means we may write less than requested, but the AppleShare FST can detect this and proceed to write the rest.
2017-04-22 18:46:26 -05:00

18 lines
366 B
C

#ifndef AFPOPTIONS_H
#define AFPOPTIONS_H
#define fLargeReads 0x0001
#define fForceAFP22 0x0002
#define fFakeSleep 0x0004
#define fIgnoreFileTypeErrors 0x0008
#define fLargeWrites 0x0010
typedef struct AFPOptions {
char *optString;
unsigned int flag;
} AFPOptions;
extern AFPOptions afpOptions[];
#endif