GNUnet 0.22.2
GNUNET_FS_Uri Struct Reference

A Universal Resource Identifier (URI), opaque. More...

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/fs/fs_api.h>

Collaboration diagram for GNUNET_FS_Uri:
[legend]

Data Fields

enum GNUNET_FS_UriType type
 Type of the URI. More...
 
union {
   struct {
      char **   keywords
 Keywords start with a '+' if they are mandatory (in which case the '+' is NOT part of the keyword) and with a simple space if they are optional (in which case the space is ALSO not part of the actual keyword). More...
 
      unsigned int   keywordCount
 Size of the keywords array. More...
 
   }   ksk
 
   struct {
      struct GNUNET_CRYPTO_EcdsaPublicKey   ns
 Identifier of the namespace. More...
 
      char *   identifier
 Human-readable identifier chosen for this entry in the namespace. More...
 
   }   sks
 
   struct FileIdentifier   chk
 Information needed to retrieve a file (content-hash-key plus file size). More...
 
   struct Location   loc
 Information needed to retrieve a file including signed location (identity of a peer) of the content. More...
 
data
 

Detailed Description

A Universal Resource Identifier (URI), opaque.

Definition at line 166 of file fs_api.h.

Field Documentation

◆ type

◆ keywords

char** GNUNET_FS_Uri::keywords

Keywords start with a '+' if they are mandatory (in which case the '+' is NOT part of the keyword) and with a simple space if they are optional (in which case the space is ALSO not part of the actual keyword).

Double-quotes to protect spaces and %-encoding are NOT used internally (only in URI-strings).

Definition at line 186 of file fs_api.h.

Referenced by gather_uri_data(), GNUNET_FS_search_start_searching_(), GNUNET_FS_unindex_do_remove_kblocks_(), GNUNET_FS_uri_destroy(), GNUNET_FS_uri_dup(), GNUNET_FS_uri_ksk_add_keyword(), GNUNET_FS_uri_ksk_create(), GNUNET_FS_uri_ksk_create_from_args(), GNUNET_FS_uri_ksk_get_keywords(), GNUNET_FS_uri_ksk_merge(), GNUNET_FS_uri_ksk_remove_keyword(), GNUNET_FS_uri_ksk_to_string_fancy(), GNUNET_FS_uri_test_equal(), GNUNET_FS_uri_test_ksk(), GNUNET_FS_uri_to_key(), make_file(), process_kblock_for_unindex(), publish_ksk_cont(), start_download(), uri_ksk_parse(), and uri_ksk_to_string().

◆ keywordCount

◆ 

◆ ns

◆ identifier

◆ 

◆ chk

◆ loc

◆ 


The documentation for this struct was generated from the following file: