diff options
author | Christian Hesse <mail@eworm.de> | 2013-11-28 12:09:41 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-11-28 12:09:41 +0100 |
commit | 7148c0b2dd20f9ec58304ed6ab154e901dba1bea (patch) | |
tree | 50648e91513b74c4ef7ba23b9b851c61c6fbfbc8 /cqrlogo.h | |
parent | b66003a3cae3adad2183bbc010a3a28664323024 (diff) | |
download | cqrlogo-7148c0b2dd20f9ec58304ed6ab154e901dba1bea.tar.gz cqrlogo-7148c0b2dd20f9ec58304ed6ab154e901dba1bea.tar.zst |
add configuration file
Diffstat (limited to 'cqrlogo.h')
-rw-r--r-- | cqrlogo.h | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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 */ |