Defined Constants

The AFTP API has a number of calls that take buffers as parameters. Each buffer is used by one or more entry points and has a required minimum size that is defined by a constant in the AFTP API header file. (On Microsoft® Windows NT® and Microsoft® Windows® 95, this header file is called APPFFTP.H.)

The following table provides information about these buffer parameters.

Entry point Buffer name Constant name Value
aftp_dir_open path_buffer
_length
AFTP_FILE_NAME
_SIZE
512
aftp_dir_read dir_entry_size AFTP_FILE_NAME
_SIZE
512
aftp_extract_destination destination
_size
AFTP_FQLU_NAME
_SIZE
64
aftp_extract_mode
_name
mode_name
_size
AFTP_MODE_NAME
_SIZE
8
aftp_extract_partner_lu
_name
partner_LU
_name_size
AFTP_FQLU_NAME
_SIZE
64
aftp_extract_password password_size AFTP_PASSWORD
_SIZE
10
aftp_extract_tp_name tp_name_size AFTP_TP_NAME
_SIZE
64
aftp_extract_userid userid_size AFTP_USERID_SIZE 10
aftp_format_error error_str_size AFTP_MESSAGE
_SIZE
2048
aftp_get_data_type
_string
data_type_size AFTP_DATA_TYPE
_SIZE
64
aftp_get_date_mode
_string
date_mode_size AFTP_DATE_MODE
_SIZE
64
aftp_get_record_format
_string
record_format
_size
AFTP_RECORD
_FORMAT_SIZE
64
aftp_get_write_mode
_string
write_mode_size AFTP_WRITE_MODE
_SIZE
64
aftp_local_dir_open path_buffer
_length
AFTP_FILE_NAME
_SIZE
512
aftp_local_dir_read dir_entry_size AFTP_FILE_NAME
_SIZE
512
aftp_query_local
_system_info
system_info
_size
AFTP_SYSTEM_INFO
_SIZE
512
aftp_query_system_info system_info
_size
AFTP_SYSTEM_INFO
_SIZE
512