assh/assh_map.h header reference
Description
Associative container
Header inclusion
Members
Types
- struct assh_map_entry_s
- typedef [...] assh_map_id_t
Functions
- assh_map_entry_s * assh_map_insert(assh_map_entry_s **root, assh_map_entry_s *item)
- void assh_map_iter(assh_map_entry_s *root, void *ctx, void (*iter)(struct ::assh_map_entry_s *,void *) )
- assh_map_entry_s * assh_map_lookup(assh_map_entry_s **root, assh_map_id_t id, assh_map_entry_s ***parent)
- void assh_map_remove(assh_map_entry_s **parent, assh_map_entry_s *item)
- assh_status_t assh_map_remove_id(assh_map_entry_s **root, assh_map_id_t id)
Members detail
assh_map_entry_s * assh_map_insert(assh_map_entry_s **root, assh_map_entry_s *item)
This function is declared in assh/assh_map.h source file, line 49.
void assh_map_iter(assh_map_entry_s *root, void *ctx, void (*iter)(struct ::assh_map_entry_s *,void *) )
This function is declared in assh/assh_map.h source file, line 69.
assh_map_entry_s * assh_map_lookup(assh_map_entry_s **root, assh_map_id_t id, assh_map_entry_s ***parent)
This function is declared in assh/assh_map.h source file, line 54.
void assh_map_remove(assh_map_entry_s **parent, assh_map_entry_s *item)
This function is declared in assh/assh_map.h source file, line 59.
assh_status_t assh_map_remove_id(assh_map_entry_s **root, assh_map_id_t id)
This function is declared in assh/assh_map.h source file, line 64.
This struct is for internal use only.
This struct is declared in assh/assh_map.h source file, line 40.
Associative container entry
Field | Description |
---|---|
assh_map_entry_s * link[2]; | |
assh_map_id_t id; |
This typedef is for internal use only.
This typedef is declared in assh/assh_map.h source file, line 36.
Associative container key type