Index

Package: Configuration

Description

package Allegro.Configuration is
Allegro 5.0.9 - Configuration routines

Types

Allegro_Config

type Allegro_Config is limited private;

A_Allegro_Config

type A_Allegro_Config is access all Allegro_Config;

Allegro_Config_Section

type Allegro_Config_Section is limited private;

A_Allegro_Config_Section

type A_Allegro_Config_Section is access all Allegro_Config_Section;

Allegro_Config_Entry

type Allegro_Config_Entry is limited private;

A_Allegro_Config_Entry

type A_Allegro_Config_Entry is access all Allegro_Config_Entry;

Subprograms & Entries

Al_Create_Config

function Al_Create_Config return A_Allegro_Config;

Al_Destroy_Config

procedure Al_Destroy_Config
( config: in out A_Allegro_Config );

Al_Load_Config_File

function Al_Load_Config_File
( filename: String ) return A_Allegro_Config;

Al_Load_Config_File_f

function Al_Load_Config_File_f
( file: A_Allegro_File ) return A_Allegro_Config;

Al_Save_Config_File

function Al_Save_Config_File
( filename: String;
config: A_Allegro_Config ) return Boolean;

Al_Save_Config_File_f

function Al_Save_Config_File_f
( file: A_Allegro_File;
config: A_Allegro_Config ) return Boolean;

Al_Add_Config_Section

procedure Al_Add_Config_Section
( config: A_Allegro_Config;
name: String );

Al_Add_Config_Comment

procedure Al_Add_Config_Comment
( config: A_Allegro_Config;
section: String;
comment: String );

Al_Get_Config_Value

function Al_Get_Config_Value
( config: A_Allegro_Config;
section: String;
key: String ) return String;

Al_Set_Config_Value

procedure Al_Set_Config_Value
( config: A_Allegro_Config;
section: String;
key: String;
value: String );

Al_Get_First_Config_Section

function Al_Get_First_Config_Section
( config: A_Allegro_Config;
iterator: access A_Allegro_Config_Section ) return String;

Al_Get_Next_Config_Section

function Al_Get_Next_Config_Section
( iterator: access A_Allegro_Config_Section ) return String;

Al_Get_First_Config_Entry

function Al_Get_First_Config_Entry
( config: A_Allegro_Config;
section: String;
iterator: access A_Allegro_Config_Entry ) return String;

Al_Get_Next_Config_Entry

function Al_Get_Next_Config_Entry
( iterator: access A_Allegro_Config_Entry ) return String;

Al_Merge_Config

function Al_Merge_Config
( cfg1, cfg2: A_Allegro_Config ) return A_Allegro_Config;

Al_Merge_Config_Into

procedure Al_Merge_Config_Into
( master: A_Allegro_Config;
add: A_Allegro_Config );