mirror of
https://github.com/rkd77/elinks.git
synced 2025-04-18 00:47:36 -04:00
[module] name - const char *
This commit is contained in:
parent
0e8ee7876a
commit
36a4fc1c2f
@ -13,7 +13,7 @@ extern "C" {
|
|||||||
struct module {
|
struct module {
|
||||||
/* The name of the module. It needs to be unique in its class (ie. in
|
/* 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). */
|
* 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 options that should be registered for this module.
|
||||||
* The table should end with NULL_OPTION_INFO. */
|
* 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 *
|
struct mime_handler *
|
||||||
init_mime_handler(char *program, char *description,
|
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);
|
int programlen = strlen(program);
|
||||||
struct mime_handler *handler;
|
struct mime_handler *handler;
|
||||||
|
@ -31,7 +31,7 @@ get_next_path_filename(char **path_ptr, unsigned char separator);
|
|||||||
|
|
||||||
struct mime_handler *
|
struct mime_handler *
|
||||||
init_mime_handler(char *program, char *description,
|
init_mime_handler(char *program, char *description,
|
||||||
char *backend_name, int ask, int block);
|
const char *backend_name, int ask, int block);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@ struct uri;
|
|||||||
|
|
||||||
struct mime_handler {
|
struct mime_handler {
|
||||||
char *description;
|
char *description;
|
||||||
char *backend_name;
|
const char *backend_name;
|
||||||
unsigned int ask:1;
|
unsigned int ask:1;
|
||||||
unsigned int block:1;
|
unsigned int block:1;
|
||||||
unsigned int copiousoutput:1;
|
unsigned int copiousoutput:1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user