1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-16 11:48:15 +00:00
hashcat/include/folder.h
2016-09-06 22:25:54 +02:00

29 lines
581 B
C

/**
* Authors.....: Jens Steube <jens.steube@gmail.com>
* Gabriele Gristina <matrix@hashcat.net>
*
* License.....: MIT
*/
#include <stdio.h>
#include <unistd.h>
#ifdef _POSIX
#include <sys/types.h>
#ifdef __APPLE__
#include <mach-o/dyld.h>
#endif // __APPLE__
#endif // _POSIX
#ifdef _WIN
#include <windows.h>
#endif
#define DOT_HASHCAT ".hashcat"
#define SESSIONS_FOLDER "sessions"
char *get_exec_path (void);
char *get_install_dir (const char *progname);
char *get_profile_dir (const char *homedir);
char *get_session_dir (const char *profile_dir);