root/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/Settings.h
// Settings.h

#ifndef USERLAND_FS_SETTINGS_H
#define USERLAND_FS_SETTINGS_H

#include <SupportDefs.h>

struct driver_settings;
struct driver_parameter;
struct IOCtlInfo;

// Settings
class Settings {
public:
                                                                Settings();
                                                                ~Settings();

                        status_t                        SetTo(const char *fsName);
                        void                            Unset();

                        const IOCtlInfo*        GetIOCtlInfo(int command) const;

                        void                            Dump() const;

private:
                        status_t                        _Init(const driver_settings *settings,
                                                                        const driver_parameter *fsParams);

private:
                        struct IOCtlInfoMap;

                        IOCtlInfoMap*           fIOCtlInfos;
};

#endif  // USERLAND_FS_SETTINGS_H