Program Listing for File ostree_node.h

Return to documentation for file (rcsw/ds/ostree_node.h)

#pragma once

/*******************************************************************************
 * Includes
 ******************************************************************************/
#include "rcsw/ds/ostree.h"

/*******************************************************************************
 * Constant Definitions
 ******************************************************************************/
enum ostree_fixup_type {
    ekOSTREE_FIXUP_INSERT,
    ekOSTREE_FIXUP_DELETE,
};

/*******************************************************************************
 * RCSW Private Functions
 ******************************************************************************/
BEGIN_C_DECLS

RCSW_LOCAL void ostree_count_fixup(const struct bstree* tree,
                        struct ostree_node * node,
                        enum ostree_fixup_type type);
RCSW_LOCAL void ostree_node_update_count(struct ostree_node* node);

END_C_DECLS

/* \endcond */