about summary refs log tree commit diff
path: root/cptc.h
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2024-09-28 16:09:14 +0300
committerNakidai <nakidai@disroot.org>2024-09-28 16:09:14 +0300
commitd3046284b23ca81be438c94e8f83b7e13e929d81 (patch)
tree541a2de8cf543eee4abd99e6916e3169672f8cea /cptc.h
parentffa61b7b6930fe4a08bb53ace07c2ee40a9cef43 (diff)
downloadcptc-d3046284b23ca81be438c94e8f83b7e13e929d81.tar.gz
cptc-d3046284b23ca81be438c94e8f83b7e13e929d81.zip
Make it multithreaded v1.0.0
And also add `int n` to the CPTC_requestHandler so it threads will not
conflict with each other with filenames
Diffstat (limited to 'cptc.h')
-rw-r--r--cptc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cptc.h b/cptc.h
index 2eaa14f..9b57cd0 100644
--- a/cptc.h
+++ b/cptc.h
@@ -14,7 +14,7 @@ extern const char *CPTC_token;
 extern const char *CPTC_root;
 
 void CPTC(const char *address, in_port_t port);
-void CPTC_requestHandler(int fd);
+void CPTC_requestHandler(int fd, int n);
 char *CPTC_downloadAvatar(long long uid, const char *download_path);
 
 #endif /* __CPTC_H__ */