aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_psyc_util_lib.h
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2015-05-07 12:15:58 +0000
committerGabor X Toth <*@tg-x.net>2015-05-07 12:15:58 +0000
commit4725d59b468f1f30ba2910992333ca157682ce29 (patch)
tree23715ee20879c94a3363e28ea184370a4a71e44d /src/include/gnunet_psyc_util_lib.h
parenta5edf8ac9f03a368c87ea6163994d4ac3d62af06 (diff)
downloadgnunet-4725d59b468f1f30ba2910992333ca157682ce29.tar.gz
gnunet-4725d59b468f1f30ba2910992333ca157682ce29.zip
psyc/social: request history & state from psycstore; more documentation, tests, cleanup
Diffstat (limited to 'src/include/gnunet_psyc_util_lib.h')
-rw-r--r--src/include/gnunet_psyc_util_lib.h28
1 files changed, 18 insertions, 10 deletions
diff --git a/src/include/gnunet_psyc_util_lib.h b/src/include/gnunet_psyc_util_lib.h
index 488edc03b..3ec9fe1bf 100644
--- a/src/include/gnunet_psyc_util_lib.h
+++ b/src/include/gnunet_psyc_util_lib.h
@@ -115,16 +115,24 @@ GNUNET_PSYC_transmit_destroy (struct GNUNET_PSYC_TransmitHandle *tmit);
115/** 115/**
116 * Transmit a message. 116 * Transmit a message.
117 * 117 *
118 * @param tmit Transmission handle. 118 * @param tmit
119 * @param method_name Which method should be invoked. 119 * Transmission handle.
120 * @param env Environment for the message. 120 * @param method_name
121 * Should stay available until the first call to notify_data. 121 * Which method should be invoked.
122 * Can be NULL if there are no modifiers or @a notify_mod is provided instead. 122 * @param env
123 * @param notify_mod Function to call to obtain modifiers. 123 * Environment for the message.
124 * Can be NULL if there are no modifiers or @a env is provided instead. 124 * Should stay available until the first call to notify_data.
125 * @param notify_data Function to call to obtain fragments of the data. 125 * Can be NULL if there are no modifiers or @a notify_mod is
126 * @param notify_cls Closure for @a notify_mod and @a notify_data. 126 * provided instead.
127 * @param flags Flags for the message being transmitted. 127 * @param notify_mod
128 * Function to call to obtain modifiers.
129 * Can be NULL if there are no modifiers or @a env is provided instead.
130 * @param notify_data
131 * Function to call to obtain fragments of the data.
132 * @param notify_cls
133 * Closure for @a notify_mod and @a notify_data.
134 * @param flags
135 * Flags for the message being transmitted.
128 * 136 *
129 * @return #GNUNET_OK if the transmission was started. 137 * @return #GNUNET_OK if the transmission was started.
130 * #GNUNET_SYSERR if another transmission is already going on. 138 * #GNUNET_SYSERR if another transmission is already going on.