c-ipfs/core/builder.h

30 lines
584 B
C

//
// 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 */