c-ipfs/include/ipfs/commands/req_log.h
2016-12-05 07:12:23 -05:00

23 lines
379 B
C

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