IDZEBRA
2.2.7
|
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <direntz.h>
#include <sys/types.h>
#include <errno.h>
#include <fcntl.h>
#include "index.h"
Go to the source code of this file.
Functions | |
int | zebra_file_stat (const char *file_name, struct stat *buf, int follow_links) |
struct dir_entry * | dir_open (const char *rep, const char *base, int follow_links) |
static int | dir_cmp (const void *p1, const void *p2) |
void | dir_sort (struct dir_entry *e) |
void | dir_free (struct dir_entry **e_p) |
|
static |
void dir_free | ( | struct dir_entry ** | e_p | ) |
Definition at line 146 of file dir.c.
References dir_entry::name.
Referenced by file_update_r(), and repositoryExtractR().
struct dir_entry* dir_open | ( | const char * | rep, |
const char * | base, | ||
int | follow_links | ||
) |
Definition at line 48 of file dir.c.
References dirs_dir, dirs_file, dir_entry::kind, dir_entry::mtime, dir_entry::name, and zebra_file_stat().
Referenced by file_update_r(), and repositoryExtractR().
void dir_sort | ( | struct dir_entry * | e | ) |
Definition at line 138 of file dir.c.
References dir_cmp(), and dir_entry::name.
Referenced by file_update_r().
int zebra_file_stat | ( | const char * | file_name, |
struct stat * | buf, | ||
int | follow_links | ||
) |
Definition at line 38 of file dir.c.
Referenced by dir_open(), file_update_top(), and repositoryExtract().