[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r19125 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r19125 - gnunet/src/include |
Date: |
Fri, 13 Jan 2012 18:41:15 +0100 |
Author: harsha
Date: 2012-01-13 18:41:15 +0100 (Fri, 13 Jan 2012)
New Revision: 19125
Modified:
gnunet/src/include/gnunet_stream_lib.h
Log:
generic type for read data
Modified: gnunet/src/include/gnunet_stream_lib.h
===================================================================
--- gnunet/src/include/gnunet_stream_lib.h 2012-01-13 17:07:52 UTC (rev
19124)
+++ gnunet/src/include/gnunet_stream_lib.h 2012-01-13 17:41:15 UTC (rev
19125)
@@ -1,6 +1,6 @@
/*
This file is part of GNUnet.
- (C) 2011, Christian Grothoff (and other contributing authors)
+ (C) 2011, 2012 Christian Grothoff (and other contributing authors)
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
@@ -24,8 +24,8 @@
* @author Sree Harsha Totakura
*/
-#ifndef GNUNET_STREAM_LIB_H_
-#define GNUNET_STREAM_LIB_H_
+#ifndef GNUNET_STREAM_LIB_H
+#define GNUNET_STREAM_LIB_H
#ifdef __cplusplus
extern "C"
@@ -60,7 +60,7 @@
GNUNET_STREAM_SHUTDOWN = 2,
/**
- * A serious error occured while operating of this stream
+ * A serious error occured while operating on this stream
*/
GNUNET_STREAM_SYSERR = 3
};
@@ -239,9 +239,9 @@
* given to the next time the read processor is called).
*/
typedef size_t (*GNUNET_STREAM_DataProcessor) (void *cls,
- enum GNUNET_STREAM_Status status,
- const char *data,
- size_t size);
+ enum GNUNET_STREAM_Status
status,
+ const void *data,
+ size_t size);
/**
@@ -276,4 +276,4 @@
}
#endif
-#endif
+#endif /* STREAM_PROTOCOL_H */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r19125 - gnunet/src/include,
gnunet <=