GNUnet  0.11.x
Data Fields
GNUNET_FS_ProgressInfo Struct Reference

Argument given to the progress callback with information about what is going on. More...

#include <gnunet_fs_service.h>

Collaboration diagram for GNUNET_FS_ProgressInfo:
[legend]

Data Fields

union {
   struct {
      struct GNUNET_FS_PublishContext *   pc
 Context for controlling the upload. More...
 
      const struct GNUNET_FS_FileInformation *   fi
 Information about the file that is being publishd. More...
 
      void *   cctx
 Client context pointer (set the last time by the client for this operation; initially NULL on START/RESUME events). More...
 
      void *   pctx
 Client context pointer for the parent operation (if this is a file in a directory or a subdirectory). More...
 
      const char *   filename
 Name of the file being published; can be NULL. More...
 
      uint64_t   size
 How large is the file overall? For directories, this is only the size of the directory itself, not of the other files contained within the directory. More...
 
      struct GNUNET_TIME_Relative   eta
 At what time do we expect to finish the upload? (will be a value in the past for completed uploads). More...
 
      struct GNUNET_TIME_Relative   duration
 How long has this upload been actively running (excludes times where the upload was suspended). More...
 
      uint64_t   completed
 How many bytes have we completed? More...
 
      uint32_t   anonymity
 What anonymity level is used for this upload? More...
 
      union {
         struct {
            const void *   data
 Data block we just published. More...
 
            uint64_t   offset
 At what offset in the file is "data"? More...
 
            uint64_t   data_len
 Length of the data block. More...
 
            unsigned int   depth
 Depth of the given block in the tree; 0 would be the lowest level (DBLOCKs). More...
 
         }   progress
 These values are only valid for GNUNET_FS_STATUS_PUBLISH_PROGRESS events. More...
 
         struct {
            uint64_t   completed
 How far are we along in the overall directory? More...
 
            uint64_t   total
 How big do we estimate the entire directory to be? More...
 
            struct GNUNET_TIME_Relative   eta
 At what time do we expect to finish the upload of the CONTENTS of the directory. More...
 
         }   progress_directory
 These values are only valid for GNUNET_FS_STATUS_PUBLISH_PROGRESS_DIRECTORY events. More...
 
         struct {
            const char *   message
 Error message, NULL if no error was encountered so far. More...
 
            const struct GNUNET_FS_Uri *   chk_uri
 URI of the file (if the download had been completed) More...
 
            const struct GNUNET_FS_Uri *   sks_uri
 SKS URI of the file (if the download had been completed) More...
 
         }   resume
 These values are only valid for GNUNET_FS_STATUS_PUBLISH_RESUME events. More...
 
         struct {
            const struct GNUNET_FS_Uri *   chk_uri
 CHK URI of the file. More...
 
            const struct GNUNET_FS_Uri *   sks_uri
 SKS URI of the file (if the download had been completed) More...
 
         }   completed
 These values are only valid for GNUNET_FS_STATUS_PUBLISH_COMPLETED events. More...
 
         struct {
            const char *   message
 Error message, never NULL. More...
 
         }   error
 These values are only valid for GNUNET_FS_STATUS_PUBLISH_ERROR events. More...
 
      }   specifics
 Additional values for specific events. More...
 
   }   publish
 Values for all "GNUNET_FS_STATUS_PUBLISH_*" events. More...
 
   struct {
      struct GNUNET_FS_DownloadContext *   dc
 Context for controlling the download. More...
 
      void *   cctx
 Client context pointer (set the last time by the client for this operation; initially NULL on START/RESUME events). More...
 
      void *   pctx
 Client context pointer for the parent operation (if this is a file in a directory or a subdirectory). More...
 
      void *   sctx
 Client context pointer for the associated search operation (specifically, context pointer for the specific search result, not the overall search); only set if this download was started from a search result. More...
 
      const struct GNUNET_FS_Uri *   uri
 URI used for this download. More...
 
      const char *   filename
 Name of the file that we are downloading. More...
 
      uint64_t   size
 How large is the download overall? This is NOT necessarily the size from the URI since we may be doing a partial download. More...
 
      struct GNUNET_TIME_Relative   eta
 At what time do we expect to finish the download? (will be a value in the past for completed uploads). More...
 
      struct GNUNET_TIME_Relative   duration
 How long has this download been active? More...
 
      uint64_t   completed
 How many bytes have we completed? More...
 
      uint32_t   anonymity
 What anonymity level is used for this download? More...
 
      int   is_active
 Is the download currently active. More...
 
      union {
         struct {
            const void *   data
 Data block we just obtained, can be NULL (even if data_len > 0) if we found the entire block 'intact' on disk. More...
 
            uint64_t   offset
 At what offset in the file is "data"? More...
 
            uint64_t   data_len
 Length of the data block. More...
 
            struct GNUNET_TIME_Relative   block_download_duration
 How much time passed between us asking for this block and actually getting it? GNUNET_TIME_UNIT_FOREVER_REL if unknown. More...
 
            unsigned int   depth
 Depth of the given block in the tree; 0 would be the lowest level (DBLOCKS). More...
 
            uint32_t   respect_offered
 How much respect did we offer for downloading this block? (estimate, because we might have the same request pending for multiple clients, and of course because a transmission may have failed at a lower layer). More...
 
            uint32_t   num_transmissions
 How often did we transmit the request? (estimate, because we might have the same request pending for multiple clients, and of course because a transmission may have failed at a lower layer). More...
 
         }   progress
 These values are only valid for GNUNET_FS_STATUS_DOWNLOAD_PROGRESS events. More...
 
         struct {
            const struct GNUNET_CONTAINER_MetaData *   meta
 Known metadata for the download. More...
 
         }   start
 These values are only valid for GNUNET_FS_STATUS_DOWNLOAD_START events. More...
 
         struct {
            const struct GNUNET_CONTAINER_MetaData *   meta
 Known metadata for the download. More...
 
            const char *   message
 Error message, NULL if we have not encountered any error yet. More...
 
         }   resume
 These values are only valid for GNUNET_FS_STATUS_DOWNLOAD_RESUME events. More...
 
         struct {
            const char *   message
 Error message. More...
 
         }   error
 These values are only valid for GNUNET_FS_STATUS_DOWNLOAD_ERROR events. More...
 
      }   specifics
 Additional values for specific events. More...
 
   }   download
 Values for all "GNUNET_FS_STATUS_DOWNLOAD_*" events. More...
 
   struct {
      struct GNUNET_FS_SearchContext *   sc
 Context for controlling the search, NULL for searches that were not explicitly triggered by the client (i.e., searches for updates in namespaces). More...
 
      void *   cctx
 Client context pointer (set the last time by the client for this operation; initially NULL on START/RESUME events). More...
 
      void *   pctx
 Client parent-context pointer; NULL for top-level searches, refers to the client context of the associated search result for automatically triggered searches for updates in namespaces. More...
 
      const struct GNUNET_FS_Uri *   query
 What query is used for this search (list of keywords or SKS identifier). More...
 
      struct GNUNET_TIME_Relative   duration
 How long has this search been actively running (excludes times where the search was paused or suspended). More...
 
      uint32_t   anonymity
 What anonymity level is used for this search? More...
 
      union {
         struct {
            const struct GNUNET_CONTAINER_MetaData *   meta
 Metadata for the search result. More...
 
            const struct GNUNET_FS_Uri *   uri
 URI for the search result. More...
 
            struct GNUNET_FS_SearchResult *   result
 Handle to the result (for starting downloads). More...
 
            uint32_t   applicability_rank
 Applicability rank (the larger, the better the result fits the search criteria). More...
 
         }   result
 These values are only valid for GNUNET_FS_STATUS_SEARCH_RESULT events. More...
 
         struct {
            const struct GNUNET_CONTAINER_MetaData *   meta
 Metadata for the search result. More...
 
            const struct GNUNET_FS_Uri *   uri
 URI for the search result. More...
 
            struct GNUNET_FS_SearchResult *   result
 Handle to the result (for starting downloads). More...
 
            int32_t   availability_rank
 Current availability rank (negative: unavailable, positive: available) More...
 
            uint32_t   availability_certainty
 On how many total queries is the given availability_rank based? More...
 
            uint32_t   applicability_rank
 Updated applicability rank (the larger, the better the result fits the search criteria). More...
 
         }   resume_result
 These values are only valid for GNUNET_FS_STATUS_SEARCH_RESUME_RESULT events. More...
 
         struct {
            void *   cctx
 Private context set for for this result during the "RESULT" event. More...
 
            const struct GNUNET_CONTAINER_MetaData *   meta
 Metadata for the search result. More...
 
            const struct GNUNET_FS_Uri *   uri
 URI for the search result. More...
 
            int32_t   availability_rank
 Current availability rank (negative: unavailable, positive: available) More...
 
            uint32_t   availability_certainty
 On how many total queries is the given availability_rank based? More...
 
            uint32_t   applicability_rank
 Updated applicability rank (the larger, the better the result fits the search criteria). More...
 
            struct GNUNET_TIME_Relative   current_probe_time
 How long has the current probe been active? More...
 
         }   update
 These values are only valid for GNUNET_FS_STATUS_SEARCH_UPDATE events. More...
 
         struct {
            void *   cctx
 Private context set for for this result during the "RESULT" event. More...
 
            const struct GNUNET_CONTAINER_MetaData *   meta
 Metadata for the search result. More...
 
            const struct GNUNET_FS_Uri *   uri
 URI for the search result. More...
 
         }   result_suspend
 These values are only valid for GNUNET_FS_STATUS_SEARCH_RESULT_SUSPEND events. More...
 
         struct {
            void *   cctx
 Private context set for for this result during the "RESULT" event. More...
 
            const struct GNUNET_CONTAINER_MetaData *   meta
 Metadata for the search result. More...
 
            const struct GNUNET_FS_Uri *   uri
 URI for the search result. More...
 
         }   result_stopped
 These values are only valid for GNUNET_FS_STATUS_SEARCH_RESULT_STOPPED events. More...
 
         struct {
            const char *   message
 Error message, NULL if we have not encountered any error yet. More...
 
            int   is_paused
 Is this search currently paused? More...
 
         }   resume
 These values are only valid for GNUNET_FS_STATUS_SEARCH_RESUME events. More...
 
         struct {
            const char *   message
 Error message. More...
 
         }   error
 These values are only valid for GNUNET_FS_STATUS_SEARCH_ERROR events. More...
 
         struct {
            const char *   name
 Short, human-readable name of the namespace. More...
 
            const char *   root
 Root identifier for the namespace, can be NULL. More...
 
            const struct GNUNET_CONTAINER_MetaData *   meta
 Metadata for the namespace. More...
 
            struct GNUNET_CRYPTO_EcdsaPublicKey   pseudonym
 Public key of the namespace. More...
 
         }   ns
 Values for GNUNET_FS_STATUS_SEARCH_RESULT_NAMESPACE events. More...
 
      }   specifics
 Additional values for specific events. More...
 
   }   search
 Values for all "GNUNET_FS_STATUS_SEARCH_*" events. More...
 
   struct {
      struct GNUNET_FS_UnindexContext *   uc
 Context for controlling the unindexing. More...
 
      void *   cctx
 Client context pointer (set the last time by the client for this operation; initially NULL on START/RESUME events). More...
 
      const char *   filename
 Name of the file that is being unindexed. More...
 
      uint64_t   size
 How large is the file overall? More...
 
      struct GNUNET_TIME_Relative   eta
 At what time do we expect to finish unindexing? (will be a value in the past for completed unindexing opeations). More...
 
      struct GNUNET_TIME_Relative   duration
 How long has this upload been actively running (excludes times where the upload was suspended). More...
 
      uint64_t   completed
 How many bytes have we completed? More...
 
      union {
         struct {
            const void *   data
 Data block we just unindexed. More...
 
            uint64_t   offset
 At what offset in the file is "data"? More...
 
            uint64_t   data_len
 Length of the data block. More...
 
            unsigned int   depth
 Depth of the given block in the tree; 0 would be the lowest level (DBLOCKS). More...
 
         }   progress
 These values are only valid for GNUNET_FS_STATUS_UNINDEX_PROGRESS events. More...
 
         struct {
            const char *   message
 Error message, NULL if we have not encountered any error yet. More...
 
         }   resume
 These values are only valid for GNUNET_FS_STATUS_UNINDEX_RESUME events. More...
 
         struct {
            const char *   message
 Error message. More...
 
         }   error
 These values are only valid for GNUNET_FS_STATUS_UNINDEX_ERROR events. More...
 
      }   specifics
 Additional values for specific events. More...
 
   }   unindex
 Values for all "GNUNET_FS_STATUS_UNINDEX_*" events. More...
 
value
 Values that depend on the event type. More...
 
enum GNUNET_FS_Status status
 Specific status code (determines the event type). More...
 
struct GNUNET_FS_Handlefsh
 File-sharing handle that generated the event. More...
 

Detailed Description

Argument given to the progress callback with information about what is going on.

Definition at line 776 of file gnunet_fs_service.h.

Field Documentation

◆ pc

struct GNUNET_FS_PublishContext* GNUNET_FS_ProgressInfo::pc

Context for controlling the upload.

Definition at line 791 of file gnunet_fs_service.h.

◆ fi

const struct GNUNET_FS_FileInformation* GNUNET_FS_ProgressInfo::fi

Information about the file that is being publishd.

Definition at line 796 of file gnunet_fs_service.h.

◆ cctx

void* GNUNET_FS_ProgressInfo::cctx

Client context pointer (set the last time by the client for this operation; initially NULL on START/RESUME events).

Private context set for for this result during the "RESULT" event.

Note that this value can only be set on START/RESUME; returning non-NULL on RESULT/RESUME_RESULT will actually update the private context for "UPDATE" events.

Definition at line 802 of file gnunet_fs_service.h.

Referenced by GNUNET_FS_unindex_start(), and search_start().

◆ pctx

void* GNUNET_FS_ProgressInfo::pctx

Client context pointer for the parent operation (if this is a file in a directory or a subdirectory).

Client parent-context pointer; NULL for top-level searches, refers to the client context of the associated search result for automatically triggered searches for updates in namespaces.

In this case, 'presult' refers to that search result.

Definition at line 808 of file gnunet_fs_service.h.

◆ filename

const char* GNUNET_FS_ProgressInfo::filename

Name of the file being published; can be NULL.

Name of the file that is being unindexed.

Name of the file that we are downloading.

Definition at line 813 of file gnunet_fs_service.h.

◆ size

uint64_t GNUNET_FS_ProgressInfo::size

How large is the file overall? For directories, this is only the size of the directory itself, not of the other files contained within the directory.

How large is the file overall?

How large is the download overall? This is NOT necessarily the size from the URI since we may be doing a partial download.

Definition at line 821 of file gnunet_fs_service.h.

◆ eta

struct GNUNET_TIME_Relative GNUNET_FS_ProgressInfo::eta

At what time do we expect to finish the upload? (will be a value in the past for completed uploads).

At what time do we expect to finish unindexing? (will be a value in the past for completed unindexing opeations).

At what time do we expect to finish the download? (will be a value in the past for completed uploads).

At what time do we expect to finish the upload of the CONTENTS of the directory.

(The direcory itself will take extra time, indicated with the "eta" member at the "publish"-level of this struct.)

Definition at line 828 of file gnunet_fs_service.h.

◆ duration

struct GNUNET_TIME_Relative GNUNET_FS_ProgressInfo::duration

How long has this upload been actively running (excludes times where the upload was suspended).

How long has this search been actively running (excludes times where the search was paused or suspended).

How long has this download been active?

Definition at line 834 of file gnunet_fs_service.h.

◆ completed [1/2]

uint64_t GNUNET_FS_ProgressInfo::completed

How many bytes have we completed?

How far are we along in the overall directory?

Definition at line 839 of file gnunet_fs_service.h.

◆ anonymity

uint32_t GNUNET_FS_ProgressInfo::anonymity

What anonymity level is used for this upload?

What anonymity level is used for this search?

What anonymity level is used for this download?

Definition at line 844 of file gnunet_fs_service.h.

◆ data

const void* GNUNET_FS_ProgressInfo::data

Data block we just published.

Data block we just unindexed.

Data block we just obtained, can be NULL (even if data_len > 0) if we found the entire block 'intact' on disk.

In this case, it is also possible for 'data_len' to be larger than an individual (32k) block.

Definition at line 860 of file gnunet_fs_service.h.

◆ offset

uint64_t GNUNET_FS_ProgressInfo::offset

At what offset in the file is "data"?

Definition at line 865 of file gnunet_fs_service.h.

Referenced by progress_proc(), and unindex_progress().

◆ data_len

uint64_t GNUNET_FS_ProgressInfo::data_len

Length of the data block.

Definition at line 870 of file gnunet_fs_service.h.

◆ depth

unsigned int GNUNET_FS_ProgressInfo::depth

Depth of the given block in the tree; 0 would be the lowest level (DBLOCKs).

Depth of the given block in the tree; 0 would be the lowest level (DBLOCKS).

Definition at line 876 of file gnunet_fs_service.h.

Referenced by progress_proc(), and unindex_progress().

◆ progress [1/3]

struct { ... } GNUNET_FS_ProgressInfo::progress

These values are only valid for GNUNET_FS_STATUS_PUBLISH_PROGRESS events.

◆ total

uint64_t GNUNET_FS_ProgressInfo::total

How big do we estimate the entire directory to be?

Definition at line 893 of file gnunet_fs_service.h.

◆ progress_directory

struct { ... } GNUNET_FS_ProgressInfo::progress_directory

These values are only valid for GNUNET_FS_STATUS_PUBLISH_PROGRESS_DIRECTORY events.

◆ message

const char* GNUNET_FS_ProgressInfo::message

Error message, NULL if no error was encountered so far.

Error message.

Error message, NULL if we have not encountered any error yet.

Error message, never NULL.

Definition at line 913 of file gnunet_fs_service.h.

◆ chk_uri

const struct GNUNET_FS_Uri* GNUNET_FS_ProgressInfo::chk_uri

URI of the file (if the download had been completed)

CHK URI of the file.

Definition at line 918 of file gnunet_fs_service.h.

◆ sks_uri

const struct GNUNET_FS_Uri* GNUNET_FS_ProgressInfo::sks_uri

SKS URI of the file (if the download had been completed)

Definition at line 923 of file gnunet_fs_service.h.

◆ resume [1/4]

struct { ... } GNUNET_FS_ProgressInfo::resume

These values are only valid for GNUNET_FS_STATUS_PUBLISH_RESUME events.

◆ completed [2/2]

struct { ... } GNUNET_FS_ProgressInfo::completed

These values are only valid for GNUNET_FS_STATUS_PUBLISH_COMPLETED events.

◆ error [1/4]

struct { ... } GNUNET_FS_ProgressInfo::error

These values are only valid for GNUNET_FS_STATUS_PUBLISH_ERROR events.

◆ specifics [1/4]

union { ... } GNUNET_FS_ProgressInfo::specifics

Additional values for specific events.

◆ publish

struct { ... } GNUNET_FS_ProgressInfo::publish

◆ dc

struct GNUNET_FS_DownloadContext* GNUNET_FS_ProgressInfo::dc

Context for controlling the download.

Definition at line 966 of file gnunet_fs_service.h.

◆ sctx

void* GNUNET_FS_ProgressInfo::sctx

Client context pointer for the associated search operation (specifically, context pointer for the specific search result, not the overall search); only set if this download was started from a search result.

Definition at line 987 of file gnunet_fs_service.h.

◆ uri

const struct GNUNET_FS_Uri* GNUNET_FS_ProgressInfo::uri

URI used for this download.

URI for the search result.

Definition at line 992 of file gnunet_fs_service.h.

◆ is_active

int GNUNET_FS_ProgressInfo::is_active

Is the download currently active.

Definition at line 1031 of file gnunet_fs_service.h.

◆ block_download_duration

struct GNUNET_TIME_Relative GNUNET_FS_ProgressInfo::block_download_duration

How much time passed between us asking for this block and actually getting it? GNUNET_TIME_UNIT_FOREVER_REL if unknown.

Definition at line 1066 of file gnunet_fs_service.h.

◆ respect_offered

uint32_t GNUNET_FS_ProgressInfo::respect_offered

How much respect did we offer for downloading this block? (estimate, because we might have the same request pending for multiple clients, and of course because a transmission may have failed at a lower layer).

Definition at line 1080 of file gnunet_fs_service.h.

◆ num_transmissions

uint32_t GNUNET_FS_ProgressInfo::num_transmissions

How often did we transmit the request? (estimate, because we might have the same request pending for multiple clients, and of course because a transmission may have failed at a lower layer).

Definition at line 1088 of file gnunet_fs_service.h.

◆ progress [2/3]

struct { ... } GNUNET_FS_ProgressInfo::progress

These values are only valid for GNUNET_FS_STATUS_DOWNLOAD_PROGRESS events.

◆ meta

const struct GNUNET_CONTAINER_MetaData* GNUNET_FS_ProgressInfo::meta

Known metadata for the download.

Metadata for the namespace.

Metadata for the search result.

Definition at line 1100 of file gnunet_fs_service.h.

◆ start

struct { ... } GNUNET_FS_ProgressInfo::start

These values are only valid for GNUNET_FS_STATUS_DOWNLOAD_START events.

◆ resume [2/4]

struct { ... } GNUNET_FS_ProgressInfo::resume

These values are only valid for GNUNET_FS_STATUS_DOWNLOAD_RESUME events.

◆ error [2/4]

struct { ... } GNUNET_FS_ProgressInfo::error

These values are only valid for GNUNET_FS_STATUS_DOWNLOAD_ERROR events.

◆ specifics [2/4]

union { ... } GNUNET_FS_ProgressInfo::specifics

Additional values for specific events.

◆ download

struct { ... } GNUNET_FS_ProgressInfo::download

◆ sc

struct GNUNET_FS_SearchContext* GNUNET_FS_ProgressInfo::sc

Context for controlling the search, NULL for searches that were not explicitly triggered by the client (i.e., searches for updates in namespaces).

Definition at line 1145 of file gnunet_fs_service.h.

◆ query

const struct GNUNET_FS_Uri* GNUNET_FS_ProgressInfo::query

What query is used for this search (list of keywords or SKS identifier).

Definition at line 1169 of file gnunet_fs_service.h.

Referenced by gnunet-chk.Chk::__init__(), and gnunet-chk.Chk::uri().

◆ result [1/2]

struct GNUNET_FS_SearchResult* GNUNET_FS_ProgressInfo::result

Handle to the result (for starting downloads).

Definition at line 1207 of file gnunet_fs_service.h.

◆ applicability_rank

uint32_t GNUNET_FS_ProgressInfo::applicability_rank

Applicability rank (the larger, the better the result fits the search criteria).

Updated applicability rank (the larger, the better the result fits the search criteria).

Definition at line 1213 of file gnunet_fs_service.h.

◆ result [2/2]

struct { ... } GNUNET_FS_ProgressInfo::result

These values are only valid for GNUNET_FS_STATUS_SEARCH_RESULT events.

◆ availability_rank

int32_t GNUNET_FS_ProgressInfo::availability_rank

Current availability rank (negative: unavailable, positive: available)

Definition at line 1241 of file gnunet_fs_service.h.

◆ availability_certainty

uint32_t GNUNET_FS_ProgressInfo::availability_certainty

On how many total queries is the given availability_rank based?

Definition at line 1247 of file gnunet_fs_service.h.

◆ resume_result

struct { ... } GNUNET_FS_ProgressInfo::resume_result

These values are only valid for GNUNET_FS_STATUS_SEARCH_RESUME_RESULT events.

◆ current_probe_time

struct GNUNET_TIME_Relative GNUNET_FS_ProgressInfo::current_probe_time

How long has the current probe been active?

Definition at line 1301 of file gnunet_fs_service.h.

◆ update

struct { ... } GNUNET_FS_ProgressInfo::update

These values are only valid for GNUNET_FS_STATUS_SEARCH_UPDATE events.

◆ result_suspend

struct { ... } GNUNET_FS_ProgressInfo::result_suspend

These values are only valid for GNUNET_FS_STATUS_SEARCH_RESULT_SUSPEND events.

These events are automatically triggered for each search result before the GNUNET_FS_STATUS_SEARCH_SUSPEND event. This happens primarily to give the client a chance to clean up the "cctx" (if needed).

◆ result_stopped

struct { ... } GNUNET_FS_ProgressInfo::result_stopped

These values are only valid for GNUNET_FS_STATUS_SEARCH_RESULT_STOPPED events.

These events are automatically triggered for each search result before the GNUNET_FS_STATUS_SEARCH_STOPPED event. This happens primarily to give the client a chance to clean up the "cctx" (if needed).

◆ is_paused

int GNUNET_FS_ProgressInfo::is_paused

Is this search currently paused?

Definition at line 1374 of file gnunet_fs_service.h.

◆ resume [3/4]

struct { ... } GNUNET_FS_ProgressInfo::resume

These values are only valid for GNUNET_FS_STATUS_SEARCH_RESUME events.

◆ error [3/4]

struct { ... } GNUNET_FS_ProgressInfo::error

These values are only valid for GNUNET_FS_STATUS_SEARCH_ERROR events.

◆ name

const char* GNUNET_FS_ProgressInfo::name

Short, human-readable name of the namespace.

Definition at line 1397 of file gnunet_fs_service.h.

◆ root

const char* GNUNET_FS_ProgressInfo::root

Root identifier for the namespace, can be NULL.

Definition at line 1402 of file gnunet_fs_service.h.

◆ pseudonym

struct GNUNET_CRYPTO_EcdsaPublicKey GNUNET_FS_ProgressInfo::pseudonym

Public key of the namespace.

Definition at line 1412 of file gnunet_fs_service.h.

◆ ns

struct { ... } GNUNET_FS_ProgressInfo::ns

◆ specifics [3/4]

union { ... } GNUNET_FS_ProgressInfo::specifics

Additional values for specific events.

◆ search

struct { ... } GNUNET_FS_ProgressInfo::search

◆ uc

struct GNUNET_FS_UnindexContext* GNUNET_FS_ProgressInfo::uc

Context for controlling the unindexing.

Definition at line 1425 of file gnunet_fs_service.h.

◆ progress [3/3]

struct { ... } GNUNET_FS_ProgressInfo::progress

These values are only valid for GNUNET_FS_STATUS_UNINDEX_PROGRESS events.

◆ resume [4/4]

struct { ... } GNUNET_FS_ProgressInfo::resume

These values are only valid for GNUNET_FS_STATUS_UNINDEX_RESUME events.

◆ error [4/4]

struct { ... } GNUNET_FS_ProgressInfo::error

These values are only valid for GNUNET_FS_STATUS_UNINDEX_ERROR events.

◆ specifics [4/4]

union { ... } GNUNET_FS_ProgressInfo::specifics

Additional values for specific events.

◆ unindex

struct { ... } GNUNET_FS_ProgressInfo::unindex

◆ value

union { ... } GNUNET_FS_ProgressInfo::value

◆ status

enum GNUNET_FS_Status GNUNET_FS_ProgressInfo::status

◆ fsh

struct GNUNET_FS_Handle* GNUNET_FS_ProgressInfo::fsh

File-sharing handle that generated the event.

Definition at line 1530 of file gnunet_fs_service.h.

Referenced by GNUNET_FS_download_make_status_(), GNUNET_FS_publish_make_status_(), GNUNET_FS_search_make_status_(), and GNUNET_FS_unindex_make_status_().


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