DEFINITION MODULE FSUINI;

        (************************************************************)
        (*                                                          *)
        (*                  PM Setup for FtpServer                  *)
        (*   This module opens and closes the FtpServer INI file    *)
        (*   The actual INI file operations are done by RINIData    *)
        (*                                                          *)
        (*      Started:        21 January 2002                     *)
        (*      Last edited:    8 October 2017                      *)
        (*      Status:         OK                                  *)
        (*                                                          *)
        (************************************************************)


PROCEDURE SetINIFileName (name: ARRAY OF CHAR;  TNImode: BOOLEAN);

    (* Specifies the name of the file to be opened by OpenINIFile. *)

PROCEDURE OpenINIFile;

    (* Opens the default INI file. *)

PROCEDURE CloseINIFile;

    (* Closes the currently open INI file. *)

PROCEDURE IsMultiFileMode(): BOOLEAN;

    (* Returns TRUE iff we are currently using multiple INI files. *)

PROCEDURE SetHashMax (value: CARDINAL);

    (* Sets the number of extra INI files to be used for the "large     *)
    (* number of users" case.  If value=0 then we revert to the default *)
    (* of using a single INI file.  Otherwise, it is recommended that   *)
    (* value be a prime number.                                         *)

PROCEDURE OpenINIForUser (name: ARRAY OF CHAR);

    (* Opens the INI file that contains the data for the named user. *)

END FSUINI.

