From 225600aadffc6fdb188fef230cdab67e1242e3a3 Mon Sep 17 00:00:00 2001 From: gramanas Date: Sun, 22 Apr 2018 18:07:50 +0300 Subject: Add almost done, opt parsing remains --- src/ckutil.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'src/ckutil.h') diff --git a/src/ckutil.h b/src/ckutil.h index c99798d..eab7808 100644 --- a/src/ckutil.h +++ b/src/ckutil.h @@ -7,10 +7,39 @@ * Copyright (C) 2018 Anastasis Grammenos * GPLv3 (see LICENCE for the full notice) * + * ----------------------------------------------------------------------------- + * + * Utility funtions and global constants. + * * -------------------------------------------------------------------------- */ #ifndef CKUTIL_H #define CKUTIL_H +/*******************/ +/* global includes */ +/*******************/ + +#include +#include +#include + +/********************/ +/* global constants */ +/********************/ + +/* String length - Small */ +#define STR_S 30 + +/* String length -Medium */ +#define STR_M 100 + +/* String length - Large */ +#define STR_L 400 + +/*********************/ +/* utility functions */ +/*********************/ + /* Returns 1 if path is a directory, else returns 0. */ extern int util_is_dir(const char *path); -- cgit v1.2.3