diff options
author | Ole Loots <ole@monochrom.net> | 2012-12-21 14:05:55 +0100 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2012-12-21 14:05:55 +0100 |
commit | 858b8a5a0ad13be8ca57e76c34e1a1bbe993fb07 (patch) | |
tree | 587b8906ac01adbee9349940defc8e6b7a7892d0 /desktop/options.h | |
parent | 15f8a056d5daca0600fbb11485060ac3337ffebe (diff) | |
download | netsurf-858b8a5a0ad13be8ca57e76c34e1a1bbe993fb07.tar.gz netsurf-858b8a5a0ad13be8ca57e76c34e1a1bbe993fb07.tar.bz2 |
HTML Choices editing works now, but it still requires
some authentication token to be generated to make it secure.
Diffstat (limited to 'desktop/options.h')
-rw-r--r-- | desktop/options.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/options.h b/desktop/options.h index 53c025c18..d5c113baa 100644 --- a/desktop/options.h +++ b/desktop/options.h @@ -179,6 +179,15 @@ int nsoption_snoptionf(char *string, size_t size, unsigned int option, void nsoption_commandline(int *pargc, char **argv); /** +* Set an option by it's key +* +* \param name the option key to search for. +* \param value the value (as string) +* \return true on success, false when the option key is not found. +*/ +bool nsoption_set_key(const char *key, const char *value); + +/** * Set default values for unset front-end specific options */ void gui_options_init_defaults(void); |