#include <common/ac/stdio.h>#include <common/main.h>#include <common/config.h>Go to the source code of this file.
Defines | |
| #define | glue_access access |
| #define | glue_catfile catfile |
| #define | glue_chmod chmod |
| #define | glue_chown chown |
| #define | glue_close ::close |
| #define | glue_creat creat |
| #define | glue_copyfile copyfile |
| #define | glue_fclose fclose |
| #define | glue_fcntl fcntl |
| #define | glue_ferror ferror |
| #define | glue_fflush fflush |
| #define | glue_fgetc getc |
| #define | glue_file_compare file_compare |
| #define | glue_file_fingerprint file_fingerprint |
| #define | glue_fopen fopen |
| #define | glue_fputc putc |
| #define | glue_getcwd getcwd |
| #define | glue_link link |
| #define | glue_lstat lstat |
| #define | glue_mkdir mkdir |
| #define | glue_open ::open |
| #define | glue_pathconf pathconf |
| #define | glue_read ::read |
| #define | glue_readlink readlink |
| #define | glue_read_whole_dir read_whole_dir |
| #define | glue_rename rename |
| #define | glue_rmdir rmdir |
| #define | glue_rmdir_bg rmdir_bg |
| #define | glue_rmdir_tree rmdir_tree |
| #define | glue_stat stat |
| #define | glue_symlink symlink |
| #define | glue_ungetc ungetc |
| #define | glue_unlink unlink |
| #define | glue_utime utime |
| #define | glue_lutime lutime |
| #define | glue_write ::write |
| #define | glue_fwrite fwrite |
Functions | |
| int | copyfile (const char *src, const char *dst) |
| int | catfile (const char *path) |
| int | read_whole_dir (const char *path, char **data, long *datalen) |
| int | read_whole_dir__wl (const char *path, struct string_list_ty *wl) |
| int | read_whole_dir__wl (const nstring &path, nstring_list &wl) |
| int | read_whole_dir__wla (const char *path, struct string_list_ty *wl) |
| int | read_whole_dir__wla (const nstring &path, nstring_list &wl) |
| int | file_compare (const char *, const char *) |
| int | file_fingerprint (const char *path, char *buf, int max) |
| int | rmdir_bg (const char *path) |
| int | rmdir_tree (const char *path) |
| int | glue_access (const char *path, int mode) |
| int | glue_catfile (const char *path) |
| int | glue_chmod (const char *path, int mode) |
| int | glue_chown (const char *path, int uid, int gid) |
| int | glue_close (int fd) |
| int | glue_creat (const char *path, int mode) |
| int | glue_copyfile (const char *src, const char *dst) |
| int | glue_fclose (FILE *) |
| int | glue_file_compare (const char *, const char *) |
| int | glue_file_fingerprint (const char *path, char *buf, int max) |
| int | glue_fcntl (int fd, int cmd, struct flock *) |
| int | glue_ferror (FILE *) |
| int | glue_fflush (FILE *) |
| int | glue_fgetc (FILE *) |
| FILE * | glue_fopen (const char *path, const char *mode) |
| int | glue_fputc (int, FILE *) |
| char * | glue_getcwd (char *buf, int max) |
| int | glue_link (const char *p1, const char *p2) |
| int | glue_lstat (const char *path, struct stat *st) |
| int | glue_mkdir (const char *path, int mode) |
| int | glue_open (const char *path, int mode, int perm) |
| long | glue_pathconf (const char *path, int mode) |
| long | glue_read (int fd, void *data, size_t len) |
| int | glue_readlink (const char *path, char *buf, int max) |
| int | glue_read_whole_dir (const char *path, char **data, long *datalen) |
| int | glue_rename (const char *p1, const char *p2) |
| int | glue_rmdir (const char *path) |
| int | glue_rmdir_bg (const char *path) |
| int | glue_rmdir_tree (const char *path) |
| int | glue_stat (const char *path, struct stat *st) |
| int | glue_symlink (const char *name1, const char *name2) |
| int | glue_ungetc (int, FILE *) |
| int | glue_unlink (const char *path) |
| int | glue_utime (const char *path, struct utimbuf *) |
| int | glue_lutime (const char *path, struct utimbuf *) |
| int | glue_write (int fd, const void *data, long len) |
| int | glue_fwrite (char *, long, long, FILE *) |
| int catfile | ( | const char * | path | ) |
| int copyfile | ( | const char * | src, | |
| const char * | dst | |||
| ) |
| int file_compare | ( | const char * | , | |
| const char * | ||||
| ) |
| int file_fingerprint | ( | const char * | path, | |
| char * | buf, | |||
| int | max | |||
| ) |
| int glue_access | ( | const char * | path, | |
| int | mode | |||
| ) |
| int glue_catfile | ( | const char * | path | ) |
| int glue_chmod | ( | const char * | path, | |
| int | mode | |||
| ) |
| int glue_chown | ( | const char * | path, | |
| int | uid, | |||
| int | gid | |||
| ) |
| int glue_close | ( | int | fd | ) |
| int glue_copyfile | ( | const char * | src, | |
| const char * | dst | |||
| ) |
| int glue_creat | ( | const char * | path, | |
| int | mode | |||
| ) |
| int glue_fclose | ( | FILE * | ) |
| int glue_fcntl | ( | int | fd, | |
| int | cmd, | |||
| struct flock * | ||||
| ) |
| int glue_ferror | ( | FILE * | ) |
| int glue_fflush | ( | FILE * | ) |
| int glue_fgetc | ( | FILE * | ) |
| int glue_file_compare | ( | const char * | , | |
| const char * | ||||
| ) |
| int glue_file_fingerprint | ( | const char * | path, | |
| char * | buf, | |||
| int | max | |||
| ) |
| FILE* glue_fopen | ( | const char * | path, | |
| const char * | mode | |||
| ) |
| int glue_fputc | ( | int | , | |
| FILE * | ||||
| ) |
| int glue_fwrite | ( | char * | , | |
| long | , | |||
| long | , | |||
| FILE * | ||||
| ) |
| char* glue_getcwd | ( | char * | buf, | |
| int | max | |||
| ) |
| int glue_link | ( | const char * | p1, | |
| const char * | p2 | |||
| ) |
| int glue_lstat | ( | const char * | path, | |
| struct stat * | st | |||
| ) |
| int glue_lutime | ( | const char * | path, | |
| struct utimbuf * | ||||
| ) |
| int glue_mkdir | ( | const char * | path, | |
| int | mode | |||
| ) |
| int glue_open | ( | const char * | path, | |
| int | mode, | |||
| int | perm | |||
| ) |
| long glue_pathconf | ( | const char * | path, | |
| int | mode | |||
| ) |
| long glue_read | ( | int | fd, | |
| void * | data, | |||
| size_t | len | |||
| ) |
| int glue_read_whole_dir | ( | const char * | path, | |
| char ** | data, | |||
| long * | datalen | |||
| ) |
| int glue_readlink | ( | const char * | path, | |
| char * | buf, | |||
| int | max | |||
| ) |
| int glue_rename | ( | const char * | p1, | |
| const char * | p2 | |||
| ) |
| int glue_rmdir | ( | const char * | path | ) |
| int glue_rmdir_bg | ( | const char * | path | ) |
| int glue_rmdir_tree | ( | const char * | path | ) |
| int glue_stat | ( | const char * | path, | |
| struct stat * | st | |||
| ) |
| int glue_symlink | ( | const char * | name1, | |
| const char * | name2 | |||
| ) |
| int glue_ungetc | ( | int | , | |
| FILE * | ||||
| ) |
| int glue_unlink | ( | const char * | path | ) |
| int glue_utime | ( | const char * | path, | |
| struct utimbuf * | ||||
| ) |
| int glue_write | ( | int | fd, | |
| const void * | data, | |||
| long | len | |||
| ) |
| int read_whole_dir | ( | const char * | path, | |
| char ** | data, | |||
| long * | datalen | |||
| ) |
| int read_whole_dir__wl | ( | const nstring & | path, | |
| nstring_list & | wl | |||
| ) |
The read_whole_dir__wl function may be used to read the list of file names contained in a directory. It is returned as a nstring_list.
| path | The path to read the directory entries of. | |
| wl | The string list to hold the answers. It is clear()ed first. |
| int read_whole_dir__wl | ( | const char * | path, | |
| struct string_list_ty * | wl | |||
| ) |
The read_whole_dir__wl function may be used to read the list of file names contained in a directory. It is returned as a string_list_ty. The string list is initialized (via string_list_constructor) before the results are appended.
| path | The path to read the directory entries of. | |
| wl | The string list to hold the answers. It is clear()ed first. |
| int read_whole_dir__wla | ( | const nstring & | path, | |
| nstring_list & | wl | |||
| ) |
The read_whole_dir__wla function may be used to read the list of file names contained in a directory and append them to the given string list. It is returned as a string_list_ty.
| path | The path to read the directory entries of. | |
| wl | The string list to hold the answers. It is NOT clear()ed first. |
| int read_whole_dir__wla | ( | const char * | path, | |
| struct string_list_ty * | wl | |||
| ) |
The read_whole_dir__wla function may be used to read the list of file names contained in a directory and append them to the given string list. It is returned as a string_list_ty.
| path | The path to read the directory entries of. | |
| wl | The string list to hold the answers. It is NOT clear()ed first. |
| int rmdir_bg | ( | const char * | path | ) |
| int rmdir_tree | ( | const char * | path | ) |
1.5.5