We don't want to include the same file several times in a reply (for example, once because it matches an URN query and once because the file name matches). So we keep track of what has been added in `found_indices'. The file index is used as the key.
Data Fields | |
| GHashTable * | found_indices |
| GSList * | files |
| List of shared_file_t that match. | |
| gint | found |
|
|
List of shared_file_t that match.
|
|
|
|
|
|
|
1.3.6