|
|
#include "MemoryPool.h" | #include "MemoryPool.h" |
| |
#include <rlog/rlog.h> | #include <rlog/rlog.h> |
|
#include <cstring> |
| |
#include "i18n.h" | #include "i18n.h" |
| |
|
|
#include <rlog/rlog.h> | #include <rlog/rlog.h> |
#include <rlog/Error.h> | #include <rlog/Error.h> |
#include <rlog/RLogChannel.h> | #include <rlog/RLogChannel.h> |
|
#include <cstring> |
| |
#include "i18n.h" | #include "i18n.h" |
| |
|
|
#include <rlog/rlog.h> | #include <rlog/rlog.h> |
| |
#include <fcntl.h> | #include <fcntl.h> |
#include <errno.h> |
#include <cerrno> |
| |
/* | /* |
- Version 2:0 adds support for a per-file initialization vector with a | - Version 2:0 adds support for a per-file initialization vector with a |
|
|
| |
#include "../config.h" | #include "../config.h" |
| |
#include <string.h> |
#include <cstring> |
| |
#define NO_DES | #define NO_DES |
| |
|
|
#include <sys/stat.h> | #include <sys/stat.h> |
#include <fcntl.h> | #include <fcntl.h> |
#include <unistd.h> | #include <unistd.h> |
|
#include <cstring> |
| |
| |
using namespace std; | using namespace std; |
|
|
| |
#include "ConfigVar.h" | #include "ConfigVar.h" |
#include <rlog/rlog.h> | #include <rlog/rlog.h> |
|
#include <cstring> |
| |
using namespace rlog; | using namespace rlog; |
| |
|
|
| |
#include <sys/stat.h> | #include <sys/stat.h> |
#include <sys/types.h> | #include <sys/types.h> |
#include <errno.h> |
#include <cerrno> |
#include <stdio.h> |
#include <cstring> |
#include <stdlib.h> |
#include <cstdio> |
|
#include <cstdlib> |
#include <pthread.h> | #include <pthread.h> |
#include <unistd.h> | #include <unistd.h> |
#ifdef linux | #ifdef linux |
|
|
// of sys/stat.h or other system headers (to be safe) | // of sys/stat.h or other system headers (to be safe) |
#include "encfs.h" | #include "encfs.h" |
| |
#include <errno.h> |
#include <cstring> |
|
#include <cerrno> |
#include <sys/stat.h> | #include <sys/stat.h> |
#include <sys/types.h> | #include <sys/types.h> |
#include <fcntl.h> | #include <fcntl.h> |
|
|
#include <fcntl.h> | #include <fcntl.h> |
#include <unistd.h> | #include <unistd.h> |
#include <ctype.h> | #include <ctype.h> |
#include <stdio.h> |
#include <cstdio> |
#include <stdlib.h> |
#include <cstdlib> |
#include <errno.h> |
#include <cerrno> |
|
#include <cstring> |
| |
#include <iostream> | #include <iostream> |
#include <sstream> | #include <sstream> |
|
|
#include <rlog/rlog.h> | #include <rlog/rlog.h> |
#include <rlog/Error.h> | #include <rlog/Error.h> |
#include <rlog/RLogChannel.h> | #include <rlog/RLogChannel.h> |
|
#include <cstring> |
| |
#include "i18n.h" | #include "i18n.h" |
| |
|
|
| |
#include <rlog/rlog.h> | #include <rlog/rlog.h> |
#include <rlog/Error.h> | #include <rlog/Error.h> |
|
#include <cstring> |
| |
#include "i18n.h" | #include "i18n.h" |
| |
|
|
#include "MemoryPool.h" | #include "MemoryPool.h" |
#include <rlog/rlog.h> | #include <rlog/rlog.h> |
| |
#include <stdlib.h> |
#include <cstdlib> |
#include <string.h> |
#include <cstring> |
| |
#include "config.h" | #include "config.h" |
#include <pthread.h> | #include <pthread.h> |
|
|
// for static build. Need to reference the modules which are registered at | // for static build. Need to reference the modules which are registered at |
// run-time, to ensure that the linker doesn't optimize them away. | // run-time, to ensure that the linker doesn't optimize them away. |
#include <iostream> | #include <iostream> |
|
#include <cstring> |
#include "BlockNameIO.h" | #include "BlockNameIO.h" |
#include "StreamNameIO.h" | #include "StreamNameIO.h" |
#include "NullNameIO.h" | #include "NullNameIO.h" |
|
|
#include "Interface.h" | #include "Interface.h" |
| |
#include <rlog/rlog.h> | #include <rlog/rlog.h> |
|
#include <cstring> |
| |
using namespace std; | using namespace std; |
using namespace rel; | using namespace rel; |
|
|
| |
#include "Cipher.h" | #include "Cipher.h" |
#include "base64.h" | #include "base64.h" |
|
#include <cstring> |
| |
using namespace rel; | using namespace rel; |
| |
|
|
#include "PtrImpl.h" | #include "PtrImpl.h" |
#include <rlog/rlog.h> | #include <rlog/rlog.h> |
| |
#include <stdlib.h> |
#include <cstdlib> |
| |
using namespace std; | using namespace std; |
using namespace rel; | using namespace rel; |
|
|
| |
#include "Ptr.h" | #include "Ptr.h" |
| |
#include <stdlib.h> |
#include <cstdlib> |
| |
using namespace rel; | using namespace rel; |
| |
|
|
#include <sys/stat.h> | #include <sys/stat.h> |
#include <fcntl.h> | #include <fcntl.h> |
| |
#include <errno.h> |
#include <cerrno> |
|
#include <cstring> |
| |
using namespace std; | using namespace std; |
| |
|
|
#include "MemoryPool.h" | #include "MemoryPool.h" |
#include "Mutex.h" | #include "Mutex.h" |
| |
#include <string.h> |
#include <cstring> |
| |
#include <sys/mman.h> | #include <sys/mman.h> |
| |
|
|
| |
#include <rlog/rlog.h> | #include <rlog/rlog.h> |
#include <rlog/Error.h> | #include <rlog/Error.h> |
|
#include <cstring> |
| |
#include "i18n.h" | #include "i18n.h" |
| |
|
|
| |
#include "encfs.h" | #include "encfs.h" |
| |
#include <stdio.h> |
#include <cstdio> |
#include <string.h> |
#include <cstring> |
#include <unistd.h> | #include <unistd.h> |
#include <fcntl.h> | #include <fcntl.h> |
#include <dirent.h> | #include <dirent.h> |
#include <errno.h> |
#include <cerrno> |
#include <sys/statvfs.h> | #include <sys/statvfs.h> |
| |
#include <sys/types.h> | #include <sys/types.h> |
|
|
#endif | #endif |
| |
#ifndef linux | #ifndef linux |
#include <errno.h> |
#include <cerrno> |
| |
static __inline int setfsuid(uid_t uid) | static __inline int setfsuid(uid_t uid) |
{ | { |
|
|
#include <sstream> | #include <sstream> |
| |
#include <assert.h> | #include <assert.h> |
#include <stdio.h> |
#include <cstdio> |
#include <unistd.h> | #include <unistd.h> |
#include <sys/time.h> | #include <sys/time.h> |
#include <errno.h> |
#include <cerrno> |
| |
#include <getopt.h> | #include <getopt.h> |
| |
|
|
#ifndef HAVE_READPASSPHRASE | #ifndef HAVE_READPASSPHRASE |
| |
#include <signal.h> | #include <signal.h> |
#include <stdio.h> |
#include <cstdio> |
#include <errno.h> |
#include <cerrno> |
#include <sys/types.h> | #include <sys/types.h> |
#include <sys/stat.h> | #include <sys/stat.h> |
#include <fcntl.h> | #include <fcntl.h> |
#include <unistd.h> | #include <unistd.h> |
#include <paths.h> | #include <paths.h> |
#include <string.h> |
#include <cstring> |
#include <ctype.h> | #include <ctype.h> |
| |
#include <termios.h> | #include <termios.h> |
|
|
| |
#include <iostream> | #include <iostream> |
| |
#include <stdlib.h> |
#include <cstdlib> |
| |
#include "Cipher.h" | #include "Cipher.h" |
#include "DirNode.h" | #include "DirNode.h" |
|
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
USA. */ | USA. */ |
| |
/* Tell glibc's <stdio.h> to provide a prototype for vasprintf(). |
/* Tell glibc's <cstdio> to provide a prototype for vasprintf(). |
This must come before <config.h> because <config.h> may include | This must come before <config.h> because <config.h> may include |
<features.h>, and once <features.h> has been included, it's too late. */ | <features.h>, and once <features.h> has been included, it's too late. */ |
#ifndef _GNU_SOURCE | #ifndef _GNU_SOURCE |
|
|
#include "autosprintf.h" | #include "autosprintf.h" |
| |
#include <stdarg.h> | #include <stdarg.h> |
#include <stdlib.h> |
#include <cstdlib> |
#include <string.h> |
#include <cstring> |
//#include "lib-asprintf.h" | //#include "lib-asprintf.h" |
#include <stdio.h> |
#include <cstdio> |
| |
namespace gnu | namespace gnu |
{ | { |