aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_stream_lib.h
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-12-11 11:14:24 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-12-11 11:14:24 +0000
commit77e9e4a935bc9109365afebf00a4d88a694973ed (patch)
tree13285f304f3a128320255df548d69f80c6ba7d70 /src/include/gnunet_stream_lib.h
parent8861ab9dc880d4ab8e24be3d66d1f2d60d3d950a (diff)
downloadgnunet-77e9e4a935bc9109365afebf00a4d88a694973ed.tar.gz
gnunet-77e9e4a935bc9109365afebf00a4d88a694973ed.zip
- rename
Diffstat (limited to 'src/include/gnunet_stream_lib.h')
-rw-r--r--src/include/gnunet_stream_lib.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/include/gnunet_stream_lib.h b/src/include/gnunet_stream_lib.h
index 909c659d7..8a1f22f47 100644
--- a/src/include/gnunet_stream_lib.h
+++ b/src/include/gnunet_stream_lib.h
@@ -291,13 +291,13 @@ typedef void (*GNUNET_STREAM_CompletionContinuation) (void *cls,
291/** 291/**
292 * Handle to cancel IO write operations. 292 * Handle to cancel IO write operations.
293 */ 293 */
294struct GNUNET_STREAM_IOWriteHandle; 294struct GNUNET_STREAM_WriteHandle;
295 295
296 296
297/** 297/**
298 * Handle to cancel IO read operations. 298 * Handle to cancel IO read operations.
299 */ 299 */
300struct GNUNET_STREAM_IOReadHandle; 300struct GNUNET_STREAM_ReadHandle;
301 301
302/** 302/**
303 * Tries to write the given data to the stream. The maximum size of data that 303 * Tries to write the given data to the stream. The maximum size of data that
@@ -318,7 +318,7 @@ struct GNUNET_STREAM_IOReadHandle;
318 * is broken then write_cont is immediately called and NULL is 318 * is broken then write_cont is immediately called and NULL is
319 * returned. 319 * returned.
320 */ 320 */
321struct GNUNET_STREAM_IOWriteHandle * 321struct GNUNET_STREAM_WriteHandle *
322GNUNET_STREAM_write (struct GNUNET_STREAM_Socket *socket, 322GNUNET_STREAM_write (struct GNUNET_STREAM_Socket *socket,
323 const void *data, 323 const void *data,
324 size_t size, 324 size_t size,
@@ -347,7 +347,7 @@ typedef size_t (*GNUNET_STREAM_DataProcessor) (void *cls,
347/** 347/**
348 * Tries to read data from the stream. Should not be called when another read 348 * Tries to read data from the stream. Should not be called when another read
349 * handle is present; the existing read handle should be canceled with 349 * handle is present; the existing read handle should be canceled with
350 * GNUNET_STREAM_io_read_cancel(). Only one read handle per socket is present at 350 * GNUNET_STREAM_read_cancel(). Only one read handle per socket is present at
351 * any time 351 * any time
352 * 352 *
353 * @param socket the socket representing a stream 353 * @param socket the socket representing a stream
@@ -358,7 +358,7 @@ typedef size_t (*GNUNET_STREAM_DataProcessor) (void *cls,
358 * been shutdown for this type of opeartion (the DataProcessor is 358 * been shutdown for this type of opeartion (the DataProcessor is
359 * immediately called with GNUNET_STREAM_SHUTDOWN as status) 359 * immediately called with GNUNET_STREAM_SHUTDOWN as status)
360 */ 360 */
361struct GNUNET_STREAM_IOReadHandle * 361struct GNUNET_STREAM_ReadHandle *
362GNUNET_STREAM_read (struct GNUNET_STREAM_Socket *socket, 362GNUNET_STREAM_read (struct GNUNET_STREAM_Socket *socket,
363 struct GNUNET_TIME_Relative timeout, 363 struct GNUNET_TIME_Relative timeout,
364 GNUNET_STREAM_DataProcessor proc, 364 GNUNET_STREAM_DataProcessor proc,
@@ -383,7 +383,7 @@ GNUNET_STREAM_read (struct GNUNET_STREAM_Socket *socket,
383 * @param ioh handle to operation to cancel 383 * @param ioh handle to operation to cancel
384 */ 384 */
385void 385void
386GNUNET_STREAM_io_write_cancel (struct GNUNET_STREAM_IOWriteHandle *iowh); 386GNUNET_STREAM_write_cancel (struct GNUNET_STREAM_WriteHandle *iowh);
387 387
388 388
389/** 389/**
@@ -392,7 +392,7 @@ GNUNET_STREAM_io_write_cancel (struct GNUNET_STREAM_IOWriteHandle *iowh);
392 * @param ioh handle to operation to cancel 392 * @param ioh handle to operation to cancel
393 */ 393 */
394void 394void
395GNUNET_STREAM_io_read_cancel (struct GNUNET_STREAM_IOReadHandle *iorh); 395GNUNET_STREAM_read_cancel (struct GNUNET_STREAM_ReadHandle *iorh);
396 396
397 397
398#if 0 398#if 0