初步确认future-promise的异步调用机制。目录和cmake待整理。
This commit is contained in:
17
src/proxy.h
Normal file
17
src/proxy.h
Normal 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: */
|
||||
Reference in New Issue
Block a user