-/* flags that alter volume behaviour. */
-#define AFPVOL_A2VOL (1 << 5) /* prodos volume */
-#define AFPVOL_CRLF (1 << 6) /* cr/lf translation */
-#define AFPVOL_NOADOUBLE (1 << 7) /* don't create .AppleDouble by default */
-#define AFPVOL_RO (1 << 8) /* read-only volume */
-#define AFPVOL_MSWINDOWS (1 << 9) /* deal with ms-windows yuckiness.
- this is going away. */
-#define AFPVOL_NOHEX (1 << 10) /* don't do :hex translation */
-#define AFPVOL_USEDOTS (1 << 11) /* use real dots */
-#define AFPVOL_LIMITSIZE (1 << 12) /* limit size for older macs */
-#define AFPVOL_MAPASCII (1 << 13) /* map the ascii range as well */
-#define AFPVOL_DROPBOX (1 << 14) /* dropkludge dropbox support */
-
-/* FPGetSrvrParms options */
-#define AFPSRVR_CONFIGINFO (1 << 0)
-#define AFPSRVR_PASSWD (1 << 7)
-
-/* handle casefolding */
-#define AFPVOL_MTOUUPPER (1 << 0)
-#define AFPVOL_MTOULOWER (1 << 1)
-#define AFPVOL_UTOMUPPER (1 << 2)
-#define AFPVOL_UTOMLOWER (1 << 3)
-#define AFPVOL_UMLOWER (AFPVOL_MTOULOWER | AFPVOL_UTOMLOWER)
-#define AFPVOL_UMUPPER (AFPVOL_MTOUUPPER | AFPVOL_UTOMUPPER)
-#define AFPVOL_UUPPERMLOWER (AFPVOL_MTOUUPPER | AFPVOL_UTOMLOWER)
-#define AFPVOL_ULOWERMUPPER (AFPVOL_MTOULOWER | AFPVOL_UTOMUPPER)
-
-#define MSWINDOWS_BADCHARS "\\/<>*?|\""
-#define MSWINDOWS_CODEPAGE "maccode.iso8859-1"
-
-#define AFPVOLSIG_FLAT 0x0001 /* flat fs */
-#define AFPVOLSIG_FIX 0x0002 /* fixed ids */
-#define AFPVOLSIG_VAR 0x0003 /* variable ids */
-#define AFPVOLSIG_DEFAULT AFPVOLSIG_FIX
-
-/* volume attributes */
-#define VOLPBIT_ATTR_RO (1 << 0)
-#define VOLPBIT_ATTR_PASSWD (1 << 1)
-#define VOLPBIT_ATTR_FILEID (1 << 2)
-#define VOLPBIT_ATTR_CATSEARCH (1 << 3)
-#define VOLPBIT_ATTR_BLANKACCESS (1 << 4)
-
-#define VOLPBIT_ATTR 0
-#define VOLPBIT_SIG 1
-#define VOLPBIT_CDATE 2
-#define VOLPBIT_MDATE 3
-#define VOLPBIT_BDATE 4
-#define VOLPBIT_VID 5
-#define VOLPBIT_BFREE 6
-#define VOLPBIT_BTOTAL 7
-#define VOLPBIT_NAME 8
-/* handle > 4GB volumes */
-#define VOLPBIT_XBFREE 9
-#define VOLPBIT_XBTOTAL 10
-#define VOLPBIT_BSIZE 11 /* block size */