blob: 2eaa14fe68ede7d91d08f78bf8b4606e604136a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef __CPTC_H__
#define __CPTC_H__
#include <netinet/in.h>
enum CPTC_Method
{
CPTC_GET = 'G',
CPTC_HEAD = 'H',
};
extern const char *CPTC_token;
extern const char *CPTC_root;
void CPTC(const char *address, in_port_t port);
void CPTC_requestHandler(int fd);
char *CPTC_downloadAvatar(long long uid, const char *download_path);
#endif /* __CPTC_H__ */
|