初步确认future-promise的异步调用机制。目录和cmake待整理。

This commit is contained in:
zhengchao
2018-08-14 19:44:34 +08:00
parent 900dc5c7ba
commit c43a2e86a3
65 changed files with 18580 additions and 90 deletions

17
src/proxy.h Normal file
View File

@@ -0,0 +1,17 @@
#ifndef PROXY_H
#define PROXY_H
#include "opts.h"
#include "attrib.h"
typedef struct tfe_proxy tfe_proxy;
tfe_proxy * tfe_proxy_new(struct tfe_config *) NONNULL(1) MALLOC;
void tfe_proxy_run(tfe_proxy *) NONNULL(1);
void proxy_loopbreak(tfe_proxy *) NONNULL(1);
void proxy_free(tfe_proxy *) NONNULL(1);
#endif /* !PROXY_H */
/* vim: set noet ft=c: */