IDZEBRA
2.2.7
|
#include <stdio.h>
#include <assert.h>
#include <sys/types.h>
#include <direntz.h>
#include <fcntl.h>
#include <time.h>
#include "index.h"
Go to the source code of this file.
Functions | |
static void | repositoryExtractR (ZebraHandle zh, char *rep, int level, enum zebra_recctrl_action_t action) |
void | repositoryShow (ZebraHandle zh, const char *path) |
static void | repositoryExtract (ZebraHandle zh, const char *path, enum zebra_recctrl_action_t action) |
ZEBRA_RES | zebra_update_from_path (ZebraHandle zh, const char *path, enum zebra_recctrl_action_t action) |
|
static |
Definition at line 109 of file update_path.c.
References zebra_session::m_follow_links, zebra_session::path_reg, repositoryExtractR(), zebra_extract_file(), and zebra_file_stat().
Referenced by zebra_update_from_path().
|
static |
Definition at line 40 of file update_path.c.
References dir_free(), dir_open(), dirs_dir, dirs_file, dir_entry::kind, zebra_session::m_follow_links, dir_entry::name, zebra_session::path_reg, and zebra_extract_file().
Referenced by repositoryExtract().
void repositoryShow | ( | ZebraHandle | zh, |
const char * | path | ||
) |
Definition at line 77 of file update_path.c.
References zebra_register::bfs, dict, dict_close(), dict_open_res(), dirs_free(), dirs_open(), dirs_read(), FMATCH_DICT, zebra_session::m_flag_rw, dirs_entry::path, zebra_session::reg, and zebra_session::res.
Referenced by zebra_repository_show().
ZEBRA_RES zebra_update_from_path | ( | ZebraHandle | zh, |
const char * | path, | ||
enum zebra_recctrl_action_t | action | ||
) |
Definition at line 143 of file update_path.c.
References repositoryExtract(), and ZEBRA_OK.
Referenced by zebra_repository_index().