ELinks 0.18.0
|
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "elinks.h"
#include "config/home.h"
#include "config/options.h"
#include "intl/libintl.h"
#include "main/main.h"
#include "osdep/osdep.h"
#include "util/memory.h"
#include "util/string.h"
Macros | |
#define | IS_ABSOLUTE_PATH(P) dir_sep((P)[0]) |
#define | IS_PATH_WITH_DIR(P) strchr ((const char *)(P), '/') |
Functions | |
static void | strip_trailing_dir_sep (char *path) |
static char * | path_skip_root (const char *file_name) |
static int | mkdir_with_parents (const char *pathname, mode_t mode) |
static char * | test_confdir (const char *home, const char *path, char *error_message) |
char * | get_xdg_config_home (void) |
static char * | get_xdg_config_home_internal (void) |
void | init_home (void) |
void | done_home (void) |
Variables | |
int | first_use = 0 |
static char * | xdg_config_home = NULL |
#define IS_ABSOLUTE_PATH | ( | P | ) | dir_sep((P)[0]) |
#define IS_PATH_WITH_DIR | ( | P | ) | strchr ((const char *)(P), '/') |
void done_home | ( | void | ) |
char * get_xdg_config_home | ( | void | ) |
|
static |
void init_home | ( | void | ) |
|
static |
|
static |
|
inlinestatic |
|
static |
int first_use = 0 |
|
static |