gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r6928 - GNUnet/src/include


From: gnunet
Subject: [GNUnet-SVN] r6928 - GNUnet/src/include
Date: Thu, 29 May 2008 22:36:48 -0600 (MDT)

Author: grothoff
Date: 2008-05-29 22:36:48 -0600 (Thu, 29 May 2008)
New Revision: 6928

Modified:
   GNUnet/src/include/gnunet_chat_lib.h
   GNUnet/src/include/gnunet_ecrs_lib.h
Log:
fixing client API

Modified: GNUnet/src/include/gnunet_chat_lib.h
===================================================================
--- GNUnet/src/include/gnunet_chat_lib.h        2008-05-30 04:36:38 UTC (rev 
6927)
+++ GNUnet/src/include/gnunet_chat_lib.h        2008-05-30 04:36:48 UTC (rev 
6928)
@@ -29,7 +29,7 @@
 #define GNUNET_CHAT_LIB_H
 
 #include "gnunet_util_core.h"
-#include "gnunet_ecrs.h"
+#include "gnunet_ecrs_lib.h"
 
 #ifdef __cplusplus
 extern "C"
@@ -113,7 +113,7 @@
  * A message was sent in the chat to us.
  *
  * @param timestamp when was the message sent?
- * @param senderNick what is the nickname of the sender? (maybe NULL)
+ * @param sender what is the ID of the sender? (maybe NULL)
  * @param message the message (maybe NULL, especially if confirmation
  *        is requested before delivery; the protocol will ensure
  *        that this function is called again with the full message
@@ -126,9 +126,8 @@
  */
 typedef int (*GNUNET_CHAT_MessageCallback) (void *cls,
                                             struct GNUNET_CHAT_Room * room,
-                                            const char *senderNick,
+                                            const GNUNET_HashCode * sender,
                                             const char *message,
-                                            GNUNET_CronTime timestamp,
                                             GNUNET_CHAT_MSG_OPTIONS options);
 
 /**
@@ -137,7 +136,7 @@
  */
 typedef int (*GNUNET_CHAT_MemberListCallback) (void *cls,
                                                const struct 
GNUNET_ECRS_MetaData* member_info,
-                                              const GNUNET_HashCode 
*member_id);
+                                              const GNUNET_RSA_PublicKey 
*member_id);
 
 
 /**

Modified: GNUnet/src/include/gnunet_ecrs_lib.h
===================================================================
--- GNUnet/src/include/gnunet_ecrs_lib.h        2008-05-30 04:36:38 UTC (rev 
6927)
+++ GNUnet/src/include/gnunet_ecrs_lib.h        2008-05-30 04:36:48 UTC (rev 
6928)
@@ -106,14 +106,16 @@
 /**
  * Create a fresh MetaData token.
  */
-struct GNUNET_ECRS_MetaData *GNUNET_ECRS_meta_data_create (void);
+struct GNUNET_ECRS_MetaData *
+GNUNET_ECRS_meta_data_create (void);
 
 /**
  * Duplicate a MetaData token.
  */
-struct GNUNET_ECRS_MetaData *GNUNET_ECRS_meta_data_duplicate (const struct
-                                                              
GNUNET_ECRS_MetaData
-                                                              *meta);
+struct GNUNET_ECRS_MetaData *
+GNUNET_ECRS_meta_data_duplicate (const struct
+                                GNUNET_ECRS_MetaData
+                                *meta);
 
 /**
  * Free meta data.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]