diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-12-04 17:14:49 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-12-09 15:07:59 +0100 |
commit | a0a49e530b269679695daa6014bfade0b36970e1 (patch) | |
tree | 30595221c468f55a41964b14ee71858c3e2dee9b /libpager | |
parent | 6204a717fc63891839faefda75e95a364ec0434e (diff) |
libfshelp: use a hash table in get-identity.c
Currently fshelp_get_identity uses ports_class_iterate to de-duplicate
the identity ports. Use a hash table instead.
* libfshelp/get-identity.c (struct idspec): Remove field fileno.
(struct idspec): Add field id_hashloc.
(id_clean): New function.
(id_initialize): Use id_clean as cleanup function for idclass.
(fshelp_get_identity): Use a hash table to de-duplicate the identity
ports.
Diffstat (limited to 'libpager')
0 files changed, 0 insertions, 0 deletions