social: api, doc
[oweals/gnunet.git] / src / social / social.h
index b797a89ace65421dd1db1c2b9c2bb036951d5d79..3e32a446465a474b54803c835cbbc2f995c3e176 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * This file is part of GNUnet
- * Copyright (C) 2013 Christian Grothoff (and other contributing authors)
+ * Copyright (C) 2013 GNUnet e.V.
  *
  * GNUnet is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published
@@ -80,6 +80,22 @@ struct AppDetachRequest
 };
 
 
+struct MsgProcRequest
+{
+  /**
+   * Type: GNUNET_MESSAGE_TYPE_SOCIAL_MSG_PROC_SET
+   */
+  struct GNUNET_MessageHeader header;
+
+  /**
+   * @see enum GNUNET_SOCIAL_MsgProcFlags
+   */
+  uint32_t flags;
+
+  /* Followed by char *method_prefix */
+};
+
+
 struct HostEnterRequest
 {
   /**
@@ -207,6 +223,7 @@ struct ZoneAddNymRequest
   /* Followed by const char *name */
 };
 
+
 /**** service -> library ****/
 
 
@@ -266,24 +283,6 @@ struct HostEnterAck {
 };
 
 
-#if REMOVE
-struct NymEnterRequest
-{
-  /**
-   * Type: GNUNET_MESSAGE_TYPE_SOCIAL_NYM_ENTER
-   */
-  struct GNUNET_MessageHeader header;
-
-  /**
-   * Public key of the joining slave.
-   */
-  struct GNUNET_CRYPTO_EcdsaPublicKey nym_key;
-
-  /* Followed by struct GNUNET_MessageHeader join_request */
-};
-#endif
-
-
 GNUNET_NETWORK_STRUCT_END
 
 #endif