c-ipfs/include/ipfs/commands/req_log.h

24 lines
379 B
C
Raw Permalink Normal View History

2016-10-27 18:11:34 +00:00
#ifndef __COMMANDS_REQ_LOG_H__
#define __COMMANDS_REQ_LOG_H__
struct ReqLogEntry {
long start_time;
long end_time;
int active;
char* command;
struct Option** options;
struct Argument** args;
int id;
struct Request* req;
struct ReqLog* log;
};
struct ReqLog {
struct ReqLogEntry** requests;
int next_id;
//mutex lock;
long keep_duration;
};
#endif /* req_log_h */