mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-05-25 16:45:35 +02:00
resolve SIGNATURE_TYPE string values
This commit is contained in:
parent
22c1ce3ea5
commit
a3344c4290
2 changed files with 53 additions and 13 deletions
libi2pd_client
|
@ -184,6 +184,8 @@ namespace client
|
|||
|
||||
void RemoveSocket(const std::shared_ptr<SAMSocket> & socket);
|
||||
|
||||
bool ResolveSignatureType (const std::string& name, i2p::data::SigningKeyType& type) const;
|
||||
|
||||
private:
|
||||
|
||||
void Run ();
|
||||
|
@ -207,6 +209,7 @@ namespace client
|
|||
mutable std::mutex m_OpenSocketsMutex;
|
||||
std::list<std::shared_ptr<SAMSocket> > m_OpenSockets;
|
||||
uint8_t m_DatagramReceiveBuffer[i2p::datagram::MAX_DATAGRAM_SIZE+1];
|
||||
std::map<std::string, i2p::data::SigningKeyType> m_SignatureTypes;
|
||||
|
||||
public:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue