Chapter 8. DirMaster

Table of Contents
Introduction
Methods
 

  • Dark Helmet: I am your father's son's uncle's newphew's cousin's former roommate.

  • Lone Star: So what does that make us?

  • Dark Helmet: Absolutely nothing.

 
-- Dark Helmet and Lone Star, Spaceballs  

Introduction

DirMaster is a class that's able to handle dirs and to store in memory their contents.

Main features of this class are:

To inizialize a new instance, simply call afc_dirmaster_new() and to destroy it, call the afc_dirmaster_delete()

To browse an already afc_dirmaster_scan_dir() scanned dir, you can use the usual APIs for double linked list, with calls like afc_dirmaster_first() afc_dirmaster_succ() and so on