aboutsummaryrefslogtreecommitdiffstats
path: root/cqrlogo.c
diff options
context:
space:
mode:
Diffstat (limited to 'cqrlogo.c')
-rw-r--r--cqrlogo.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/cqrlogo.c b/cqrlogo.c
index 1c1a27c..4f4692e 100644
--- a/cqrlogo.c
+++ b/cqrlogo.c
@@ -17,16 +17,12 @@
#include "config.h"
+/* define structs and functions */
+#include "cqrlogo.h"
+
#define URLPATTERN "^[hH][tT][tT][pP][sS]\\?://%s/"
#define TEXTSTOLEN "This QR Code has been stolen from http%s://%s/!"
-/* a bitmap */
-struct bitmap_t {
- unsigned int width;
- unsigned int height;
- uint8_t *pixel;
-};
-
#if defined PNG_TEXT_SUPPORTED && PNG_ENABLE_TEXT
/*** add_png_text ***/
png_text * add_png_text(png_text *pngtext, unsigned int *textcount, char *key, char *text) {