zhaowenlan1779 75927ee462 Port "client_port: Make all data members private" from yuzu (#4064)
* client_port: Make all data members private

These members don't need to be entirely exposed, we can instead expose
an API to operate on them without directly needing to mutate them

We can also guard against overflow/API misuse this way as well, given
active_sessions is an unsigned value.

* make the condition an assert
2018-08-24 19:31:20 +02:00
..
2018-08-01 14:10:23 -05:00
2018-08-01 14:10:23 -05:00
2017-06-18 19:03:15 -07:00
2018-07-26 13:10:56 +02:00
2018-07-26 13:10:56 +02:00
2018-08-01 14:10:23 -05:00