From a2fa006f2b20d0c1617eb29c87f3df3acbf94987 Mon Sep 17 00:00:00 2001 From: Nakidai Date: Wed, 25 Sep 2024 00:48:29 +0300 Subject: Add code --- cptc.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 cptc.h (limited to 'cptc.h') diff --git a/cptc.h b/cptc.h new file mode 100644 index 0000000..aa14648 --- /dev/null +++ b/cptc.h @@ -0,0 +1,16 @@ +#ifndef __CPTC_H__ +#define __CPTC_H__ + +#include + + +enum CPTC_Method +{ + CPTC_GET = 'G', + CPTC_HEAD = 'H', +}; + +void CPTC(const char *address, in_port_t port); +void CPTC_requestHandler(int fd); + +#endif /* __CPTC_H__ */ -- cgit 1.4.1