}
+/**
+ * Relay a message part received from a guest to the the place.
+ *
+ * @param hst
+ * Host.
+ * @param pmsg
+ * Message part.
+ * @param nym_pub_key
+ * Nym the message is received from.
+ */
static void
host_relay_message_part (struct Host *hst,
const struct GNUNET_MessageHeader *pmsg,
}
+/**
+ * Received a method to be relayed from a guest.
+ */
static void
place_recv_relay_method (void *cls,
const struct GNUNET_PSYC_MessageHeader *msg,
}
+/**
+ * Received a modifier to be relayed from a guest.
+ */
static void
place_recv_relay_modifier (void *cls,
const struct GNUNET_PSYC_MessageHeader *msg,
}
}
+/**
+ * Received a data fragment to be relayed from a guest.
+ */
static void
place_recv_relay_data (void *cls,
const struct GNUNET_PSYC_MessageHeader *msg,
}
+/**
+ * Received end of message to be relayed from a guest.
+ */
static void
place_recv_relay_eom (void *cls,
const struct GNUNET_PSYC_MessageHeader *msg,
}
+/**
+ * Received a method to be saved to disk.
+ *
+ * Create a new file for writing the data part of the message into,
+ * if the file does not yet exist.
+ */
static void
place_recv_save_method (void *cls,
const struct GNUNET_PSYC_MessageHeader *msg,
}
+/**
+ * Received a data fragment to be saved to disk.
+ *
+ * Append data fragment to the file.
+ */
static void
place_recv_save_data (void *cls,
const struct GNUNET_PSYC_MessageHeader *msg,
}
+/**
+ * Received end of message to be saved to disk.
+ *
+ * Remove .part ending from the filename.
+ */
static void
place_recv_save_eom (void *cls,
const struct GNUNET_PSYC_MessageHeader *msg,