~kris/hacks

sparser

ref: f042087d967b02645376087c5eaa0b4259f93cb6 sparser/config.h -rw-r--r-- 526 bytes
f042087d — Kris Yotam Initial commit: sparser - Simple Parser 6 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 */