equal
deleted
inserted
replaced
67 int __init(int argc,char **argv) |
67 int __init(int argc,char **argv) |
68 { |
68 { |
69 int res; |
69 int res; |
70 config_init__(); |
70 config_init__(); |
71 __init_debug(); |
71 __init_debug(); |
|
72 __init_python(); |
72 %(init_calls)s |
73 %(init_calls)s |
73 return 0; |
74 return 0; |
74 } |
75 } |
75 /* |
76 /* |
76 * Calls plugin cleanup proc. |
77 * Calls plugin cleanup proc. |
77 **/ |
78 **/ |
78 void __cleanup() |
79 void __cleanup() |
79 { |
80 { |
80 %(cleanup_calls)s |
81 %(cleanup_calls)s |
81 __cleanup_debug(); |
82 __cleanup_debug(); |
|
83 __cleanup_python(); |
82 } |
84 } |
83 |
85 |
84 |
86 |
85 void PLC_GetTime(IEC_TIME *CURRENT_TIME); |
87 void PLC_GetTime(IEC_TIME *CURRENT_TIME); |
86 void PLC_SetTimer(long long next, long long period); |
88 void PLC_SetTimer(long long next, long long period); |