afc_dirmaster_last

Name

afc_dirmaster_last  -- Get the last element in the list

Synopsis

FileInfo * afc_dirmaster_last ( DirMaster * dm );

Description

This function returns the last element inside the current DirMaster. If the list is empty, then a NULL value is returned.

Inputs

dm

Pointer to a valid DirMaster instance

Result

a valid pointer to the last FileInfo structre in the list, or NULL if the DirMaster is empty.

See Also