GNUnet  0.18.1
StaticPage Struct Reference

Structure representing a static page. More...

Collaboration diagram for StaticPage:
[legend]

Data Fields

struct GNUNET_DISK_FileHandlehandle
 Handle to file on disk. More...
 
uint64_t size
 Size in bytes of the file. More...
 
struct MHD_Response * response
 Cached response object to send to clients. More...
 

Detailed Description

Structure representing a static page.

"Static" means that the server does not process the page before sending it to the client. Clients can still process the received data, for example because there are scripting elements within.

Definition at line 42 of file gnunet-namestore-fcfsd.c.

Field Documentation

◆ handle

struct GNUNET_DISK_FileHandle* StaticPage::handle

Handle to file on disk.

Definition at line 47 of file gnunet-namestore-fcfsd.c.

Referenced by do_shutdown(), and open_static_page().

◆ size

uint64_t StaticPage::size

Size in bytes of the file.

Definition at line 52 of file gnunet-namestore-fcfsd.c.

Referenced by open_static_page().

◆ response

struct MHD_Response* StaticPage::response

Cached response object to send to clients.

Definition at line 57 of file gnunet-namestore-fcfsd.c.

Referenced by create_response(), do_shutdown(), and open_static_page().


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