3 #line 1 "check_sens.ec"
17 #line 11 "check_sens.ec"
18 #line 12 "check_sens.ec"
31 #line 21 "check_sens.ec"
35 strncpy(pe1,shef+0,1);
37 strncpy(pe2,shef+1,1);
39 strncpy(dur,shef+2,1);
58 #line 39 "check_sens.ec"
60 #line 44 "check_sens.ec"
61 static const char *sqlcmdtxt[] =
62 #line 44 "check_sens.ec"
64 #line 44 "check_sens.ec"
65 "select post from sens where id = ? and pe1 = ? and pe2 = ? and dur = ? and t = ? and s = ? and e = ? and p = ?",
68 #line 44 "check_sens.ec"
69 static ifx_cursor_t _SQ0 = {0};
70 static ifx_sqlvar_t _sqibind[] =
72 { 100, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
73 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
74 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
75 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
76 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
77 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
78 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
79 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
80 #line 44 "check_sens.ec"
82 static ifx_sqlvar_t _sqobind[] =
84 { 102,
sizeof(post), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
85 #line 44 "check_sens.ec"
87 #line 44 "check_sens.ec"
88 _sqibind[0].sqldata = id;
89 #line 44 "check_sens.ec"
90 _sqibind[1].sqldata = pe1;
91 #line 44 "check_sens.ec"
92 _sqibind[2].sqldata = pe2;
93 #line 44 "check_sens.ec"
94 _sqibind[3].sqldata = dur;
95 #line 44 "check_sens.ec"
96 _sqibind[4].sqldata = t;
97 #line 44 "check_sens.ec"
98 _sqibind[5].sqldata = s;
99 #line 44 "check_sens.ec"
100 _sqibind[6].sqldata = e;
101 #line 44 "check_sens.ec"
102 _sqibind[7].sqldata = p;
103 #line 44 "check_sens.ec"
104 _sqobind[0].sqldata = (
char *) &post;
105 #line 44 "check_sens.ec"
106 sqli_slct(ESQLINTVERSION, &_SQ0,sqlcmdtxt,8,_sqibind,1,_sqobind,0,(ifx_literal_t *)0,(ifx_namelist_t *)0,0);
107 #line 44 "check_sens.ec"
116 #line 50 "check_sens.ec"
int check_sens(char *stn_id, char *shef)