Revised repository organization
This commit is contained in:
25
include/colors.h
Normal file
25
include/colors.h
Normal 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
16
include/dbquery.h
Normal 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
|
||||
Reference in New Issue
Block a user