1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-07-18 15:24:36 -04:00

[module] name - const char *

This commit is contained in:
Witold Filipczyk 2022-01-14 21:08:04 +01:00
parent 0e8ee7876a
commit 36a4fc1c2f
4 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ extern "C" {
struct module {
/* The name of the module. It needs to be unique in its class (ie. in
* the scope of root modules or submodules of one parent module). */
char *name;
const char *name;
/* The options that should be registered for this module.
* The table should end with NULL_OPTION_INFO. */

View File

@ -106,7 +106,7 @@ get_next_path_filename(char **path_ptr, unsigned char separator)
struct mime_handler *
init_mime_handler(char *program, char *description,
char *backend_name, int ask, int block)
const char *backend_name, int ask, int block)
{
int programlen = strlen(program);
struct mime_handler *handler;

View File

@ -31,7 +31,7 @@ get_next_path_filename(char **path_ptr, unsigned char separator);
struct mime_handler *
init_mime_handler(char *program, char *description,
char *backend_name, int ask, int block);
const char *backend_name, int ask, int block);
#ifdef __cplusplus
}

View File

@ -12,7 +12,7 @@ struct uri;
struct mime_handler {
char *description;
char *backend_name;
const char *backend_name;
unsigned int ask:1;
unsigned int block:1;
unsigned int copiousoutput:1;