/Users/maurits/Documents/studie/afstuderen/biosphere/support/bs_console.c

Go to the documentation of this file.
00001 #include <stdio.h>
00002 #include <string.h>
00003 #include <sys/time.h>
00004 #include <stdlib.h>
00005 #include <biosphere_lib.h>
00006 
00007 char data[] =
00008 "01234567890123456789012345678901234567890123456789"
00009 "01234567890123456789012345678901234567890123456789"
00010 "01234567890123456789012345678901234567890123456789"
00011 "01234567890123456789012345678901234567890123456789"
00012 "01234567890123456789012345678901234567890123456789"
00013 "01234567890123456789012345678901234567890123456789"
00014 "01234567890123456789012345678901234567890123456789"
00015 "01234567890123456789012345678901234567890123456789"
00016 "01234567890123456789012345678901234567890123456789"
00017 "01234567890123456789012345678901234567890123456789"
00018 
00019 "01234567890123456789012345678901234567890123456789"
00020 "01234567890123456789012345678901234567890123456789"
00021 "01234567890123456789012345678901234567890123456789"
00022 "01234567890123456789012345678901234567890123456789"
00023 "01234567890123456789012345678901234567890123456789"
00024 "01234567890123456789012345678901234567890123456789"
00025 "01234567890123456789012345678901234567890123456789"
00026 "01234567890123456789012345678901234567890123456789"
00027 "01234567890123456789012345678901234567890123456789"
00028 "01234567890123456789012345678901234567890123456789"
00029 
00030 "01234567890123456789012345678901234567890123456789"
00031 "01234567890123456789012345678901234567890123456789"
00032 "01234567890123456789012345678901234567890123456789"
00033 "01234567890123456789012345678901234567890123456789"
00034 "01234567890123456789012345678901234567890123456789"
00035 "01234567890123456789012345678901234567890123456789"
00036 "01234567890123456789012345678901234567890123456789"
00037 "01234567890123456789012345678901234567890123456789"
00038 "01234567890123456789012345678901234567890123456789"
00039 "01234567890123456789012345678901234567890123456789"
00040 
00041 "01234567890123456789012345678901234567890123456789"
00042 "01234567890123456789012345678901234567890123456789"
00043 "01234567890123456789012345678901234567890123456789"
00044 "01234567890123456789012345678901234567890123456789"
00045 "01234567890123456789012345678901234567890123456789"
00046 "01234567890123456789012345678901234567890123456789"
00047 "01234567890123456789012345678901234567890123456789"
00048 "01234567890123456789012345678901234567890123456789"
00049 "01234567890123456789012345678901234567890123456789"
00050 "01234567890123456789012345678901234567890123456789"
00051 
00052 "01234567890123456789012345678901234567890123456789"
00053 "01234567890123456789012345678901234567890123456789"
00054 "01234567890123456789012345678901234567890123456789"
00055 "01234567890123456789012345678901234567890123456789"
00056 "01234567890123456789012345678901234567890123456789"
00057 "01234567890123456789012345678901234567890123456789"
00058 "01234567890123456789012345678901234567890123456789"
00059 "01234567890123456789012345678901234567890123456789"
00060 "01234567890123456789012345678901234567890123456789"
00061 "01234567890123456789012345678901234567890123456789"
00062 
00063 "01234567890123456789012345678901234567890123456789"
00064 "01234567890123456789012345678901234567890123456789"
00065 "01234567890123456789012345678901234567890123456789"
00066 "01234567890123456789012345678901234567890123456789"
00067 "01234567890123456789012345678901234567890123456789"
00068 "01234567890123456789012345678901234567890123456789"
00069 "01234567890123456789012345678901234567890123456789"
00070 "01234567890123456789012345678901234567890123456789"
00071 "01234567890123456789012345678901234567890123456789"
00072 "01234567890123456789012345678901234567890123456789"
00073 
00074 "01234567890123456789012345678901234567890123456789"
00075 "01234567890123456789012345678901234567890123456789"
00076 "01234567890123456789012345678901234567890123456789"
00077 "01234567890123456789012345678901234567890123456789"
00078 "01234567890123456789012345678901234567890123456789"
00079 "01234567890123456789012345678901234567890123456789"
00080 "01234567890123456789012345678901234567890123456789"
00081 "01234567890123456789012345678901234567890123456789"
00082 "01234567890123456789012345678901234567890123456789"
00083 "01234567890123456789012345678901234567890123456789"
00084 
00085 "01234567890123456789012345678901234567890123456789"
00086 "01234567890123456789012345678901234567890123456789"
00087 "01234567890123456789012345678901234567890123456789"
00088 "01234567890123456789012345678901234567890123456789"
00089 "01234567890123456789012345678901234567890123456789"
00090 "01234567890123456789012345678901234567890123456789"
00091 "01234567890123456789012345678901234567890123456789"
00092 "01234567890123456789012345678901234567890123456789"
00093 "01234567890123456789012345678901234567890123456789"
00094 "01234567890123456789012345678901234567890123456789"
00095 
00096 "01234567890123456789012345678901234567890123456789"
00097 "01234567890123456789012345678901234567890123456789"
00098 "01234567890123456789012345678901234567890123456789"
00099 "01234567890123456789012345678901234567890123456789"
00100 "01234567890123456789012345678901234567890123456789"
00101 "01234567890123456789012345678901234567890123456789"
00102 "01234567890123456789012345678901234567890123456789"
00103 "01234567890123456789012345678901234567890123456789"
00104 "01234567890123456789012345678901234567890123456789"
00105 "01234567890123456789012345678901234567890123456789"
00106 
00107 "01234567890123456789012345678901234567890123456789"
00108 "01234567890123456789012345678901234567890123456789"
00109 "01234567890123456789012345678901234567890123456789"
00110 "01234567890123456789012345678901234567890123456789"
00111 "01234567890123456789012345678901234567890123456789"
00112 "01234567890123456789012345678901234567890123456789"
00113 "01234567890123456789012345678901234567890123456789"
00114 "01234567890123456789012345678901234567890123456789"
00115 "01234567890123456789012345678901234567890123456789"
00116 "01234567890123456789012345678901234567890123456789"
00117 
00118 "01234567890123456789012345678901234567890123456789"
00119 "01234567890123456789012345678901234567890123456789"
00120 "01234567890123456789012345678901234567890123456789"
00121 "01234567890123456789012345678901234567890123456789"
00122 "01234567890123456789012345678901234567890123456789"
00123 "01234567890123456789012345678901234567890123456789"
00124 "01234567890123456789012345678901234567890123456789"
00125 "01234567890123456789012345678901234567890123456789"
00126 "01234567890123456789012345678901234567890123456789"
00127 "01234567890123456789012345678901234567890123456789"
00128 
00129 "01234567890123456789012345678901234567890123456789"
00130 "01234567890123456789012345678901234567890123456789"
00131 "01234567890123456789012345678901234567890123456789"
00132 "01234567890123456789012345678901234567890123456789"
00133 "01234567890123456789012345678901234567890123456789"
00134 "01234567890123456789012345678901234567890123456789"
00135 "01234567890123456789012345678901234567890123456789"
00136 "01234567890123456789012345678901234567890123456789"
00137 "01234567890123456789012345678901234567890123456789"
00138 "01234567890123456789012345678901234567890123456789"
00139 
00140 "01234567890123456789012345678901234567890123456789"
00141 "01234567890123456789012345678901234567890123456789"
00142 "01234567890123456789012345678901234567890123456789"
00143 "01234567890123456789012345678901234567890123456789"
00144 "01234567890123456789012345678901234567890123456789"
00145 "01234567890123456789012345678901234567890123456789"
00146 "01234567890123456789012345678901234567890123456789"
00147 "01234567890123456789012345678901234567890123456789"
00148 "01234567890123456789012345678901234567890123456789"
00149 "01234567890123456789012345678901234567890123456789"
00150 
00151 "01234567890123456789012345678901234567890123456789"
00152 "01234567890123456789012345678901234567890123456789"
00153 "01234567890123456789012345678901234567890123456789"
00154 "01234567890123456789012345678901234567890123456789"
00155 "01234567890123456789012345678901234567890123456789"
00156 "01234567890123456789012345678901234567890123456789"
00157 "01234567890123456789012345678901234567890123456789"
00158 "01234567890123456789012345678901234567890123456789"
00159 "01234567890123456789012345678901234567890123456789"
00160 "01234567890123456789012345678901234567890123456789"
00161 
00162 "01234567890123456789012345678901234567890123456789"
00163 "01234567890123456789012345678901234567890123456789"
00164 "01234567890123456789012345678901234567890123456789"
00165 "01234567890123456789012345678901234567890123456789"
00166 "01234567890123456789012345678901234567890123456789"
00167 "01234567890123456789012345678901234567890123456789"
00168 "01234567890123456789012345678901234567890123456789"
00169 "01234567890123456789012345678901234567890123456789"
00170 "01234567890123456789012345678901234567890123456789"
00171 "01234567890123456789012345678901234567890123456789"
00172 
00173 "01234567890123456789012345678901234567890123456789"
00174 "01234567890123456789012345678901234567890123456789"
00175 "01234567890123456789012345678901234567890123456789"
00176 "01234567890123456789012345678901234567890123456789"
00177 "01234567890123456789012345678901234567890123456789"
00178 "01234567890123456789012345678901234567890123456789"
00179 "01234567890123456789012345678901234567890123456789"
00180 "01234567890123456789012345678901234567890123456789"
00181 "01234567890123456789012345678901234567890123456789"
00182 "01234567890123456789012345678901234567890123456789"
00183 
00184 
00185 "01234567890123456789012345678901234567890123456789"
00186 "01234567890123456789012345678901234567890123456789"
00187 "01234567890123456789012345678901234567890123456789"
00188 "01234567890123456789012345678901234567890123456789"
00189 "01234567890123456789012345678901234567890123456789"
00190 "01234567890123456789012345678901234567890123456789"
00191 "01234567890123456789012345678901234567890123456789"
00192 "01234567890123456789012345678901234567890123456789"
00193 "01234567890123456789012345678901234567890123456789"
00194 "01234567890123456789012345678901234567890123456789"
00195 
00196 "01234567890123456789012345678901234567890123456789"
00197 "01234567890123456789012345678901234567890123456789"
00198 "01234567890123456789012345678901234567890123456789"
00199 "01234567890123456789012345678901234567890123456789"
00200 "01234567890123456789012345678901234567890123456789"
00201 "01234567890123456789012345678901234567890123456789"
00202 "01234567890123456789012345678901234567890123456789"
00203 "01234567890123456789012345678901234567890123456789"
00204 "01234567890123456789012345678901234567890123456789"
00205 "01234567890123456789012345678901234567890123456789"
00206 
00207 "01234567890123456789012345678901234567890123456789"
00208 "01234567890123456789012345678901234567890123456789"
00209 "01234567890123456789012345678901234567890123456789"
00210 "01234567890123456789012345678901234567890123456789"
00211 "01234567890123456789012345678901234567890123456789"
00212 "01234567890123456789012345678901234567890123456789"
00213 "01234567890123456789012345678901234567890123456789"
00214 "01234567890123456789012345678901234567890123456789"
00215 "01234567890123456789012345678901234567890123456789"
00216 "01234567890123456789012345678901234567890123456789"
00217 
00218 "01234567890123456789012345678901234567890123456789"
00219 "01234567890123456789012345678901234567890123456789"
00220 "01234567890123456789012345678901234567890123456789"
00221 "01234567890123456789012345678901234567890123456789"
00222 "01234567890123456789012345678901234567890123456789"
00223 "01234567890123456789012345678901234567890123456789"
00224 "01234567890123456789012345678901234567890123456789"
00225 "01234567890123456789012345678901234567890123456789"
00226 "01234567890123456789012345678901234567890123456789"
00227 "01234567890123456789012345678901234567890123456789"
00228 
00229 "01234567890123456789012345678901234567890123456789"
00230 "01234567890123456789012345678901234567890123456789"
00231 "01234567890123456789012345678901234567890123456789"
00232 "01234567890123456789012345678901234567890123456789"
00233 "01234567890123456789012345678901234567890123456789"
00234 "01234567890123456789012345678901234567890123456789"
00235 "01234567890123456789012345678901234567890123456789"
00236 "01234567890123456789012345678901234567890123456789"
00237 "01234567890123456789012345678901234567890123456789"
00238 "01234567890123456789012345678901234567890123456789"
00239 
00240 "01234567890123456789012345678901234567890123456789"
00241 "01234567890123456789012345678901234567890123456789"
00242 "01234567890123456789012345678901234567890123456789"
00243 "01234567890123456789012345678901234567890123456789"
00244 "01234567890123456789012345678901234567890123456789"
00245 "01234567890123456789012345678901234567890123456789"
00246 "01234567890123456789012345678901234567890123456789"
00247 "01234567890123456789012345678901234567890123456789"
00248 "01234567890123456789012345678901234567890123456789"
00249 "01234567890123456789012345678901234567890123456789"
00250 
00251 "01234567890123456789012345678901234567890123456789"
00252 "01234567890123456789012345678901234567890123456789"
00253 "01234567890123456789012345678901234567890123456789"
00254 "01234567890123456789012345678901234567890123456789"
00255 "01234567890123456789012345678901234567890123456789"
00256 "01234567890123456789012345678901234567890123456789"
00257 "01234567890123456789012345678901234567890123456789"
00258 "01234567890123456789012345678901234567890123456789"
00259 "01234567890123456789012345678901234567890123456789"
00260 "01234567890123456789012345678901234567890123456789"
00261 
00262 "01234567890123456789012345678901234567890123456789"
00263 "01234567890123456789012345678901234567890123456789"
00264 "01234567890123456789012345678901234567890123456789"
00265 "01234567890123456789012345678901234567890123456789"
00266 "01234567890123456789012345678901234567890123456789"
00267 "01234567890123456789012345678901234567890123456789"
00268 "01234567890123456789012345678901234567890123456789"
00269 "01234567890123456789012345678901234567890123456789"
00270 "01234567890123456789012345678901234567890123456789"
00271 "01234567890123456789012345678901234567890123456789"
00272 
00273 "01234567890123456789012345678901234567890123456789"
00274 "01234567890123456789012345678901234567890123456789"
00275 "01234567890123456789012345678901234567890123456789"
00276 "01234567890123456789012345678901234567890123456789"
00277 "01234567890123456789012345678901234567890123456789"
00278 "01234567890123456789012345678901234567890123456789"
00279 "01234567890123456789012345678901234567890123456789"
00280 "01234567890123456789012345678901234567890123456789"
00281 "01234567890123456789012345678901234567890123456789"
00282 "01234567890123456789012345678901234567890123456789"
00283 
00284 "01234567890123456789012345678901234567890123456789"
00285 "01234567890123456789012345678901234567890123456789"
00286 "01234567890123456789012345678901234567890123456789"
00287 "01234567890123456789012345678901234567890123456789"
00288 "01234567890123456789012345678901234567890123456789"
00289 "01234567890123456789012345678901234567890123456789"
00290 "01234567890123456789012345678901234567890123456789"
00291 "01234567890123456789012345678901234567890123456789"
00292 "01234567890123456789012345678901234567890123456789"
00293 "01234567890123456789012345678901234567890123456789"
00294 
00295 "01234567890123456789012345678901234567890123456789"
00296 "01234567890123456789012345678901234567890123456789"
00297 "01234567890123456789012345678901234567890123456789"
00298 "01234567890123456789012345678901234567890123456789"
00299 "01234567890123456789012345678901234567890123456789"
00300 "01234567890123456789012345678901234567890123456789"
00301 "01234567890123456789012345678901234567890123456789"
00302 "01234567890123456789012345678901234567890123456789"
00303 "01234567890123456789012345678901234567890123456789"
00304 "01234567890123456789012345678901234567890123456789"
00305 
00306 "01234567890123456789012345678901234567890123456789"
00307 "01234567890123456789012345678901234567890123456789"
00308 "01234567890123456789012345678901234567890123456789"
00309 "01234567890123456789012345678901234567890123456789"
00310 "01234567890123456789012345678901234567890123456789"
00311 "01234567890123456789012345678901234567890123456789"
00312 "01234567890123456789012345678901234567890123456789"
00313 "01234567890123456789012345678901234567890123456789"
00314 "01234567890123456789012345678901234567890123456789"
00315 "01234567890123456789012345678901234567890123456789"
00316 
00317 "01234567890123456789012345678901234567890123456789"
00318 "01234567890123456789012345678901234567890123456789"
00319 "01234567890123456789012345678901234567890123456789"
00320 "01234567890123456789012345678901234567890123456789"
00321 "01234567890123456789012345678901234567890123456789"
00322 "01234567890123456789012345678901234567890123456789"
00323 "01234567890123456789012345678901234567890123456789"
00324 "01234567890123456789012345678901234567890123456789"
00325 "01234567890123456789012345678901234567890123456789"
00326 "01234567890123456789012345678901234567890123456789"
00327 
00328 "01234567890123456789012345678901234567890123456789"
00329 "01234567890123456789012345678901234567890123456789"
00330 "01234567890123456789012345678901234567890123456789"
00331 "01234567890123456789012345678901234567890123456789"
00332 "01234567890123456789012345678901234567890123456789"
00333 "01234567890123456789012345678901234567890123456789"
00334 "01234567890123456789012345678901234567890123456789"
00335 "01234567890123456789012345678901234567890123456789"
00336 "01234567890123456789012345678901234567890123456789"
00337 "01234567890123456789012345678901234567890123456789"
00338 
00339 "01234567890123456789012345678901234567890123456789"
00340 "01234567890123456789012345678901234567890123456789"
00341 "01234567890123456789012345678901234567890123456789"
00342 "01234567890123456789012345678901234567890123456789"
00343 "01234567890123456789012345678901234567890123456789"
00344 "01234567890123456789012345678901234567890123456789"
00345 "01234567890123456789012345678901234567890123456789"
00346 "01234567890123456789012345678901234567890123456789"
00347 "01234567890123456789012345678901234567890123456789"
00348 "01234567890123456789012345678901234567890123456789"
00349 
00350 "01234567890123456789012345678901234567890123456789"
00351 "01234567890123456789012345678901234567890123456789"
00352 "01234567890123456789012345678901234567890123456789"
00353 "01234567890123456789012345678901234567890123456789"
00354 "01234567890123456789012345678901234567890123456789"
00355 "01234567890123456789012345678901234567890123456789"
00356 "01234567890123456789012345678901234567890123456789"
00357 "01234567890123456789012345678901234567890123456789"
00358 "01234567890123456789012345678901234567890123456789"
00359 "01234567890123456789012345678901234567890123456789"
00360 
00361 "01234567890123456789012345678901234567890123456789"
00362 "01234567890123456789012345678901234567890123456789"
00363 "01234567890123456789012345678901234567890123456789"
00364 "01234567890123456789012345678901234567890123456789"
00365 "01234567890123456789012345678901234567890123456789"
00366 "01234567890123456789012345678901234567890123456789"
00367 "01234567890123456789012345678901234567890123456789"
00368 "01234567890123456789012345678901234567890123456789"
00369 "01234567890123456789012345678901234567890123456789"
00370 "01234567890123456789012345678901234567890123456789"
00371 
00372 "01234567890123456789012345678901234567890123456789"
00373 "01234567890123456789012345678901234567890123456789"
00374 "01234567890123456789012345678901234567890123456789"
00375 "01234567890123456789012345678901234567890123456789"
00376 "01234567890123456789012345678901234567890123456789"
00377 "01234567890123456789012345678901234567890123456789"
00378 "01234567890123456789012345678901234567890123456789"
00379 "01234567890123456789012345678901234567890123456789"
00380 "01234567890123456789012345678901234567890123456789"
00381 "01234567890123456789012345678901234567890123456789"
00382 
00383 "01234567890123456789012345678901234567890123456789"
00384 "01234567890123456789012345678901234567890123456789"
00385 "01234567890123456789012345678901234567890123456789"
00386 "01234567890123456789012345678901234567890123456789"
00387 "01234567890123456789012345678901234567890123456789"
00388 "01234567890123456789012345678901234567890123456789"
00389 "01234567890123456789012345678901234567890123456789"
00390 "01234567890123456789012345678901234567890123456789"
00391 "01234567890123456789012345678901234567890123456789"
00392 "01234567890123456789012345678901234567890123456789"
00393 
00394 "01234567890123456789012345678901234567890123456789"
00395 "01234567890123456789012345678901234567890123456789"
00396 "01234567890123456789012345678901234567890123456789"
00397 "01234567890123456789012345678901234567890123456789"
00398 "01234567890123456789012345678901234567890123456789"
00399 "01234567890123456789012345678901234567890123456789"
00400 "01234567890123456789012345678901234567890123456789"
00401 "01234567890123456789012345678901234567890123456789"
00402 "01234567890123456789012345678901234567890123456789"
00403 "01234567890123456789012345678901234567890123456789"
00404 
00405 "01234567890123456789012345678901234567890123456789"
00406 "01234567890123456789012345678901234567890123456789"
00407 "01234567890123456789012345678901234567890123456789"
00408 "01234567890123456789012345678901234567890123456789"
00409 "01234567890123456789012345678901234567890123456789"
00410 "01234567890123456789012345678901234567890123456789"
00411 "01234567890123456789012345678901234567890123456789"
00412 "01234567890123456789012345678901234567890123456789"
00413 "01234567890123456789012345678901234567890123456789"
00414 "01234567890123456789012345678901234567890123456789"
00415 
00416 "01234567890123456789012345678901234567890123456789"
00417 "01234567890123456789012345678901234567890123456789"
00418 "01234567890123456789012345678901234567890123456789"
00419 "01234567890123456789012345678901234567890123456789"
00420 "01234567890123456789012345678901234567890123456789"
00421 "01234567890123456789012345678901234567890123456789"
00422 "01234567890123456789012345678901234567890123456789"
00423 "01234567890123456789012345678901234567890123456789"
00424 "01234567890123456789012345678901234567890123456789"
00425 "01234567890123456789012345678901234567890123456789"
00426 
00427 "01234567890123456789012345678901234567890123456789"
00428 "01234567890123456789012345678901234567890123456789"
00429 "01234567890123456789012345678901234567890123456789"
00430 "01234567890123456789012345678901234567890123456789"
00431 "01234567890123456789012345678901234567890123456789"
00432 "01234567890123456789012345678901234567890123456789"
00433 "01234567890123456789012345678901234567890123456789"
00434 "01234567890123456789012345678901234567890123456789"
00435 "01234567890123456789012345678901234567890123456789"
00436 "01234567890123456789012345678901234567890123456789"
00437 
00438 "01234567890123456789012345678901234567890123456789"
00439 "01234567890123456789012345678901234567890123456789"
00440 "01234567890123456789012345678901234567890123456789"
00441 "01234567890123456789012345678901234567890123456789"
00442 "01234567890123456789012345678901234567890123456789"
00443 "01234567890123456789012345678901234567890123456789"
00444 "01234567890123456789012345678901234567890123456789"
00445 "01234567890123456789012345678901234567890123456789"
00446 "01234567890123456789012345678901234567890123456789"
00447 "01234567890123456789012345678901234567890123456789"
00448 
00449 "01234567890123456789012345678901234567890123456789"
00450 "01234567890123456789012345678901234567890123456789"
00451 "01234567890123456789012345678901234567890123456789"
00452 "01234567890123456789012345678901234567890123456789"
00453 "01234567890123456789012345678901234567890123456789"
00454 "01234567890123456789012345678901234567890123456789"
00455 "01234567890123456789012345678901234567890123456789"
00456 "01234567890123456789012345678901234567890123456789"
00457 "01234567890123456789012345678901234567890123456789"
00458 "01234567890123456789012345678901234567890123456789"
00459 
00460 "01234567890123456789012345678901234567890123456789"
00461 "01234567890123456789012345678901234567890123456789"
00462 "01234567890123456789012345678901234567890123456789"
00463 "01234567890123456789012345678901234567890123456789"
00464 "01234567890123456789012345678901234567890123456789"
00465 "01234567890123456789012345678901234567890123456789"
00466 "01234567890123456789012345678901234567890123456789"
00467 "01234567890123456789012345678901234567890123456789"
00468 "01234567890123456789012345678901234567890123456789"
00469 "01234567890123456789012345678901234567890123456789"
00470 
00471 "01234567890123456789012345678901234567890123456789"
00472 "01234567890123456789012345678901234567890123456789"
00473 "01234567890123456789012345678901234567890123456789"
00474 "01234567890123456789012345678901234567890123456789"
00475 "01234567890123456789012345678901234567890123456789"
00476 "01234567890123456789012345678901234567890123456789"
00477 "01234567890123456789012345678901234567890123456789"
00478 "01234567890123456789012345678901234567890123456789"
00479 "01234567890123456789012345678901234567890123456789"
00480 "01234567890123456789012345678901234567890123456789"
00481 
00482 "01234567890123456789012345678901234567890123456789"
00483 "01234567890123456789012345678901234567890123456789"
00484 "01234567890123456789012345678901234567890123456789"
00485 "01234567890123456789012345678901234567890123456789"
00486 "01234567890123456789012345678901234567890123456789"
00487 "01234567890123456789012345678901234567890123456789"
00488 "01234567890123456789012345678901234567890123456789"
00489 "01234567890123456789012345678901234567890123456789"
00490 "01234567890123456789012345678901234567890123456789"
00491 "01234567890123456789012345678901234567890123456789"
00492 
00493 "01234567890123456789012345678901234567890123456789"
00494 "01234567890123456789012345678901234567890123456789"
00495 "01234567890123456789012345678901234567890123456789"
00496 "01234567890123456789012345678901234567890123456789"
00497 "01234567890123456789012345678901234567890123456789"
00498 "01234567890123456789012345678901234567890123456789"
00499 "01234567890123456789012345678901234567890123456789"
00500 "01234567890123456789012345678901234567890123456789"
00501 "01234567890123456789012345678901234567890123456789"
00502 "01234567890123456789012345678901234567890123456789"
00503 
00504 "01234567890123456789012345678901234567890123456789"
00505 "01234567890123456789012345678901234567890123456789"
00506 "01234567890123456789012345678901234567890123456789"
00507 "01234567890123456789012345678901234567890123456789"
00508 "01234567890123456789012345678901234567890123456789"
00509 "01234567890123456789012345678901234567890123456789"
00510 "01234567890123456789012345678901234567890123456789"
00511 "01234567890123456789012345678901234567890123456789"
00512 "01234567890123456789012345678901234567890123456789"
00513 "01234567890123456789012345678901234567890123456789"
00514 
00515 "01234567890123456789012345678901234567890123456789"
00516 "01234567890123456789012345678901234567890123456789"
00517 "01234567890123456789012345678901234567890123456789"
00518 "01234567890123456789012345678901234567890123456789"
00519 "01234567890123456789012345678901234567890123456789"
00520 "01234567890123456789012345678901234567890123456789"
00521 "01234567890123456789012345678901234567890123456789"
00522 "01234567890123456789012345678901234567890123456789"
00523 "01234567890123456789012345678901234567890123456789"
00524 "01234567890123456789012345678901234567890123456789"
00525 
00526 "01234567890123456789012345678901234567890123456789"
00527 "01234567890123456789012345678901234567890123456789"
00528 "01234567890123456789012345678901234567890123456789"
00529 "01234567890123456789012345678901234567890123456789"
00530 "01234567890123456789012345678901234567890123456789"
00531 "01234567890123456789012345678901234567890123456789"
00532 "01234567890123456789012345678901234567890123456789"
00533 "01234567890123456789012345678901234567890123456789"
00534 "01234567890123456789012345678901234567890123456789"
00535 "01234567890123456789012345678901234567890123456789";
00536 
00537 
00538 static void make_request(void)
00539 {
00540         bs_service_request request;
00541         bs_service_response *response;
00542         bs_data_type type;
00543         bs_part_instance part;
00544         bs_message_instance message;
00545         int i;
00546         bs_status rv;
00547         
00548         type.name = (char *) calloc(1, strlen("bs_string") + 1);
00549         strcpy(type.name, "bs_string");
00550         type.builtin = TRUE;
00551         type.from_mp = FALSE;
00552         part.name = (char *) calloc(1, strlen("param") + 1);
00553         strcpy(part.name, "param");
00554         part.type = &type;
00555         part.data = data;
00556         part.size = strlen(data);
00557         part.from_mp = FALSE;
00558 
00559         message.name = (char *) calloc(1, strlen("EchoRequest") + 1);
00560         strcpy(message.name, "EchoRequest");
00561         message.parts = (bs_part_instance **) calloc(1, sizeof(bs_part_instance *));
00562         message.parts[0] = &part;
00563         message.num_parts = 1;
00564         message.from_mp = FALSE;
00565 
00566         for (i = 0; i < 16; i++) request.uuid[i] = '1';
00567         request.service = (char *) calloc(1, strlen("EchoService") + 1);
00568         strcpy(request.service, "EchoService");
00569         request.port = (char *) calloc(1, strlen("EchoPort") + 1);
00570         strcpy(request.port, "EchoPort");
00571         request.operation = (char *) calloc(1, strlen("Echo") + 1);
00572         strcpy(request.operation, "Echo");
00573         request.input = &message;
00574         request.from_mp = FALSE;
00575 
00576         rv = make_service_request(&request, &response, 2915);
00577         if (rv != BS_OK) {
00578                 printf("Error!\n");
00579                 exit(1);
00580         }
00581 }
00582 
00583 
00584 int main(int argc, char *argv[])
00585 {
00586         int i;
00587         
00588         init_library();
00589         printf("%s\n", get_library_version_string());
00590 
00591         for (i = 0; i < 1000; i++) {
00592                 make_request();
00593         }
00594 
00595         cleanup_library();
00596         return 0;
00597 }

Generated on Tue Jul 17 09:50:53 2007 for Bio-SPHERE by  doxygen 1.5.1