#ifndef _TMTOOLS_H_ #define _TMTOOLS_H_ #include "clientapi.h" //unix headers #include <iostream> #include <string.h> #include <errno.h> #include <string.h> #include <iostream> #include <sys/types.h> #include <sys/stat.h> #include <stdarg.h> #include <stdio.h> #include <grp.h> #include <pwd.h> #include <unistd.h> class TMTools { public: TMTools(); virtual ~TMTools(); //Factory method static TMTools * Instance (); virtual struct stat * GetAttr (char * file, Error * e); //has to be cleaned by the user virtual void SetMode (char * file, mode_t st_mode, Error * e); protected: virtual void SetErrorMsg (Error * e, ErrorSeverity s, const char *fmt, ...); virtual StrBuf & GetDescription (); private: static TMTools * _self; }; #endif //_TMTOOLS_H_
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#4 | 5056 | harald_strack |
Directory support. Serious bug concerned to not unzipped binaries removed. Some other small bugfixes. |
||
#3 | 4980 | harald_strack |
Since I am maintaining the stuff in a local repository, I did some copy errors in the last revisions. Fixed. |
||
#2 | 4978 | harald_strack |
ap4 integrate implemented. Octal format is now used to save permissions. NOT backwards compatible anymore!!! |
||
#1 | 4975 | harald_strack |
Permissions are now masked to 555, so no write is possible. If you edit the Makefile and give the parameter -DFULL_PERMS, you have the old behaviour. Bugfix in ap4 revert: Edited and changed files were not reverted correctly. |