Comment about sharing and multicasting.
authorThadeu Lima de Souza Cascardo <cascardo@cascardo.info>
Wed, 17 Jul 2013 21:18:42 +0000 (18:18 -0300)
committerThadeu Lima de Souza Cascardo <cascardo@cascardo.info>
Wed, 17 Jul 2013 21:18:42 +0000 (18:18 -0300)
Some design considerations we should give.

src/share.c

index 4fd08cc..950aa14 100644 (file)
 /*
  * Share message with a group of friends.
  */
 /*
  * Share message with a group of friends.
  */
+/*
+ * TODO: group should allow us to do some multicasting.
+ * There is a challenge here if we are going to support multiple
+ * channels. One option is making a channel a first-order object. Maybe
+ * not very *friendly*, but possibly powerful.
+ */
 int sgp_share(struct sgp_group *group, struct sgp_msg *msg)
 {
        struct sgp_friend *friend;
 int sgp_share(struct sgp_group *group, struct sgp_msg *msg)
 {
        struct sgp_friend *friend;