1 #ifndef SMACK_H 2 #define SMACK_H 3 4 #ifndef MAX_PATH 5 #define MAX_PATH 128 6 #endif 7 8 #include <sys/types.h> 9 #include <sys/stat.h> 10 #include <unistd.h> 11 #include <fstream> 12 #include <iostream> 13 #include <stdio.h> 14 #include <string.h> 15 #include <stdlib.h> 16 #include <ctype.h> 17 18 extern const char* datadir; 19 20 char* mk_data_path(char* buf, const char* file); 21 int populate_data_file(const char* file, const char* cmd); 22 23 #endif 24