More code for storage
Pushing through on the ipfs block put use case. Building out the necessary code to write to the blockstore.
This commit is contained in:
parent
74a5afe169
commit
4626b69381
14 changed files with 217 additions and 26 deletions
|
@ -17,7 +17,7 @@ struct Block {
|
|||
* @param block a pointer to the struct Block that will be created
|
||||
* @returns true(1) on success
|
||||
*/
|
||||
int ipfs_blocks_block_new(unsigned char* data, size_t data_size, struct Block* block);
|
||||
int ipfs_blocks_block_new(unsigned char* data, size_t data_size, struct Block** block);
|
||||
|
||||
/***
|
||||
* Free resources used by the creation of a block
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue