AFPBridge/afpoptions.c
Stephen Heumann 350204f78a Switch to using two-character codes for options and parsing them in the zone name.
This allows more options, and it avoids having to manually specify the strings for all option combinations.
2017-04-22 15:39:02 -05:00

17 lines
376 B
C

#pragma noroot
#include "afpoptions.h"
/*
* These are option codes that can be used in the zone string, e.g.
* "AFP over TCP (LR,22)". Note that the zone string is limited to 32
* characters. With 2-character options, we can use up to six at once.
*/
AFPOptions afpOptions[] =
{
{"LR", fLargeReads},
{"22", fForceAFP22},
{"FS", fFakeSleep},
{0, 0}
};