-identity IPC definitions: message types
authorChristian Grothoff <christian@grothoff.org>
Sun, 14 Jul 2013 18:57:40 +0000 (18:57 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sun, 14 Jul 2013 18:57:40 +0000 (18:57 +0000)
src/include/gnunet_identity_service.h
src/include/gnunet_protocols.h

index f34f7adf2229f44b765eda6caaaf01cbc2355774..2ad40791deea5684566b1cc29529f435077890fe 100644 (file)
@@ -233,7 +233,10 @@ GNUNET_IDENTITY_delete (struct GNUNET_IDENTITY_Handle *id,
 
 
 /**
- * Cancel an identity operation.
+ * Cancel an identity operation.  Note that the operation MAY still
+ * be executed; this merely cancels the continuation; if the request
+ * was already transmitted, the service may still choose to complete
+ * the operation.
  *
  * @param op operation to cancel
  */
index b60fe65d46d2fe677f7224407c7926472d0e6574..a338d7b8edb01735d8d5fc086a21557f0770b969 100644 (file)
@@ -1821,9 +1821,6 @@ extern "C"
  */
 #define GNUNET_MESSAGE_TYPE_TESTBED_LOGGER_ACK 601
 
-/**
- *  Next available: 605
- */
 
 /*******************************************************************************
  * EXPERIMENTATION message types
@@ -1854,12 +1851,55 @@ extern "C"
  */ 
 #define GNUNET_MESSAGE_TYPE_REGEX_RESULT 622
 
+/*******************************************************************************
+ * IDENTITY message types
+ ******************************************************************************/
+
+/**
+ * First message send from identity client to service (to subscribe to
+ * updates).
+ */
+#define GNUNET_MESSAGE_TYPE_IDENTITY_START 624
+
+/**
+ * Generic response from identity service with success and/or error message.
+ */
+#define GNUNET_MESSAGE_TYPE_IDENTITY_RESULT_CODE 625
 
 /**
- *  Next available: 624
+ * Update about identity status from service to clients.
  */
+#define GNUNET_MESSAGE_TYPE_IDENTITY_UPDATE 626
 
+/**
+ * Client requests to know default identity for a subsystem.
+ */
+#define GNUNET_MESSAGE_TYPE_IDENTITY_GET_DEFAULT 627
 
+/**
+ * Client sets default identity; or service informs about default identity.
+ */
+#define GNUNET_MESSAGE_TYPE_IDENTITY_SET_DEFAULT 628
+
+/**
+ * Create new identity (client->service).
+ */
+#define GNUNET_MESSAGE_TYPE_IDENTITY_CREATE 629
+
+/**
+ * Rename existing identity (client->service).
+ */
+#define GNUNET_MESSAGE_TYPE_IDENTITY_RENAME 630
+
+/**
+ * Delete identity (client->service).
+ */
+#define GNUNET_MESSAGE_TYPE_IDENTITY_DELETE 631
+
+
+/**
+ *  Next available: 640
+ */
 
 
 /* WIP: no numbers assigned yet */