#include <search_common.h>
It referes to a file entry on the remote servent, as identified by the parent results_set structure that contains this hit.
When a record is kept in a search window for display, it is put into a hash table and its `refcount' is incremented: since the parent structure can be dispatched to various searches, each record can be inserted in so many different hash tables (one per search).
Data Fields | |
| results_set_t * | results_set |
| Parent, containing record. | |
| gint | refcount |
| Number of hash tables it has been put to. | |
| record_magic_t | magic |
| Magic ID. | |
| gchar * | name |
| Filename (atom). | |
| gchar * | ext |
| File extension (atom). | |
| gchar * | utf8_name |
| Filename converted to UTF-8 (atom). | |
| const gchar * | charset |
| Detected charset of name (static const). | |
| filesize_t | size |
| Size of file, in bytes. | |
| guint32 | index |
| Index for GET command. | |
| gchar * | sha1 |
| SHA1 URN (binary form, atom). | |
| gchar * | xml |
| Optional XML data string (atom). | |
| gchar * | tag |
| Optional tag data string (atom). | |
| gchar * | info |
| Short version of tag (atom). | |
| gnet_host_vec_t * | alt_locs |
| Optional alternate locations for record. | |
| flag_t | flags |
| same flags as in gnet_record_t | |
|
|
Optional alternate locations for record.
|
|
|
Detected charset of name (static const).
|
|
|
File extension (atom).
|
|
|
same flags as in gnet_record_t
|
|
|
Index for GET command.
|
|
|
Short version of tag (atom).
|
|
|
Magic ID.
|
|
|
Filename (atom).
|
|
|
Number of hash tables it has been put to.
|
|
|
Parent, containing record.
|
|
|
SHA1 URN (binary form, atom).
|
|
|
Size of file, in bytes.
|
|
|
Optional tag data string (atom).
|
|
|
Filename converted to UTF-8 (atom).
|
|
|
Optional XML data string (atom).
|
1.3.6