2016-10-27 18:11:34 +00:00
|
|
|
//
|
|
|
|
// 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;
|
2016-11-10 13:28:51 +00:00
|
|
|
struct Command cmd;
|
2016-10-27 18:11:34 +00:00
|
|
|
struct Context* invoc_context;
|
|
|
|
//context rctx;
|
|
|
|
//map[string]Option optionDefs;
|
|
|
|
//map[string]interface{} values;
|
|
|
|
//ioReader stdin;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* request_h */
|