mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-19 14:43:04 +08:00
update 2026-05-27 23:25:57
This commit is contained in:
1 parent
84f707b52b
commit
d0159b49a5
759 files changed
+362365
No files matched your search
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* http_simple.h - Define shadowsocksR server's buffers and callbacks
|
||||
*
|
||||
* Copyright (C) 2015 - 2016, Break Wa11 <mmgac001@gmail.com>
|
||||
*/
|
||||
|
||||
#ifndef _HTTP_SIMPLE_H
|
||||
#define _HTTP_SIMPLE_H
|
||||
|
||||
obfs * http_simple_new_obfs();
|
||||
void http_simple_dispose(obfs *self);
|
||||
|
||||
int http_simple_client_encode(obfs *self, char **pencryptdata, int datalength, size_t* capacity);
|
||||
int http_simple_client_decode(obfs *self, char **pencryptdata, int datalength, size_t* capacity, int *needsendback);
|
||||
|
||||
int http_post_client_encode(obfs *self, char **pencryptdata, int datalength, size_t* capacity);
|
||||
|
||||
int http_simple_server_encode(obfs *self, char **pencryptdata, int datalength, size_t* capacity);
|
||||
int http_simple_server_decode(obfs *self, char **pencryptdata, int datalength, size_t* capacity, int *needsendback);
|
||||
|
||||
#endif // _HTTP_SIMPLE_H
|
||||
Reference in new issue
Block a user