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
|
@ -6,7 +6,7 @@
|
|||
// Copyright © 2016 JMJAtlanta. All rights reserved.
|
||||
//
|
||||
|
||||
#include "builder.h"
|
||||
#include "ipfs/core/builder.h"
|
||||
|
||||
int core_builder_new_node(struct Context* context, struct BuildCfg* build_cfg, struct IpfsNode* buildConfig) {
|
||||
// TODO: Implement this methods
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
//
|
||||
// builder.h
|
||||
// c-ipfs
|
||||
//
|
||||
// Created by John Jones on 10/27/16.
|
||||
// Copyright © 2016 JMJAtlanta. All rights reserved.
|
||||
//
|
||||
|
||||
#ifndef __CORE_BUILDER_H__
|
||||
#define __CORE_BUILDER_H__
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "../commands/context.h"
|
||||
#include "../repo/config/config.h"
|
||||
|
||||
struct BuildCfg {
|
||||
int online;
|
||||
// ExtraOpts map[string]bool
|
||||
int permanent;
|
||||
int nil_repo;
|
||||
//struct RoutingOption routing;
|
||||
//struct HostOption host;
|
||||
//struct Repo repo;
|
||||
};
|
||||
|
||||
int core_builder_new_node(struct Context* context, struct BuildCfg* build_cfg, struct IpfsNode* buildConfig);
|
||||
|
||||
#endif /* builder_h */
|
|
@ -1,21 +0,0 @@
|
|||
//
|
||||
// ipfs_node.h
|
||||
// c-ipfs
|
||||
//
|
||||
// Created by John Jones on 10/27/16.
|
||||
// Copyright © 2016 JMJAtlanta. All rights reserved.
|
||||
//
|
||||
|
||||
#ifndef __CORE_IPFS_NODE_H__
|
||||
#define __CORE_IPFS_NODE_H__
|
||||
|
||||
struct IpfsNode {
|
||||
//struct PeerId identity;
|
||||
//struct Repo repo;
|
||||
//struct Pinner pinning; // an interface
|
||||
//struct Mount** mounts;
|
||||
//struct PrivKey* private_key;
|
||||
// TODO: Add more here
|
||||
};
|
||||
|
||||
#endif /* ipfs_node_h */
|
Loading…
Add table
Add a link
Reference in a new issue