diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-03-09 17:35:19 +0100 |
---|---|---|
committer | rodarima <rodarima@gmail.com> | 2024-03-09 18:43:51 +0100 |
commit | 4c56214b8c2e130d3709bdca2513aef20b7b0fab (patch) | |
tree | b8cd0c6dafb5850ba116221f6f39a62e84983aa5 /src/bw.h | |
parent | bde09c45adf0daf252fafbaf87683d3ed7eaab07 (diff) |
Use Doxygen comments for C files
Diffstat (limited to 'src/bw.h')
-rw-r--r-- | src/bw.h | 32 |
1 files changed, 16 insertions, 16 deletions
@@ -11,50 +11,50 @@ #define BW_Force (4) /* Stop connection too */ -/* browser_window contains the specific data for a single window */ +/** Contains the specific data for a single window */ typedef struct { - /* Pointer to the UI object this bw belongs to */ + /** Pointer to the UI object this bw belongs to */ void *ui; - /* All the rendering is done by this. + /** All the rendering is done by this. * It is defined as a void pointer to avoid C++ in this structure. * C++ sources have to include "dw/core.hh" and cast it into an object. */ void *render_layout; - /* Root document(s). Currently only used by DilloHtml */ + /** Root document(s). Currently only used by DilloHtml */ Dlist *Docs; - /* A list of active cache clients in the window (The primary Key) */ + /** A list of active cache clients in the window (The primary Key) */ Dlist *RootClients; - /* Image Keys for all active connections in the window */ + /** Image Keys for all active connections in the window */ Dlist *ImageClients; - /* Number of images in the page */ + /** Number of images in the page */ int NumImages; - /* Number of images already loaded */ + /** Number of images already loaded */ int NumImagesGot; - /* Number of not yet arrived style sheets */ + /** Number of not yet arrived style sheets */ int NumPendingStyleSheets; - /* List of all Urls requested by this page (and its types) */ + /** List of all Urls requested by this page (and its types) */ Dlist *PageUrls; - /* The navigation stack (holds indexes to history list) */ + /** The navigation stack (holds indexes to history list) */ Dlist *nav_stack; - /* 'nav_stack_ptr' refers to what's being displayed */ + /** 'nav_stack_ptr' refers to what's being displayed */ int nav_stack_ptr; /* [0 based; -1 = empty] */ - /* When the user clicks a link, the URL isn't pushed directly to history; + /** When the user clicks a link, the URL isn't pushed directly to history; * nav_expect_url holds it until a dw is assigned to it. Only then an entry * is made in history and referenced at the top of nav_stack */ DilloUrl *nav_expect_url; - /* Counter for the number of hops on a redirection. Used to stop + /** Counter for the number of hops on a redirection. Used to stop * redirection loops (accounts for WEB_RootUrl only) */ int redirect_level; - /* Url for zero-delay redirections in the META element */ + /** Url for zero-delay redirections in the META element */ int meta_refresh_status; DilloUrl *meta_refresh_url; - /* HTML-bugs detected at parse time */ + /** HTML-bugs detected at parse time */ int num_page_bugs; Dstr *page_bugs; } BrowserWindow; |