42typedef rpmFlags rpmglobFlags;
52int rpmDoDigest(
int algo,
const char * fn,
int asAscii,
unsigned char * digest);
81int rpmioMkpath(
const char * path, mode_t mode, uid_t uid, gid_t gid);
91int rpmMkdirs(
const char *root,
const char *pathstr);
111 const char * urlmdir,
112 const char * urlfile);
119char *
rpmGetPath (
const char * path, ...) RPM_GNUC_NULL_TERMINATED;
132 int * argcPtr, ARGV_t * argvPtr);
141int rpmGlob(const
char * pattern,
int * argcPtr, ARGV_t * argvPtr);
char * rpmEscapeSpaces(const char *s)
FD_t rpmMkTempFile(const char *prefix, char **fn)
int rpmGlobPath(const char *pattern, rpmglobFlags flags, int *argcPtr, ARGV_t *argvPtr)
int rpmFileIsCompressed(const char *file, rpmCompressedMagic *compressed)
int rpmioMkpath(const char *path, mode_t mode, uid_t uid, gid_t gid)
enum rpmCompressedMagic_e rpmCompressedMagic
char * rpmCleanPath(char *path)
char * rpmGetPath(const char *path,...) RPM_GNUC_NULL_TERMINATED
char * rpmEscape(const char *s, const char *accept)
rpmCompressedMagic_e
Definition rpmfileutil.h:20
rpmglobFlags_e
Definition rpmfileutil.h:37
int rpmDoDigest(int algo, const char *fn, int asAscii, unsigned char *digest)
char * rpmGenPath(const char *urlroot, const char *urlmdir, const char *urlfile)
FD_t rpmMkTemp(char *templ)
int rpmMkdirs(const char *root, const char *pathstr)
void rpmUnescape(char *s, const char *accept)
int rpmFileHasSuffix(const char *path, const char *suffix)
int rpmGlob(const char *pattern, int *argcPtr, ARGV_t *argvPtr)
@ COMPRESSED_OTHER
Definition rpmfileutil.h:22
@ COMPRESSED_ZIP
Definition rpmfileutil.h:24
@ COMPRESSED_XZ
Definition rpmfileutil.h:26
@ COMPRESSED_NOT
Definition rpmfileutil.h:21
@ COMPRESSED_ZSTD
Definition rpmfileutil.h:31
@ COMPRESSED_LZIP
Definition rpmfileutil.h:27
@ COMPRESSED_7ZIP
Definition rpmfileutil.h:29
@ COMPRESSED_LRZIP
Definition rpmfileutil.h:28
@ COMPRESSED_LZMA
Definition rpmfileutil.h:25
@ COMPRESSED_BZIP2
Definition rpmfileutil.h:23
@ COMPRESSED_GEM
Definition rpmfileutil.h:30
@ RPMGLOB_NOCHECK
Definition rpmfileutil.h:39
struct _FD_s * FD_t
Definition rpmtypes.h:99