mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-07 08:14:58 +03:00
Implementation of the JSON-RPC API and the Web Admin interface. (dnobori's internal note: 7579 - 7682)
This commit is contained in:
@ -953,6 +953,7 @@ UINT GetContentLength(HTTP_HEADER *header);
|
||||
void GetHttpDateStr(char *str, UINT size, UINT64 t);
|
||||
bool HttpSendForbidden(SOCK *s, char *target, char *server_id);
|
||||
bool HttpSendNotFound(SOCK *s, char *target);
|
||||
bool HttpSendBody(SOCK *s, void *data, UINT size, char *contents_type);
|
||||
bool HttpSendNotImplemented(SOCK *s, char *method, char *target, char *version);
|
||||
bool HttpServerSend(SOCK *s, PACK *p);
|
||||
bool HttpClientSend(SOCK *s, PACK *p);
|
||||
@ -1193,6 +1194,7 @@ void SendAdd(SOCK *sock, void *data, UINT size);
|
||||
bool SendNow(SOCK *sock, int secure);
|
||||
bool RecvAll(SOCK *sock, void *data, UINT size, bool secure);
|
||||
bool RecvAllEx(SOCK *sock, void **data_new_ptr, UINT size, bool secure);
|
||||
bool RecvAllWithDiscard(SOCK *sock, UINT size, bool secure);
|
||||
void InitSockSet(SOCKSET *set);
|
||||
void AddSockSet(SOCKSET *set, SOCK *sock);
|
||||
CANCEL *NewCancel();
|
||||
@ -1308,6 +1310,7 @@ void SocketTimeoutThread(THREAD *t, void *param);
|
||||
SOCKET_TIMEOUT_PARAM *NewSocketTimeout(SOCK *sock);
|
||||
void FreeSocketTimeout(SOCKET_TIMEOUT_PARAM *ttp);
|
||||
|
||||
void CopyIP(IP *dst, IP *src);
|
||||
bool IsIP6(IP *ip);
|
||||
bool IsIP4(IP *ip);
|
||||
void IPv6AddrToIP(IP *ip, IPV6_ADDR *addr);
|
||||
|
Reference in New Issue
Block a user