misc.h | misc.h | |||
---|---|---|---|---|
skipping to change at line 16 | skipping to change at line 16 | |||
# include <stdio.h> | # include <stdio.h> | |||
#else | #else | |||
# include <cstdarg> | # include <cstdarg> | |||
# include <cstdio> | # include <cstdio> | |||
#endif | #endif | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
struct stat; | ||||
/* | /* | |||
* DIR.C | * DIR.C | |||
*/ | */ | |||
enum { | enum { | |||
HXF_UID = 1 << 0, | HXF_UID = 1 << 0, | |||
HXF_GID = 1 << 1, | HXF_GID = 1 << 1, | |||
HXF_KEEP = 1 << 2, | HXF_KEEP = 1 << 2, | |||
}; | }; | |||
extern void *HXdir_open(const char *); | extern void *HXdir_open(const char *); | |||
skipping to change at line 42 | skipping to change at line 44 | |||
/* | /* | |||
* DL.C | * DL.C | |||
*/ | */ | |||
extern void *HX_dlopen(const char *); | extern void *HX_dlopen(const char *); | |||
extern void *HX_dlsym(void *, const char *); | extern void *HX_dlsym(void *, const char *); | |||
extern void HX_dlclose(void *); | extern void HX_dlclose(void *); | |||
extern const char *HX_dlerror(void); | extern const char *HX_dlerror(void); | |||
/* | /* | |||
* OTHER.C | * MISC.C | |||
*/ | */ | |||
enum { | enum { | |||
HX_FSYSTEM_ARGV = 1 << 0, | HX_FSYSTEM_ARGV = 1 << 0, | |||
HX_FSYSTEM_EXEC = 1 << 1, | HX_FSYSTEM_EXEC = 1 << 1, | |||
HX_FSYSTEM_ARGV1 = 1 << 2, | HX_FSYSTEM_ARGV1 = 1 << 2, | |||
}; | }; | |||
extern int HX_ffs(unsigned long); | extern int HX_ffs(unsigned long); | |||
extern void HX_hexdump(FILE *, const void *, unsigned int); | extern void HX_hexdump(FILE *, const void *, unsigned int); | |||
extern long HX_time_compare(const struct stat *, const struct stat *, char) ; | ||||
extern void HX_zvecfree(char **); | extern void HX_zvecfree(char **); | |||
extern int HX_fsystem(unsigned int, const char *, const char *, ...); | extern int HX_fsystem(unsigned int, const char *, const char *, ...); | |||
extern int HX_vfsystem(unsigned int, const char *, const char *, va_list); | extern int HX_vfsystem(unsigned int, const char *, const char *, va_list); | |||
/* | /* | |||
* RAND.C | * RAND.C | |||
*/ | */ | |||
extern int HX_rand(void); | extern int HX_rand(void); | |||
extern unsigned int HX_irand(unsigned int, unsigned int); | extern unsigned int HX_irand(unsigned int, unsigned int); | |||
End of changes. 3 change blocks. | ||||
1 lines changed or deleted | 4 lines changed or added | |||
option.h | option.h | |||
---|---|---|---|---|
skipping to change at line 67 | skipping to change at line 67 | |||
HXTYPE_ULONG, | HXTYPE_ULONG, | |||
HXTYPE_LONG, | HXTYPE_LONG, | |||
HXTYPE_ULLONG, | HXTYPE_ULLONG, | |||
HXTYPE_LLONG, | HXTYPE_LLONG, | |||
HXTYPE_FLOAT, | HXTYPE_FLOAT, | |||
HXTYPE_DOUBLE, | HXTYPE_DOUBLE, | |||
/* read string and put into *(const char **) */ | /* read string and put into *(const char **) */ | |||
HXTYPE_STRING, | HXTYPE_STRING, | |||
HXTYPE_STRP, /* (const char **) */ | HXTYPE_STRP, /* (const char **) */ | |||
HXTYPE_STRDQ, | HXTYPE_STRDQ, | |||
HXTYPE_UINT8, | ||||
HXTYPE_UINT16, | ||||
HXTYPE_UINT32, | ||||
HXTYPE_UINT64, | ||||
HXTYPE_INT8, | ||||
HXTYPE_INT16, | ||||
HXTYPE_INT32, | ||||
HXTYPE_INT64, | ||||
/* .type extra flags */ | /* .type extra flags */ | |||
/* argument is optional */ | /* argument is optional */ | |||
HXOPT_OPTIONAL = 1 << 6, | HXOPT_OPTIONAL = 1 << 6, | |||
/* increase pointed variable */ | /* increase pointed variable */ | |||
HXOPT_INC = 1 << 7, | HXOPT_INC = 1 << 7, | |||
/* decrease pointed variable */ | /* decrease pointed variable */ | |||
HXOPT_DEC = 1 << 8, | HXOPT_DEC = 1 << 8, | |||
/* negate input first */ | /* negate input first */ | |||
HXOPT_NOT = 1 << 9, | HXOPT_NOT = 1 << 9, | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 8 lines changed or added | |||