Include <glob.h>.
authorhanda <handa>
Tue, 18 Oct 2005 01:30:32 +0000 (01:30 +0000)
committerhanda <handa>
Tue, 18 Oct 2005 01:30:32 +0000 (01:30 +0000)
commit0574b9cbd51f74500dc6678a8ecc039c5189d45b
treeed3095aef7563c8e0a85efbe3a35d5fcade7cd32
parent6c46281446b3041a5a85a560e0e0c3f9a175890d
Include <glob.h>.
(MAX_TIME): New macro.
(Masterisk): New variable.
(get_database_stream): Argument changed to (MDatabaseInfo *).
Callers changed.
(get_dir_info): Renamed from duplicate_dirname.  Callers changed.
(find_database): New function.
(update_database_list): New function.
(mdatabase__init): Initialize Masterisk.  Setup mdb_list by
calling update_database_list.
(mdatabase__check): New function.
(mdatabase_find): Use update_database and find_database.  Don't
handle MDatabaseHookFunc.
(mdatabase_list): Call update_database at first.
(mdatabase_define): Adjusted for the change of mdb->extra_info.
src/database.c