Exposed (this function was on the todo list)
int db_get_matching_block_ids(const char *name, prop_t *match, int propcount, blid_t *ids)
// places all ids matching a set of properties for the block name into array ids (can be assumed to be long enough) and returns the number of ids
Also exposed
int db_get_all_ids_matching_blockname(const char *blockname, blid_t *idarray )
this fills an array of every blockid that matches the given name.
Also exposed
blid_t db_blk_property_change(blid_t blk_id, const char* prop_name, const char* new_prop_value)
This returns the block_id that matches a given block id, except for changing 1 property to a different value.
They work fine, though as usual, I will still need to go back and do something more sophisticated with the array memory management.
Exposed (this function was on the todo list)
int db_get_matching_block_ids(const char *name, prop_t *match, int propcount, blid_t *ids)
// places all ids matching a set of properties for the block name into array ids (can be assumed to be long enough) and returns the number of idsAlso exposed
int db_get_all_ids_matching_blockname(const char *blockname, blid_t *idarray )
this fills an array of every blockid that matches the given name.Also exposed
blid_t db_blk_property_change(blid_t blk_id, const char* prop_name, const char* new_prop_value)
This returns the block_id that matches a given block id, except for changing 1 property to a different value.They work fine, though as usual, I will still need to go back and do something more sophisticated with the array memory management.