social: api, doc
[oweals/gnunet.git] / src / social / social.h
index 0980cbf5c6c5a46a66346e28ed4a647515f22924..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,16 +80,19 @@ struct AppDetachRequest
 };
 
 
-struct HostRelayRequest
+struct MsgProcRequest
 {
   /**
-   * Types:
-   * - GNUNET_MESSAGE_TYPE_SOCIAL_HOST_RELAY_START
-   * - GNUNET_MESSAGE_TYPE_SOCIAL_HOST_RELAY_STOP
+   * Type: GNUNET_MESSAGE_TYPE_SOCIAL_MSG_PROC_SET
    */
   struct GNUNET_MessageHeader header;
 
-  /* Followed by char *method_name */
+  /**
+   * @see enum GNUNET_SOCIAL_MsgProcFlags
+   */
+  uint32_t flags;
+
+  /* Followed by char *method_prefix */
 };