39ee82dad4d4fa61e3ed074d191afc6a9b82e249Timo Sirainen /* root node isn't part of the real mailbox tree. its name is "" and
39ee82dad4d4fa61e3ed074d191afc6a9b82e249Timo Sirainen it has no siblings */
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen /* guid_128_t => struct dsync_mailbox_node */
678d0463849ba777106eb7875f27db07a5d8e3dfTimo Sirainen HASH_TABLE(uint8_t *, struct dsync_mailbox_node *) name128_hash;
678d0463849ba777106eb7875f27db07a5d8e3dfTimo Sirainen HASH_TABLE(uint8_t *, struct dsync_mailbox_node *) name128_remotesep_hash;
678d0463849ba777106eb7875f27db07a5d8e3dfTimo Sirainen HASH_TABLE(uint8_t *, struct dsync_mailbox_node *) guid_hash;
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainenvoid dsync_mailbox_tree_build_name128_hash(struct dsync_mailbox_tree *tree);
39ee82dad4d4fa61e3ed074d191afc6a9b82e249Timo Sirainenint dsync_mailbox_node_name_cmp(struct dsync_mailbox_node *const *n1,
39ee82dad4d4fa61e3ed074d191afc6a9b82e249Timo Sirainenvoid dsync_mailbox_tree_node_attach(struct dsync_mailbox_node *node,
39ee82dad4d4fa61e3ed074d191afc6a9b82e249Timo Sirainenvoid dsync_mailbox_tree_node_detach(struct dsync_mailbox_node *node);
39ee82dad4d4fa61e3ed074d191afc6a9b82e249Timo Sirainendsync_mailbox_tree_dup(const struct dsync_mailbox_tree *src);