Main Page Modules Data Structures File List Data Fields Globals Related Pages

# RPMRPC.

## RPMRPC Vectors.

typedef int(* | fdio_mkdir_function_t )(const char *path, mode_t mode)
typedef int(* | fdio_chdir_function_t )(const char *path)
typedef int(* | fdio_rmdir_function_t )(const char *path)
typedef int(* | fdio_rename_function_t )(const char *oldpath, const char *newpath)
typedef int(* | fdio_unlink_function_t )(const char *path)
typedef int(* | fdio_stat_function_t )(const char *path, struct stat *st)
typedef int(* | fdio_lstat_function_t )(const char *path, struct stat *st)
typedef int(* | fdio_access_function_t )(const char *path, int amode)

## RPMRPC Interface.

int | Mkdir (const char *path, mode_t mode)
| mkdir(2) clone. More...
int | Chdir (const char *path)
| chdir(2) clone. More...
int | Rmdir (const char *path)
| rmdir(2) clone. More...
int | Rename (const char *oldpath, const char *newpath)
| rename(2) clone. More...
int | Link (const char *oldpath, const char *newpath)
| link(2) clone. More...
int | Unlink (const char *path)
| unlink(2) clone. More...
int | Readlink (const char *path, char *buf, size_t bufsiz)
| readlink(2) clone. More...
int | Stat (const char *path, struct stat *st)
| stat(2) clone. More...
int | Lstat (const char *path, struct stat *st)
| lstat(2) clone. More...
int | Access (const char *path, int amode)
| access(2) clone. More...
int | Glob (const char *pattern, int flags, int errfunc(const char *epath, int eerrno), glob_t *pglob)
| glob(3) clone. More...
void | Globfree (glob_t *pglob)
| globfree(3) clone. More...
DIR * | Opendir (const char *path)
| opendir(3) clone. More...
dirent * | Readdir (DIR *dir)
| readdir(3) clone. More...
int | Closedir (DIR *dir)
| closedir(3) clone. More...

## Typedef Documentation

typedef int(* fdio_access_function_t)(const char * path, int amode)

| Definition at line 192 of file rpmio.h.

typedef int(* fdio_chdir_function_t)(const char * path)

| Definition at line 155 of file rpmio.h.

typedef int(* fdio_lstat_function_t)(const char * path, struct stat * st)

| Definition at line 186 of file rpmio.h.

typedef int(* fdio_mkdir_function_t)(const char * path, mode_t mode)

| Definition at line 149 of file rpmio.h.

typedef int(* fdio_rename_function_t)(const char * oldpath, const char * newpath)

| Definition at line 167 of file rpmio.h.

typedef int(* fdio_rmdir_function_t)(const char * path)

| Definition at line 161 of file rpmio.h.

typedef int(* fdio_stat_function_t)(const char * path, struct stat * st)

| Definition at line 180 of file rpmio.h.

typedef int(* fdio_unlink_function_t)(const char * path)

| Definition at line 173 of file rpmio.h.

## Function Documentation

int Access | ( | const char * | path,
|  | int | amode
| ) |

| access(2) clone. Definition at line 1137 of file rpmrpc.c.

int Chdir | ( | const char * | path | ) |

| chdir(2) clone. Definition at line 92 of file rpmrpc.c.

int Closedir | ( | DIR * | dir | ) |

| closedir(3) clone. Definition at line 1233 of file rpmrpc.c.

int Glob | ( | const char * | pattern,
|  | int | flags,
|  | int errfunc(const char *epath, int eerrno) | ,
|  | glob_t * | pglob
| ) |

| glob(3) clone. Definition at line 1160 of file rpmrpc.c.

void Globfree | ( | glob_t * | pglob | ) |

| globfree(3) clone. Definition at line 1188 of file rpmrpc.c.

int Link | ( | const char * | oldpath,
|  | const char * | newpath
| ) |

| link(2) clone. Definition at line 187 of file rpmrpc.c.

int Lstat | ( | const char * | path,
|  | struct stat * | st
| ) |

| lstat(2) clone. Definition at line 1089 of file rpmrpc.c.

int Mkdir | ( | const char * | path,
|  | mode_t | mode
| ) |

| mkdir(2) clone. Definition at line 69 of file rpmrpc.c. References fdio_write_function_t.

DIR* Opendir | ( | const char * | path | ) |

| opendir(3) clone. Definition at line 1200 of file rpmrpc.c.

struct dirent* Readdir | ( | DIR * | dir | ) |

| readdir(3) clone. Definition at line 1226 of file rpmrpc.c. Referenced by Readdir.

int Readlink | ( | const char * | path,
|  | char * | buf,
|  | size_t | bufsiz
| ) |

| readlink(2) clone. Definition at line 1114 of file rpmrpc.c.

int Rename | ( | const char * | oldpath,
|  | const char * | newpath
| ) |

| rename(2) clone. Definition at line 140 of file rpmrpc.c.

int Rmdir | ( | const char * | path | ) |

| rmdir(2) clone. Definition at line 115 of file rpmrpc.c.

int Stat | ( | const char * | path,
|  | struct stat * | st
| ) |

| stat(2) clone. Definition at line 1064 of file rpmrpc.c.

int Unlink | ( | const char * | path | ) |

| unlink(2) clone. Definition at line 231 of file rpmrpc.c.