aboutsummaryrefslogtreecommitdiffstats
path: root/cqrlogo.h
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-11-28 12:09:41 +0100
committerGravatar Christian Hesse <mail@eworm.de>2013-11-28 12:09:41 +0100
commit7148c0b2dd20f9ec58304ed6ab154e901dba1bea (patch)
tree50648e91513b74c4ef7ba23b9b851c61c6fbfbc8 /cqrlogo.h
parentb66003a3cae3adad2183bbc010a3a28664323024 (diff)
downloadcqrlogo-7148c0b2dd20f9ec58304ed6ab154e901dba1bea.tar.gz
cqrlogo-7148c0b2dd20f9ec58304ed6ab154e901dba1bea.tar.zst
add configuration file
Diffstat (limited to 'cqrlogo.h')
-rw-r--r--cqrlogo.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/cqrlogo.h b/cqrlogo.h
index 7a48c18..1edc9b9 100644
--- a/cqrlogo.h
+++ b/cqrlogo.h
@@ -29,10 +29,16 @@ struct bitmap_t * bitmap_new(int width, int height);
void bitmap_free(struct bitmap_t * bitmap);
/*** encode_qrcode ***/
-struct bitmap_t * encode_qrcode (const char *text, unsigned int scale, unsigned int border, unsigned int level);
+struct bitmap_t * encode_qrcode (const char *text, unsigned int scale,
+ unsigned int border, unsigned int level);
-/*** get_value ***/
-int get_value(const char *query_string, const char *pattern, unsigned int *value, unsigned int def, unsigned int min, unsigned int max);
+/*** get_query_value ***/
+unsigned int get_query_value(const char *query_string, const char *pattern,
+ unsigned int value, unsigned int min, unsigned int max);
+
+/*** get_ini_value ***/
+unsigned int get_ini_value(dictionary * ini, uint8_t type, const char * section, const char * parameter,
+ unsigned int value, unsigned int min, unsigned int max);
#endif /* _CQRLOGO_H */