@@ -78,6 +78,12 @@ typedef bool (*uxrOnBuffersFull) (
78
78
typedef void (* uxrOnPerformanceFunc ) (struct uxrSession * session , struct ucdrBuffer * mb , void * args );
79
79
#endif
80
80
81
+ typedef struct uxrContinuousArgs {
82
+ uxrOnBuffersFull flush_callback ;
83
+ uxrStreamId stream_id ;
84
+ size_t data_size ;
85
+ } uxrContinuousArgs ;
86
+
81
87
typedef struct uxrSession
82
88
{
83
89
uxrSessionInfo info ;
@@ -106,6 +112,7 @@ typedef struct uxrSession
106
112
void * on_reply_args ;
107
113
108
114
bool on_data_flag ;
115
+ uxrContinuousArgs continuous_args ;
109
116
110
117
#ifdef PERFORMANCE_TESTING
111
118
uxrOnPerformanceFunc on_performance ;
@@ -235,7 +242,7 @@ UXRDLLAPI bool uxr_delete_session_retries(uxrSession* session, size_t retries);
235
242
236
243
/**
237
244
* @brief Creates and initializes an output best-effort stream.
238
- * The maximum number of output best-effort streams is set by the `CONFIG_MAX_OUTPUT_BEST_EFFORT_STREAMS `.
245
+ * The maximum number of output best-effort streams is set by the `UCLIENT_MAX_OUTPUT_BEST_EFFORT_STREAMS `.
239
246
* @param session A uxrSession structure previously initialized.
240
247
* @param buffer The memory block where the messages will be written.
241
248
* @param size The buffer size.
@@ -248,7 +255,7 @@ UXRDLLAPI uxrStreamId uxr_create_output_best_effort_stream(
248
255
249
256
/**
250
257
* @brief Creates and initializes an output reliable stream.
251
- * The maximum number of output reliable streams is set by the `CONFIG_MAX_OUTPUT_RELIABLE_STREAMS `.
258
+ * The maximum number of output reliable streams is set by the `UCLIENT_MAX_OUTPUT_RELIABLE_STREAMS `.
252
259
* @param session A uxrSession structure previously initialized.
253
260
* @param buffer The memory block where the messages will be written.
254
261
* @param size The buffer size.
@@ -265,15 +272,15 @@ UXRDLLAPI uxrStreamId uxr_create_output_reliable_stream(
265
272
266
273
/**
267
274
* @brief Creates and initializes an input best-effort stream.
268
- * The maximum number of input best-effort streams is set by the `CONFIG_MAX_INPUT_BEST_EFFORT_STREAMS `.
275
+ * The maximum number of input best-effort streams is set by the `UCLIENT_MAX_INPUT_BEST_EFFORT_STREAMS `.
269
276
* @param session A uxrSession structure previously initialized.
270
277
* @return A uxrStreamId which could by used for managing the stream.
271
278
*/
272
279
UXRDLLAPI uxrStreamId uxr_create_input_best_effort_stream (uxrSession * session );
273
280
274
281
/**
275
282
* @brief Creates and initializes an input reliable stream.
276
- * The maximum number of input reliable streams is set by the `CONFIG_MAX_INPUT_RELIABLE_STREAMS `.
283
+ * The maximum number of input reliable streams is set by the `UCLIENT_MAX_INPUT_RELIABLE_STREAMS `.
277
284
* @param session A uxrSession structure previously initialized.
278
285
* @param buffer The memory block where the messages will be written.
279
286
* @param size The buffer size.
0 commit comments