~kris/hacks

sparser

ref: 83b1653b13073ba220e9836d46fa0054d7ee65c3 sparser/config.h -rw-r--r-- 526 bytes
83b1653b — Kris Yotam add README.md 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* See LICENSE file for copyright and license details.
 * sparser - Simple Parser
 * configuration header
 */

#ifndef CONFIG_H
#define CONFIG_H

/* Program metadata */
#define PROG_NAME    "sparser"
#define PROG_VERSION "0.1.0"

/* File processing limits */
#define MAX_FILE_SIZE  (100 * 1024 * 1024)  /* 100 MB max file */
#define MAX_LINE_LEN   8192
#define MAX_URL_LEN    4096

/* Supported text file extensions (checked during -R recursion) */
/* Binary files and executables are always skipped */

#endif /* CONFIG_H */