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
475 B
C
16 lines
475 B
C
#pragma noroot
|
|
|
|
#include "afpoptions.h"
|
|
|
|
AFPOptions afpOptions[] =
|
|
{
|
|
/*12345678901234567890123456789012 <- max length = 32 */
|
|
{"AFP over TCP", 0},
|
|
{"AFP over TCP (LargeReads)", fLargeReads},
|
|
{"AFP over TCP (AFP2.2)", fForceAFP22},
|
|
{"AFP over TCP (LargeReads,AFP2.2)", fLargeReads | fForceAFP22},
|
|
{"AFP over TCP (AFP2.2,FakeSleep)", fForceAFP22 | fFakeSleep},
|
|
{"AFP over TCP (LR,AFP2.2,FS)", fLargeReads | fForceAFP22 | fFakeSleep},
|
|
{0, 0}
|
|
};
|