c-ipfs/include/ipfs/core/builder.h
2017-04-20 17:56:03 -05:00

22 lines
497 B
C

#ifndef __CORE_BUILDER_H__
#define __CORE_BUILDER_H__
#include <stdio.h>
#include "ipfs/commands/context.h"
#include "ipfs/repo/config/config.h"
#include "ipfs/core/ipfs_node.h"
struct BuildCfg {
int online;
// ExtraOpts map[string]bool
int permanent;
int nil_repo;
//struct RoutingOption routing;
//struct HostOption host;
//struct Repo repo;
};
int ipfs_core_builder_new_node(struct Context* context, struct BuildCfg* build_cfg, struct IpfsNode* buildConfig);
#endif /* builder_h */