Adjusted makefiles

This commit is contained in:
John Jones 2016-11-07 16:29:30 -05:00
parent 841c3f93cd
commit 8d82e8235b
20 changed files with 51 additions and 24 deletions

View file

@ -5,8 +5,8 @@
#ifndef __COMMANDS_COMMAND_H__
#define __COMMANDS_COMMAND_H__
#include "argument.h"
#include "request.h"
#include "ipfs/commands/argument.h"
#include "ipfs/commands/request.h"
#include "command_option.h"
struct HelpText {

View file

@ -9,6 +9,8 @@
#ifndef __COMMANDS_COMMAND_OPTION_H__
#define __COMMANDS_COMMAND_OPTION_H__
#include <stdint.h>
enum Kind { invalid, boolean, integer, unsignedInt, decimal, str };
struct CommandOption {

View file

@ -0,0 +1,28 @@
//
// request.h
// c-ipfs
//
// Created by John Jones on 10/26/16.
// Copyright © 2016 JMJAtlanta. All rights reserved.
//
#ifndef __COMMANDS_REQUEST_H__
#define __COMMANDS_REQUEST_H__
#include "context.h"
#include "command.h"
struct Request {
char* path;
//optmap options;
char* arguments;
//file[] files;
struct Command* cmd;
struct Context* invoc_context;
//context rctx;
//map[string]Option optionDefs;
//map[string]interface{} values;
//ioReader stdin;
};
#endif /* request_h */