mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[module] name - const char *
This commit is contained in:
parent
0e8ee7876a
commit
36a4fc1c2f
@ -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. */
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user