You should have received a copy of the GNU General Public License
along with GNUnet; see the file COPYING. If not, write to the
- Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA.
+ Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
*/
/**
/**
- * Continuation of "GNUNET_FS_publish_ksk" that performs
+ * Continuation of #GNUNET_FS_publish_ksk() that performs
* the actual publishing operation (iterating over all
* of the keywords).
*
- * @param cls closure of type "struct PublishKskContext*"
+ * @param cls closure of type `struct PublishKskContext *`
* @param tc unused
*/
static void
* Function called by the datastore API with
* the result from the PUT request.
*
- * @param cls closure of type "struct GNUNET_FS_PublishKskContext*"
+ * @param cls closure of type `struct GNUNET_FS_PublishKskContext *`
* @param msg error message (or NULL)
*/
static void
/**
- * Continuation of "GNUNET_FS_publish_ksk" that performs the actual
+ * Continuation of #GNUNET_FS_publish_ksk() that performs the actual
* publishing operation (iterating over all of the keywords).
*
- * @param cls closure of type "struct GNUNET_FS_PublishKskContext*"
+ * @param cls closure of type `struct GNUNET_FS_PublishKskContext *`
* @param tc unused
*/
static void
-publish_ksk_cont (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
+publish_ksk_cont (void *cls,
+ const struct GNUNET_SCHEDULER_TaskContext *tc)
{
struct GNUNET_FS_PublishKskContext *pkc = cls;
const char *keyword;
if ( (pkc->i == pkc->ksk_uri->data.ksk.keywordCount) ||
(NULL == pkc->dsh) )
{
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "KSK PUT operation complete\n");
- pkc->cont (pkc->cont_cls, pkc->ksk_uri, NULL);
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "KSK PUT operation complete\n");
+ pkc->cont (pkc->cont_cls, pkc->ksk_uri,
+ NULL);
GNUNET_FS_publish_ksk_cancel (pkc);
return;
}
pkc->dsh = GNUNET_DATASTORE_connect (h->cfg);
if (NULL == pkc->dsh)
{
- cont (cont_cls, NULL, _("Could not connect to datastore."));
+ cont (cont_cls,
+ NULL,
+ _("Could not connect to datastore."));
GNUNET_free (pkc);
return NULL;
}