Adjusted makefiles
This commit is contained in:
parent
841c3f93cd
commit
8d82e8235b
20 changed files with 51 additions and 24 deletions
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
28
include/ipfs/commands/request.h
Normal file
28
include/ipfs/commands/request.h
Normal 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 */
|
Loading…
Add table
Add a link
Reference in a new issue