get_folder_uids


Description:

public int get_folder_uids (string folder_name, string? sort_by, string? collate, HashTable<string,uint32> hash) throws Error

Fills hash with uid->GUINT_TO_POINTER (flag).

Use pstring_free to free the keys of the hash.

Parameters:

this

a DB

folder_name

full name of the folder

sort_by

optional ORDER BY clause (without the "ORDER BY" prefix)

collate

optional collate function name to use

hash

a hash table to fill

Returns:

0 on success, -1 on error