static struct pathelem *new_entry(const char *root,

                                  struct pathelem *parent,

                                  const char *name)

{

    struct pathelem *new = malloc(sizeof(*new));

    new->name = strdup(name);

    new->pathname = g_strdup_printf("%s/%s", root, name);

    new->num_entries = 0;

    return new;

}

static struct pathelem *new_entry(const char *root,

                                  struct pathelem *parent,

                                  const char *name)

{

    struct pathelem *new = malloc(sizeof(*new));

    new->name = strdup(name);

    new->pathname = g_strdup_printf("%s/%s", root, name);

    new->num_entries = 0;

    return new;

}

    struct pathelem *new = malloc(sizeof(*new));     new->name = strdup(name);
static struct pathelem *FUNC_0(const char *VAR_0,

                                  struct pathelem *VAR_1,

                                  const char *VAR_2)

{

    struct pathelem *VAR_3 = malloc(sizeof(*VAR_3));

    VAR_3->VAR_2 = strdup(VAR_2);

    VAR_3->pathname = g_strdup_printf("%s/%s", VAR_0, VAR_2);

    VAR_3->num_entries = 0;

    return VAR_3;

}

static struct pathelem *FUNC_0(const char *VAR_0,
struct pathelem *VAR_1,
const char *VAR_2)
{ struct pathelem *VAR_3 = malloc(sizeof(*VAR_3)); VAR_3->VAR_2 = strdup(VAR_2); VAR_3->pathname = g_strdup_printf("%s/%s", VAR_0, VAR_2); VAR_3->num_entries = 0; return VAR_3; }