many changes in layout, addition of mbedtls library for RSA encryption.
This commit is contained in:
parent
9c309ebbc6
commit
e1c1a7ffbf
174 changed files with 87855 additions and 67 deletions
23
include/ipfs/cmd/ipfs/init.h
Normal file
23
include/ipfs/cmd/ipfs/init.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
/**
|
||||
* Initialize an IPFS repository
|
||||
*/
|
||||
#ifndef __CMD_IPFS_INIT_H__
|
||||
#define __CMD_IPFS_INIT_H__
|
||||
|
||||
#include "ipfs/commands/command.h"
|
||||
|
||||
/***
|
||||
* Returns a command structure customized for the init command
|
||||
* @param command the struct to fill
|
||||
* @returns 0 on failure, otherwise 1
|
||||
*/
|
||||
int get_init_command(struct Command* command);
|
||||
|
||||
/***
|
||||
* Uninitializes all the dynamic memory caused by get_init_command
|
||||
* @param command the struct
|
||||
* @returns 0 on failure, otherwise 1
|
||||
*/
|
||||
int uninit_command(struct Command* command);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue