summary refs log tree commit diff
path: root/cptc.h
blob: aa14648a6e2f4d0e07217aa5c2bae95c1707da5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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__ */