mirror of
https://github.com/sheumann/AFPBridge.git
synced 2024-06-09 14:29:28 +00:00
78a300f799
This tells the server to keep the session alive (typically for at least several hours) without sending or expecting tickles. This is useful in cases where our run queue procedure is not run regularly or at all, e.g. in text-mode shells. The implementation here is geared toward compatibility with Netatalk and differs from Apple's published standards in a couple ways. It may or may not work with other servers.
16 lines
266 B
C
16 lines
266 B
C
#ifndef AFPOPTIONS_H
|
|
#define AFPOPTIONS_H
|
|
|
|
#define fLargeReads 0x0001
|
|
#define fForceAFP22 0x0002
|
|
#define fFakeSleep 0x0004
|
|
|
|
typedef struct AFPOptions {
|
|
char *zoneString;
|
|
unsigned int flags;
|
|
} AFPOptions;
|
|
|
|
extern AFPOptions afpOptions[];
|
|
|
|
#endif
|