diff options
Diffstat (limited to 'cptc.h')
| -rw-r--r-- | cptc.h | 16 |
1 files changed, 16 insertions, 0 deletions
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 <netinet/in.h> + + +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__ */ |