afc_dirmaster_add_item

Name

afc_dirmaster_add_item  -- Adds a new item to the DirMaster

Synopsis

FileInfo * afc_dirmaster_add_item ( DirMaster * dm, char * fullname, char * file_name, struct stat * descr );

Description

This function adds a new file/dir to the current DirMaster list. It is a very low level function that should only be used in special cases.

Inputs

dm

Pointer to a valid DirMaster instance

fullname

The complite path and file name of the file/dir you intend to add.

file_name

Just the file name of the file you intend to add.

descr

The stat structure filled with the info of the file you intend to add. This structure must be filled before calling this function.

Result

See Also