ELinks 0.18.0
conf.h File Reference
#include "terminal/terminal.h"
#include "util/string.h"
Include dependency graph for conf.h:
This graph shows which files directly or indirectly include this file:

Enumerations

enum  parse_error {
  ERROR_NONE , ERROR_COMMAND , ERROR_PARSE , ERROR_OPTION ,
  ERROR_VALUE , ERROR_NOMEM
}
 

Functions

void load_config (void)
 
void parse_config_file (struct option *options, const char *name, char *file, struct string *mirror, int is_system_conf)
 
int write_config (struct terminal *)
 
char * create_config_string (const char *prefix, const char *name)
 
char * create_about_config_string (void)
 
void set_option_or_save (const char *str)
 
struct stringwrap_option_desc (struct string *out, const char *src, const struct string *indent, int maxwidth)
 

Enumeration Type Documentation

◆ parse_error

Enumerator
ERROR_NONE 
ERROR_COMMAND 
ERROR_PARSE 
ERROR_OPTION 
ERROR_VALUE 
ERROR_NOMEM 

Function Documentation

◆ create_about_config_string()

char * create_about_config_string ( void )

◆ create_config_string()

char * create_config_string ( const char * prefix,
const char * name )

◆ load_config()

void load_config ( void )

◆ parse_config_file()

void parse_config_file ( struct option * options,
const char * name,
char * file,
struct string * mirror,
int is_system_conf )

◆ set_option_or_save()

void set_option_or_save ( const char * str)

◆ wrap_option_desc()

struct string * wrap_option_desc ( struct string * out,
const char * src,
const struct string * indent,
int maxwidth )

◆ write_config()

int write_config ( struct terminal * term)