mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-28 08:07:31 -04:00
Add wrapper function to convert uint16_t service IDs to internal unsigned int.
Use it when looking up service names.
This commit is contained in:
parent
0d4eafde31
commit
97194fd092
4 changed files with 12 additions and 5 deletions
|
@ -53,6 +53,8 @@ class RsServiceInfo
|
|||
// minimum version can communicate with.
|
||||
uint16_t mMinVersionMajor;
|
||||
uint16_t mMinVersionMinor;
|
||||
|
||||
static unsigned int RsServiceInfoUIn16ToFullServiceId(uint16_t serviceType);
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue