micro-utils/config.h

43 lines
815 B
C

#ifndef _CONFIG_H
#define _CONFIG_H
/* (cat tee wc xargs) */
#define BUF_SIZE 4096
/* Random source (shred) */
#define RAND_SOURCE "/dev/urandom"
/* format for printf (head) */
#define HEAD_FMT "==> %s <==\n"
/* block size (du)*/
#define BLK_SIZE 512
/* mount config */
#define MOUNT_CFG "/etc/fstab"
/* colors for ls */
#define LS_DIR_COLOR "\033[1;34m"
#define LS_LINK_COLOR "\033[1;35m"
#define LS_SOCK_COLOR LS_LINK_COLOR
#define LS_FIFO_COLOR LS_LINK_COLOR
#define LS_EXE_COLOR "\033[1;32m"
/* RunComm prompt */
#define RC_PS "> "
/* Args count (xargs) */
#define NARGS 10000
#define ECHO_CMD "echo"
/* Options: To disable, comment line */
/* Add escape-char support in echo */
#define ECHO_FANCY
/* getloadavg() unavailable in android os */
#ifndef __ANDROID__
#define UPTIME_LOADAVG
#endif
#endif