config.h | config.h | |||
---|---|---|---|---|
skipping to change at line 41 | skipping to change at line 41 | |||
/* Define if we have enabled pthread support */ | /* Define if we have enabled pthread support */ | |||
/* #undef HAVE_PTHREAD */ | /* #undef HAVE_PTHREAD */ | |||
/* If there is no socklen_t, define this for the netdb shim */ | /* If there is no socklen_t, define this for the netdb shim */ | |||
/* #undef NEED_SOCKLEN_T_DEFINE */ | /* #undef NEED_SOCKLEN_T_DEFINE */ | |||
/* Define the arch name string */ | /* Define the arch name string */ | |||
#define COMMON_ARCH "i386" | #define COMMON_ARCH "i386" | |||
/* The version number string */ | /* The version number string */ | |||
#define VERSION "0.8.7" | #define VERSION "0.8.8" | |||
/* The package name string */ | /* The package name string */ | |||
#define PACKAGE "apt" | #define PACKAGE "apt" | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
fileutl.h | fileutl.h | |||
---|---|---|---|---|
skipping to change at line 66 | skipping to change at line 66 | |||
return Read(To,Size,&Jnk); | return Read(To,Size,&Jnk); | |||
return Read(To,Size); | return Read(To,Size); | |||
} | } | |||
bool Read(void *To,unsigned long Size,unsigned long *Actual = 0); | bool Read(void *To,unsigned long Size,unsigned long *Actual = 0); | |||
bool Write(const void *From,unsigned long Size); | bool Write(const void *From,unsigned long Size); | |||
bool Seek(unsigned long To); | bool Seek(unsigned long To); | |||
bool Skip(unsigned long To); | bool Skip(unsigned long To); | |||
bool Truncate(unsigned long To); | bool Truncate(unsigned long To); | |||
unsigned long Tell(); | unsigned long Tell(); | |||
unsigned long Size(); | unsigned long Size(); | |||
unsigned long FileSize(); | ||||
bool Open(string FileName,OpenMode Mode,unsigned long Perms = 0666); | bool Open(string FileName,OpenMode Mode,unsigned long Perms = 0666); | |||
bool OpenDescriptor(int Fd, OpenMode Mode, bool AutoClose=false); | bool OpenDescriptor(int Fd, OpenMode Mode, bool AutoClose=false); | |||
bool Close(); | bool Close(); | |||
bool Sync(); | bool Sync(); | |||
// Simple manipulators | // Simple manipulators | |||
inline int Fd() {return iFd;}; | inline int Fd() {return iFd;}; | |||
inline void Fd(int fd) {iFd = fd;}; | inline void Fd(int fd) {iFd = fd;}; | |||
inline bool IsOpen() {return iFd >= 0;}; | inline bool IsOpen() {return iFd >= 0;}; | |||
inline bool Failed() {return (Flags & Fail) == Fail;}; | inline bool Failed() {return (Flags & Fail) == Fail;}; | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||