aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_fs_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-08-29 21:47:57 +0000
committerChristian Grothoff <christian@grothoff.org>2009-08-29 21:47:57 +0000
commitdeaec843661af71fbea06125f79375e70c967345 (patch)
treea91b81bf46ffe0c278422af4688ac734c034f18f /src/include/gnunet_fs_service.h
parent4c49ea8f7c11af08bbdbbe8e06db306fb9f52a5f (diff)
downloadgnunet-deaec843661af71fbea06125f79375e70c967345.tar.gz
gnunet-deaec843661af71fbea06125f79375e70c967345.zip
todo
Diffstat (limited to 'src/include/gnunet_fs_service.h')
-rw-r--r--src/include/gnunet_fs_service.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h
index 6e18e67c8..2b0880f0d 100644
--- a/src/include/gnunet_fs_service.h
+++ b/src/include/gnunet_fs_service.h
@@ -1804,6 +1804,54 @@ GNUNET_FS_publish_stop (struct GNUNET_FS_PublishContext *sc);
1804 1804
1805 1805
1806/** 1806/**
1807 * Publish a KBlock on GNUnet.
1808 *
1809 * @param h handle to the file sharing subsystem
1810 * @param keyword keyword to use
1811 * @param meta metadata to use
1812 * @param uri URI to refer to in the KBlock
1813 * @param expirationTime when the KBlock expires
1814 * @param anonymity anonymity level for the KBlock
1815 * @param priority priority for the KBlock
1816 */
1817// FIXME: CPS this one..
1818void
1819GNUNET_FS_publish_ksk (struct GNUNET_FS_Handle *h,
1820 const char *keyword,
1821 struct GNUNET_CONTAINER_MetaData *meta,
1822 struct GNUNET_FS_Uri *uri,
1823 struct GNUNET_TIME_Absolute expirationTime,
1824 unsigned int anonymity,
1825 unsigned int priority);
1826
1827
1828/**
1829 * Publish an SBlock on GNUnet.
1830 *
1831 * @param h handle to the file sharing subsystem
1832 * @param namespace namespace to publish in
1833 * @param identifier identifier to use
1834 * @param update update identifier to use
1835 * @param meta metadata to use
1836 * @param uri URI to refer to in the SBlock
1837 * @param expirationTime when the SBlock expires
1838 * @param anonymity anonymity level for the SBlock
1839 * @param priority priority for the SBlock
1840 */
1841// FIXME: CPS this one..
1842void
1843GNUNET_FS_publish_sks (struct GNUNET_FS_Handle *h,
1844 struct GNUNET_FS_Namespace *namespace,
1845 const char *identifier,
1846 const char *update,
1847 struct GNUNET_CONTAINER_MetaData *meta,
1848 struct GNUNET_FS_Uri *uri,
1849 struct GNUNET_TIME_Absolute expirationTime,
1850 unsigned int anonymity,
1851 unsigned int priority);
1852
1853
1854/**
1807 * Type of a function called by "GNUNET_FS_get_indexed_files". 1855 * Type of a function called by "GNUNET_FS_get_indexed_files".
1808 * 1856 *
1809 * @param cls closure 1857 * @param cls closure