p->filename,
GNUNET_h2s (res));
#endif
+ if (0 != (sc->options & GNUNET_FS_PUBLISH_OPTION_SIMULATE_ONLY))
+ {
+ p->data.file.file_id = *res;
+ p->data.file.have_hash = GNUNET_YES;
+ p->data.file.index_start_confirmed = GNUNET_YES;
+ GNUNET_FS_file_information_sync_ (p);
+ publish_content (sc);
+ GNUNET_free (fn);
+ return;
+ }
client = GNUNET_CLIENT_connect ("fs",
sc->h->cfg);
if (NULL == client)
ret->h = h;
ret->fi = fi;
ret->namespace = namespace;
+ ret->options = options;
if (namespace != NULL)
{
namespace->rc++;