mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
CreateSessionMessage
This commit is contained in:
parent
ae10793d0f
commit
eeffcea69e
2 changed files with 29 additions and 2 deletions
3
I2CP.h
3
I2CP.h
|
@ -29,6 +29,7 @@ namespace client
|
|||
const uint8_t I2CP_GET_DATE_MESSAGE = 32;
|
||||
const uint8_t I2CP_SET_DATE_MESSAGE = 33;
|
||||
const uint8_t I2CP_CREATE_SESSION_MESSAGE = 1;
|
||||
const uint8_t I2CP_SESSION_STATUS_MESSAGE = 20;
|
||||
const uint8_t I2CP_REQUEST_VARIABLE_LEASESET_MESSAGE = 37;
|
||||
const uint8_t I2CP_CREATE_LEASESET_MESSAGE = 4;
|
||||
const uint8_t I2CP_SEND_MESSAGE_MESSAGE = 5;
|
||||
|
@ -91,6 +92,8 @@ namespace client
|
|||
std::string ExtractString (const uint8_t * buf, size_t len);
|
||||
size_t PutString (uint8_t * buf, size_t len, const std::string& str);
|
||||
|
||||
void SendSessionStatusMessage (uint8_t status);
|
||||
|
||||
private:
|
||||
|
||||
I2CPServer& m_Owner;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue