Resynced with upx 1.2 branch.
committer: mfx <mfx> 1031577224 +0000
This commit is contained in:
+4
-6
@@ -34,18 +34,16 @@
|
||||
// misc. support functions
|
||||
**************************************************************************/
|
||||
|
||||
int upx_snprintf(char *str, long n, const char *format, ...);
|
||||
int upx_vsnprintf(char *str, long n, const char *format, va_list ap);
|
||||
|
||||
char *fn_basename(const char *name);
|
||||
int fn_strcmp(const char *n1, const char *n2);
|
||||
char *fn_strlwr(char *n);
|
||||
bool fn_has_ext(const char *name, const char *ext, bool ignore_case=true);
|
||||
|
||||
bool file_exists(const char *name);
|
||||
bool maketempname(char *ofilename, const char *ifilename,
|
||||
const char *ext, bool force=true);
|
||||
bool makebakname(char *ofilename, const char *ifilename, bool force=true);
|
||||
bool maketempname(char *ofilename, size_t size,
|
||||
const char *ifilename, const char *ext, bool force=true);
|
||||
bool makebakname(char *ofilename, size_t size,
|
||||
const char *ifilename, bool force=true);
|
||||
bool isafile(int fd);
|
||||
|
||||
unsigned get_ratio(unsigned u_len, unsigned c_len);
|
||||
|
||||
Reference in New Issue
Block a user