mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-09-19 09:49:21 +03:00
Cedar: improve constness of PROTO_IMPL functions, move Name() at the top
This commit is contained in:
@ -24,9 +24,9 @@ typedef struct PROTO
|
||||
|
||||
typedef struct PROTO_IMPL
|
||||
{
|
||||
const char *(*Name)();
|
||||
bool (*Init)(void **param, CEDAR *cedar, INTERRUPT_MANAGER *im, SOCK_EVENT *se, const char *cipher, const char *hostname);
|
||||
void (*Free)(void *param);
|
||||
char *(*Name)();
|
||||
bool (*IsPacketForMe)(const PROTO_MODE mode, const UCHAR *data, const UINT size);
|
||||
bool (*ProcessData)(void *param, TCP_RAW_DATA *in, FIFO *out);
|
||||
bool (*ProcessDatagrams)(void *param, LIST *in, LIST *out);
|
||||
|
Reference in New Issue
Block a user