afc_fstree_add

Name

afc_fstree_add  -- Adds a "file" to the FST

Synopsis

int afc_fstree_add ( FSTree * fst, char * name, void * data );

Description

This function adds a "file" to the FST. A "file", in the FSTree philosophy is anything different from a folder. You should provide also some data, to be stored inside this file node in the FST.

Inputs

fst

Pointer to a valid FSTree instance.

name

Name of the file to create.

data

Whatever you want to add to your "file" node.

Result

Note

See Also