equal
deleted
inserted
replaced
56 * Initialize variables according to PLC's defalut values, |
56 * Initialize variables according to PLC's defalut values, |
57 * and then init plugins with that values |
57 * and then init plugins with that values |
58 **/ |
58 **/ |
59 int __init(int argc,char **argv) |
59 int __init(int argc,char **argv) |
60 { |
60 { |
61 int res; |
61 int res = 0; |
62 setlocale(LC_NUMERIC, "C"); |
62 setlocale(LC_NUMERIC, "C"); |
63 config_init__(); |
63 config_init__(); |
64 __init_debug(); |
64 __init_debug(); |
65 %(init_calls)s |
65 %(init_calls)s |
66 return 0; |
66 return res; |
67 } |
67 } |
68 /* |
68 /* |
69 * Calls plugin cleanup proc. |
69 * Calls plugin cleanup proc. |
70 **/ |
70 **/ |
71 void __cleanup() |
71 void __cleanup() |