config.h (526B)
1 /* See LICENSE file for copyright and license details. 2 * sparser - Simple Parser 3 * configuration header 4 */ 5 6 #ifndef CONFIG_H 7 #define CONFIG_H 8 9 /* Program metadata */ 10 #define PROG_NAME "sparser" 11 #define PROG_VERSION "0.1.0" 12 13 /* File processing limits */ 14 #define MAX_FILE_SIZE (100 * 1024 * 1024) /* 100 MB max file */ 15 #define MAX_LINE_LEN 8192 16 #define MAX_URL_LEN 4096 17 18 /* Supported text file extensions (checked during -R recursion) */ 19 /* Binary files and executables are always skipped */ 20 21 #endif /* CONFIG_H */