librats 0.7.2 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -129,6 +129,7 @@ set(LIBRARY_SOURCES
129
129
  src/krpc.cpp
130
130
  src/krpc.h
131
131
  src/librats.cpp
132
+ src/librats_discovery.cpp
132
133
  src/librats_reconnection.cpp
133
134
  src/librats_logging.cpp
134
135
  src/librats_encryption.cpp
@@ -136,6 +137,7 @@ set(LIBRARY_SOURCES
136
137
  src/librats_gossipsub.cpp
137
138
  src/librats_mdns.cpp
138
139
  src/librats_persistence.cpp
140
+ src/librats_statistic.cpp
139
141
  src/librats.h
140
142
  src/sha1.cpp
141
143
  src/sha1.h
@@ -157,13 +159,17 @@ set(LIBRARY_SOURCES
157
159
  src/rats_export.h
158
160
  ${PROJECT_BINARY_DIR}/src/version.h
159
161
 
160
- # Buffer utilities for bittorrent and file transfer
162
+ # Buffer utilities for async I/O, file transfer, and bittorrent
161
163
  src/receive_buffer.h
162
164
  src/receive_buffer.cpp
163
165
  src/chained_send_buffer.h
164
166
  src/chained_send_buffer.cpp
165
167
 
166
- # Cypto algorithms including Noise Protocol needed
168
+ # Platform-optimal I/O multiplexing (epoll/kqueue/IOCP)
169
+ src/io_poller.h
170
+ src/io_poller.cpp
171
+
172
+ # Crypto algorithms including Noise Protocol
167
173
  src/crypto/curve25519.c
168
174
  src/crypto/curve25519.h
169
175
  src/crypto/chacha.c
@@ -430,6 +436,8 @@ if(RATS_BUILD_TESTS)
430
436
  tests/test_stun.cpp
431
437
  tests/test_turn.cpp
432
438
  tests/test_ice.cpp
439
+ # I/O poller abstraction (epoll/kqueue/IOCP)
440
+ tests/test_io_poller.cpp
433
441
  # Buffer utilities for file transfer and bittorrent
434
442
  tests/test_receive_buffer.cpp
435
443
  tests/test_chained_send_buffer.cpp