Initial implementation of sdb_list()