Revised repository organization

This commit is contained in:
2017-09-12 02:48:29 -07:00
parent 068c8462d7
commit f18aec4ff5
8 changed files with 204 additions and 18 deletions

25
include/colors.h Normal file
View File

@@ -0,0 +1,25 @@
#ifndef COLORS_H
#define COLORS_H
struct Rgb {
int r, g, b;
};
struct Hls {
int h;
float l, s;
};
void hsl2rgb(struct Rgb *, const struct Hls const *);
void rgb2hsl(struct Hls *, const struct Rgb const *);
static void decspan(const int);
static void hexspan(const char *);
static void b(char * const);
void print_plname(const char*);
#endif

16
include/dbquery.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef DBQUERY_H
#define DBQUERY_H
inline char *get_filename(const char *) ;
inline void print_tblheader(const char *);
void print_time(const unsigned char *);
void qresult(void * const, const char *);
int executequery(const char *, const char *);
void getquery(const char *);
#endif