]> mj.ucw.cz Git - libucw.git/blob - images/config.c
6d3c927a4c749182032c61d4002b1542044ec7ec
[libucw.git] / images / config.c
1 /*
2  *      Image Library -- Configuration
3  *
4  *      (c) 2006 Pavel Charvat <pchar@ucw.cz>
5  */
6
7 #undef LOCAL_DEBUG
8
9 #include "lib/lib.h"
10 #include "lib/conf.h"
11 #include "images/images.h"
12 #include "images/signature.h"
13
14 #include <string.h>
15
16 uns image_sig_min_width;
17 uns image_sig_min_height;
18
19 static struct cf_section sig_config = {
20   CF_ITEMS{
21     CF_UNS("MinWidth", &image_sig_min_width),
22     CF_UNS("MinHeight", &image_sig_min_height),
23     CF_END
24   }
25 };
26
27 static void CONSTRUCTOR
28 images_init_config(void)
29 {
30   cf_declare_section("ImageSig", &sig_config, 0);
31 }