Structs§
- FPAccess
Rights - AFP Directory Access Rights bitmap. This represents the access privileges for a single category (owner, group, or everyone). The full Access Rights parameter is a 4-byte value consisting of:
- FPAdd
Comment - FPAdd
Icon - FPByte
Range Lock - FPByte
Range Lock Flags - FPClose
Fork - FPCopy
File - FPCopyFile: server-side copy of a file’s data and resource forks into a destination directory.
- FPCreate
Dir - FPCreate
File - FPDelete
- FPDirectory
Bitmap - FPEnumerate
- FPFile
Attributes - FPFile
Bitmap - FPFlush
- FPGet
Comment - FPGet
File DirParms - FPGet
Fork Parms - FPGet
Icon - FPGet
Icon Info - FPGet
Srvr Info - FPGet
Srvr Parms - FPGet
VolParms - FPLogin
- FPLogin command - authentication request from client to server
- FPMove
AndRename - FPMoveAndRename: atomically moves and/or renames a file or directory.
- FPOpenDT
- FPOpen
Fork - FPRead
- FPRemove
Comment - FPRename
- FPRename: renames a file or directory within its current parent directory.
- FPSet
DirParms - FPSet
File DirParms - FPSet
Fork Parms - Indicates a request from a client to either increase or decrease the size of a fork on disk. If neither data fork length or resource fork length are set, this command is a no-op but a success code should still be returned to the client.
- FPVolume
- FPVolume
Bitmap - Bitmap of requested volume information. One or more of these can be set in a request by FPGetVolParms or during FPOpenVol. The response should be packed in the same order as the bits are defined below. E.g. If ATTRIBUTES and CREATION_DATE are set, the first 2 bytes of the payload will be the attributes flag, and the next 4 bytes are the creation date.
- FPWrite
- MacString
- A utility type for handling Macintosh Pascal strings (1-byte length prefix followed by MacRoman encoded data).
Enums§
- AfpError
- AFP Error Codes. For AppleTalk implementations these result codes are passed via the ASP CmdResult field (i.e the 4 user bytes of an ATP packet)
- AfpUam
- AfpVersion
- Create
Flag - FPLogin
Auth - Authentication payload for FPLogin, varies by UAM
- File
Type - Fork
Type - Path
Type - Volume
Signature
Constants§
- AFP_
CMD_ ADD_ APPL - AFP_
CMD_ ADD_ COMMENT - AFP_
CMD_ ADD_ ICON - AFP_
CMD_ BYTE_ RANGE_ LOCK - AFP Command Codes
- AFP_
CMD_ CLOSE_ DT - AFP_
CMD_ CLOSE_ FORK - AFP_
CMD_ CLOSE_ VOL - AFP_
CMD_ COPY_ FILE - AFP_
CMD_ CREATE_ DIR - AFP_
CMD_ CREATE_ FILE - AFP_
CMD_ DELETE - AFP_
CMD_ ENUMERATE - AFP_
CMD_ FLUSH - AFP_
CMD_ GET_ COMMENT - AFP_
CMD_ GET_ FILE_ DIR_ PARMS - AFP_
CMD_ GET_ FORK_ PARMS - AFP_
CMD_ GET_ ICON - AFP_
CMD_ GET_ SRVR_ MSG - AFP_
CMD_ GET_ SRVR_ PARMS - AFP_
CMD_ GET_ VOL_ PARMS - AFP_
CMD_ GTICNINFO - AFP_
CMD_ LOGIN - AFP_
CMD_ LOGOUT - AFP_
CMD_ MOVE_ AND_ RENAME - AFP_
CMD_ OPEN_ DT - AFP_
CMD_ OPEN_ FORK - AFP_
CMD_ OPEN_ VOL - AFP_
CMD_ READ - AFP_
CMD_ REMOVE_ COMMENT - AFP_
CMD_ RENAME - AFP_
CMD_ SET_ DIR_ PARMS - AFP_
CMD_ SET_ FILE_ DIR_ PARMS - AFP_
CMD_ SET_ FORK_ PARMS - AFP_
CMD_ WRITE