1 /* moonshot-webp-parser.c generated by valac 0.28.0, the Vala compiler
2 * generated from moonshot-webp-parser.vala, do not modify */
5 * Copyright (c) 2011-2014, JANET(UK)
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
12 * 1. Redistributions of source code must retain the above copyright
13 * notice, this list of conditions and the following disclaimer.
15 * 2. Redistributions in binary form must reproduce the above copyright
16 * notice, this list of conditions and the following disclaimer in the
17 * documentation and/or other materials provided with the distribution.
19 * 3. Neither the name of JANET(UK) nor the names of its contributors
20 * may be used to endorse or promote products derived from this software
21 * without specific prior written permission.
23 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
27 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37 #include <glib-object.h>
41 #include <glib/gi18n-lib.h>
42 #include <glib/gstdio.h>
43 #include <libmoonshot.h>
45 #define _g_free0(var) (var = (g_free (var), NULL))
47 #define WEB_PROVISIONING_TYPE_PARSER (web_provisioning_parser_get_type ())
48 #define WEB_PROVISIONING_PARSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WEB_PROVISIONING_TYPE_PARSER, WebProvisioningParser))
49 #define WEB_PROVISIONING_PARSER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WEB_PROVISIONING_TYPE_PARSER, WebProvisioningParserClass))
50 #define WEB_PROVISIONING_IS_PARSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WEB_PROVISIONING_TYPE_PARSER))
51 #define WEB_PROVISIONING_IS_PARSER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WEB_PROVISIONING_TYPE_PARSER))
52 #define WEB_PROVISIONING_PARSER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), WEB_PROVISIONING_TYPE_PARSER, WebProvisioningParserClass))
54 typedef struct _WebProvisioningParser WebProvisioningParser;
55 typedef struct _WebProvisioningParserClass WebProvisioningParserClass;
57 #define TYPE_ID_CARD (id_card_get_type ())
58 #define ID_CARD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ID_CARD, IdCard))
59 #define ID_CARD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ID_CARD, IdCardClass))
60 #define IS_ID_CARD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ID_CARD))
61 #define IS_ID_CARD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ID_CARD))
62 #define ID_CARD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ID_CARD, IdCardClass))
64 typedef struct _IdCard IdCard;
65 typedef struct _IdCardClass IdCardClass;
67 #define TYPE_RULE (rule_get_type ())
68 typedef struct _Rule Rule;
70 #define TYPE_TRUST_ANCHOR (trust_anchor_get_type ())
71 #define TRUST_ANCHOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_TRUST_ANCHOR, TrustAnchor))
72 #define TRUST_ANCHOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_TRUST_ANCHOR, TrustAnchorClass))
73 #define IS_TRUST_ANCHOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_TRUST_ANCHOR))
74 #define IS_TRUST_ANCHOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_TRUST_ANCHOR))
75 #define TRUST_ANCHOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_TRUST_ANCHOR, TrustAnchorClass))
77 typedef struct _TrustAnchor TrustAnchor;
78 typedef struct _TrustAnchorClass TrustAnchorClass;
79 #define _moonshot_error_free0(var) ((var == NULL) ? NULL : (var = (moonshot_error_free (var), NULL)))
80 #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
81 #define _web_provisioning_parser_unref0(var) ((var == NULL) ? NULL : (var = (web_provisioning_parser_unref (var), NULL)))
85 gchar* always_confirm;
89 extern IdCard** web_provisioning_cards;
90 extern gint web_provisioning_cards_length1;
92 gint web_provisioning_main (gchar** args, int args_length1);
93 gpointer web_provisioning_parser_ref (gpointer instance);
94 void web_provisioning_parser_unref (gpointer instance);
95 GParamSpec* web_provisioning_param_spec_parser (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
96 void web_provisioning_value_set_parser (GValue* value, gpointer v_object);
97 void web_provisioning_value_take_parser (GValue* value, gpointer v_object);
98 gpointer web_provisioning_value_get_parser (const GValue* value);
99 GType web_provisioning_parser_get_type (void) G_GNUC_CONST;
100 WebProvisioningParser* web_provisioning_parser_new (const gchar* path);
101 WebProvisioningParser* web_provisioning_parser_construct (GType object_type, const gchar* path);
102 void web_provisioning_parser_parse (WebProvisioningParser* self);
103 GType id_card_get_type (void) G_GNUC_CONST;
104 GType rule_get_type (void) G_GNUC_CONST;
105 Rule* rule_dup (const Rule* self);
106 void rule_free (Rule* self);
107 void rule_copy (const Rule* self, Rule* dest);
108 void rule_destroy (Rule* self);
109 Rule* id_card_get_rules (IdCard* self, int* result_length1);
110 static Rule* _vala_array_dup1 (Rule* self, int length);
111 gchar** id_card_get_services (IdCard* self, int* result_length1);
112 static gchar** _vala_array_dup2 (gchar** self, int length);
113 const gchar* id_card_get_display_name (IdCard* self);
114 const gchar* id_card_get_username (IdCard* self);
115 const gchar* id_card_get_password (IdCard* self);
116 const gchar* id_card_get_issuer (IdCard* self);
117 GType trust_anchor_get_type (void) G_GNUC_CONST;
118 TrustAnchor* id_card_get_trust_anchor (IdCard* self);
119 const gchar* trust_anchor_get_ca_cert (TrustAnchor* self);
120 const gchar* trust_anchor_get_subject (TrustAnchor* self);
121 const gchar* trust_anchor_get_subject_alt (TrustAnchor* self);
122 const gchar* trust_anchor_get_server_cert (TrustAnchor* self);
123 static void _vala_Rule_array_free (Rule* array, gint array_length);
124 static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
125 static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
128 static gunichar string_get_char (const gchar* self, glong index) {
129 gunichar result = 0U;
131 gunichar _tmp1_ = 0U;
132 #line 1026 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
133 g_return_val_if_fail (self != NULL, 0U);
134 #line 1027 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
136 #line 1027 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
137 _tmp1_ = g_utf8_get_char (((gchar*) self) + _tmp0_);
138 #line 1027 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
140 #line 1027 "/usr/share/vala-0.28/vapi/glib-2.0.vapi"
142 #line 143 "moonshot-webp-parser.c"
146 static gpointer _g_object_ref0 (gpointer self) {
147 #line 77 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
148 return self ? g_object_ref (self) : NULL;
149 #line 150 "moonshot-webp-parser.c"
153 static Rule* _vala_array_dup1 (Rule* self, int length) {
156 #line 84 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
157 result = g_new0 (Rule, length);
158 #line 84 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
159 for (i = 0; i < length; i++) {
160 #line 161 "moonshot-webp-parser.c"
162 #line 84 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
163 rule_copy (&self[i], &_tmp0_);
164 #line 84 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
166 #line 167 "moonshot-webp-parser.c"
168 #line 84 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
170 #line 171 "moonshot-webp-parser.c"
174 static gchar** _vala_array_dup2 (gchar** self, int length) {
177 #line 85 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
178 result = g_new0 (gchar*, length + 1);
179 #line 85 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
180 for (i = 0; i < length; i++) {
181 #line 182 "moonshot-webp-parser.c"
182 gchar* _tmp0_ = NULL;
183 #line 85 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
184 _tmp0_ = g_strdup (self[i]);
185 #line 85 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
187 #line 188 "moonshot-webp-parser.c"
189 #line 85 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
191 #line 192 "moonshot-webp-parser.c"
195 static void _vala_Rule_array_free (Rule* array, gint array_length) {
196 #line 116 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
198 #line 199 "moonshot-webp-parser.c"
200 #line 116 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
201 for (i = 0; i < array_length; i = i + 1) {
202 #line 116 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
203 rule_destroy (&array[i]);
204 #line 205 "moonshot-webp-parser.c"
207 #line 116 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
209 #line 210 "moonshot-webp-parser.c"
213 gint web_provisioning_main (gchar** args, int args_length1) {
216 gint force_flat_file_store = 0;
217 gboolean bad_switch = FALSE;
218 gboolean _tmp17_ = FALSE;
219 gboolean _tmp18_ = FALSE;
220 gchar* webp_file = NULL;
221 gchar** _tmp25_ = NULL;
222 gint _tmp25__length1 = 0;
224 const gchar* _tmp27_ = NULL;
225 gchar* _tmp28_ = NULL;
226 const gchar* _tmp29_ = NULL;
227 gboolean _tmp30_ = FALSE;
228 WebProvisioningParser* webp = NULL;
229 const gchar* _tmp34_ = NULL;
230 WebProvisioningParser* _tmp35_ = NULL;
231 WebProvisioningParser* _tmp36_ = NULL;
232 IdCard** _tmp37_ = NULL;
233 gint _tmp37__length1 = 0;
234 #line 40 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
236 #line 41 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
237 force_flat_file_store = 0;
238 #line 42 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
240 #line 241 "moonshot-webp-parser.c"
242 gboolean _tmp0_ = FALSE;
243 #line 43 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
245 #line 43 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
247 #line 43 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
249 #line 250 "moonshot-webp-parser.c"
251 gchar** _tmp3_ = NULL;
252 gint _tmp3__length1 = 0;
254 gchar** _tmp4_ = NULL;
255 gint _tmp4__length1 = 0;
257 const gchar* _tmp6_ = NULL;
258 gchar* _tmp7_ = NULL;
260 const gchar* _tmp8_ = NULL;
261 gunichar _tmp9_ = 0U;
262 gunichar _tmp10_ = 0U;
263 #line 43 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
265 #line 266 "moonshot-webp-parser.c"
267 #line 43 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
269 #line 43 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
270 arg_index = _tmp1_ + 1;
271 #line 272 "moonshot-webp-parser.c"
273 #line 43 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
275 #line 43 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
277 #line 43 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
279 #line 43 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
280 _tmp3__length1 = args_length1;
281 #line 43 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
282 if (!(_tmp2_ < _tmp3__length1)) {
283 #line 43 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
285 #line 286 "moonshot-webp-parser.c"
287 #line 44 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
289 #line 44 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
290 _tmp4__length1 = args_length1;
291 #line 44 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
293 #line 44 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
294 _tmp6_ = _tmp4_[_tmp5_];
295 #line 44 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
296 _tmp7_ = g_strdup (_tmp6_);
297 #line 44 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
299 #line 45 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
301 #line 45 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
302 _tmp9_ = string_get_char (_tmp8_, (glong) 0);
303 #line 45 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
305 #line 46 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
307 #line 46 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
308 if (_tmp10_ == ((gunichar) '-')) {
309 #line 310 "moonshot-webp-parser.c"
310 const gchar* _tmp11_ = NULL;
311 const gchar* _tmp12_ = NULL;
312 gchar* _tmp13_ = NULL;
313 const gchar* _tmp14_ = NULL;
314 gunichar _tmp15_ = 0U;
315 gunichar _tmp16_ = 0U;
316 #line 47 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
318 #line 47 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
319 _tmp12_ = g_utf8_next_char (_tmp11_);
320 #line 47 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
321 _tmp13_ = g_strdup (_tmp12_);
322 #line 47 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
324 #line 47 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
326 #line 48 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
328 #line 48 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
329 _tmp15_ = string_get_char (_tmp14_, (glong) 0);
330 #line 48 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
332 #line 49 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
334 #line 49 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
336 #line 49 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
338 #line 339 "moonshot-webp-parser.c"
340 #line 51 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
341 force_flat_file_store = 1;
342 #line 52 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
344 #line 345 "moonshot-webp-parser.c"
348 #line 54 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
350 #line 55 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
352 #line 353 "moonshot-webp-parser.c"
356 #line 58 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
358 #line 58 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
360 #line 361 "moonshot-webp-parser.c"
362 #line 43 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
364 #line 365 "moonshot-webp-parser.c"
367 #line 61 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
368 _tmp18_ = bad_switch;
369 #line 61 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
371 #line 61 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
373 #line 374 "moonshot-webp-parser.c"
376 gchar** _tmp20_ = NULL;
377 gint _tmp20__length1 = 0;
378 #line 61 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
380 #line 61 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
382 #line 61 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
383 _tmp20__length1 = args_length1;
384 #line 61 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
385 _tmp17_ = _tmp19_ != (_tmp20__length1 - 1);
386 #line 387 "moonshot-webp-parser.c"
388 #line 61 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
390 #line 391 "moonshot-webp-parser.c"
391 FILE* _tmp21_ = NULL;
392 const gchar* _tmp22_ = NULL;
393 gchar** _tmp23_ = NULL;
394 gint _tmp23__length1 = 0;
395 const gchar* _tmp24_ = NULL;
396 #line 63 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
398 #line 63 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
399 _tmp22_ = _ ("Usage %s [-f] WEB_PROVISIONING_FILE\n" \
400 " -f: add identities to flat file store.\n");
401 #line 63 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
403 #line 63 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
404 _tmp23__length1 = args_length1;
405 #line 63 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
406 _tmp24_ = _tmp23_[0];
407 #line 63 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
408 fprintf (_tmp21_, _tmp22_, _tmp24_);
409 #line 64 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
411 #line 64 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
413 #line 413 "moonshot-webp-parser.c"
415 #line 66 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
417 #line 66 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
418 _tmp25__length1 = args_length1;
419 #line 66 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
421 #line 66 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
422 _tmp27_ = _tmp25_[_tmp26_];
423 #line 66 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
424 _tmp28_ = g_strdup (_tmp27_);
425 #line 66 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
427 #line 68 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
429 #line 68 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
430 _tmp30_ = g_file_test (_tmp29_, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_REGULAR);
431 #line 68 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
433 #line 433 "moonshot-webp-parser.c"
434 FILE* _tmp31_ = NULL;
435 const gchar* _tmp32_ = NULL;
436 const gchar* _tmp33_ = NULL;
437 #line 70 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
439 #line 70 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
440 _tmp32_ = _ ("%s does not exist\n");
441 #line 70 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
443 #line 70 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
444 fprintf (_tmp31_, _tmp32_, _tmp33_);
445 #line 71 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
447 #line 71 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
448 _g_free0 (webp_file);
449 #line 71 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
451 #line 451 "moonshot-webp-parser.c"
453 #line 74 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
455 #line 74 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
456 _tmp35_ = web_provisioning_parser_new (_tmp34_);
457 #line 74 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
459 #line 75 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
461 #line 75 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
462 web_provisioning_parser_parse (_tmp36_);
463 #line 77 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
464 _tmp37_ = web_provisioning_cards;
465 #line 77 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
466 _tmp37__length1 = web_provisioning_cards_length1;
467 #line 467 "moonshot-webp-parser.c"
469 IdCard** card_collection = NULL;
470 gint card_collection_length1 = 0;
471 gint _card_collection_size_ = 0;
473 #line 77 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
474 card_collection = _tmp37_;
475 #line 77 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
476 card_collection_length1 = _tmp37__length1;
477 #line 77 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
478 for (card_it = 0; card_it < _tmp37__length1; card_it = card_it + 1) {
479 #line 479 "moonshot-webp-parser.c"
480 IdCard* _tmp38_ = NULL;
482 #line 77 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
483 _tmp38_ = _g_object_ref0 (card_collection[card_it]);
484 #line 77 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
486 #line 486 "moonshot-webp-parser.c"
488 MoonshotError* _error_ = NULL;
489 gchar** rules_patterns = NULL;
490 gchar** _tmp39_ = NULL;
491 gint rules_patterns_length1 = 0;
492 gint _rules_patterns_size_ = 0;
493 gchar** rules_always_confirm = NULL;
494 gchar** _tmp40_ = NULL;
495 gint rules_always_confirm_length1 = 0;
496 gint _rules_always_confirm_size_ = 0;
498 IdCard* _tmp41_ = NULL;
499 Rule* _tmp42_ = NULL;
500 gint _tmp42__length1 = 0;
501 Rule* _tmp43_ = NULL;
502 gint _tmp43__length1 = 0;
503 Rule* _tmp44_ = NULL;
504 gint _tmp44__length1 = 0;
505 gint rules_length1 = 0;
506 gint _rules_size_ = 0;
507 gchar** services = NULL;
508 IdCard* _tmp45_ = NULL;
509 gchar** _tmp46_ = NULL;
510 gint _tmp46__length1 = 0;
511 gchar** _tmp47_ = NULL;
512 gint _tmp47__length1 = 0;
513 gchar** _tmp48_ = NULL;
514 gint _tmp48__length1 = 0;
515 gint services_length1 = 0;
516 gint _services_size_ = 0;
517 Rule* _tmp49_ = NULL;
518 gint _tmp49__length1 = 0;
519 IdCard* _tmp69_ = NULL;
520 const gchar* _tmp70_ = NULL;
521 const gchar* _tmp71_ = NULL;
522 IdCard* _tmp72_ = NULL;
523 const gchar* _tmp73_ = NULL;
524 const gchar* _tmp74_ = NULL;
525 IdCard* _tmp75_ = NULL;
526 const gchar* _tmp76_ = NULL;
527 const gchar* _tmp77_ = NULL;
528 IdCard* _tmp78_ = NULL;
529 const gchar* _tmp79_ = NULL;
530 const gchar* _tmp80_ = NULL;
531 gchar** _tmp81_ = NULL;
532 gint _tmp81__length1 = 0;
533 gchar** _tmp82_ = NULL;
534 gint _tmp82__length1 = 0;
535 gchar** _tmp83_ = NULL;
536 gint _tmp83__length1 = 0;
537 IdCard* _tmp84_ = NULL;
538 TrustAnchor* _tmp85_ = NULL;
539 TrustAnchor* _tmp86_ = NULL;
540 const gchar* _tmp87_ = NULL;
541 const gchar* _tmp88_ = NULL;
542 IdCard* _tmp89_ = NULL;
543 TrustAnchor* _tmp90_ = NULL;
544 TrustAnchor* _tmp91_ = NULL;
545 const gchar* _tmp92_ = NULL;
546 const gchar* _tmp93_ = NULL;
547 IdCard* _tmp94_ = NULL;
548 TrustAnchor* _tmp95_ = NULL;
549 TrustAnchor* _tmp96_ = NULL;
550 const gchar* _tmp97_ = NULL;
551 const gchar* _tmp98_ = NULL;
552 IdCard* _tmp99_ = NULL;
553 TrustAnchor* _tmp100_ = NULL;
554 TrustAnchor* _tmp101_ = NULL;
555 const gchar* _tmp102_ = NULL;
556 const gchar* _tmp103_ = NULL;
558 MoonshotError* _tmp105_ = NULL;
559 MoonshotError* _tmp106_ = NULL;
560 #line 80 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
561 _tmp39_ = g_new0 (gchar*, 0 + 1);
562 #line 80 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
563 rules_patterns = _tmp39_;
564 #line 80 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
565 rules_patterns_length1 = 0;
566 #line 80 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
567 _rules_patterns_size_ = rules_patterns_length1;
568 #line 81 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
569 _tmp40_ = g_new0 (gchar*, 0 + 1);
570 #line 81 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
571 rules_always_confirm = _tmp40_;
572 #line 81 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
573 rules_always_confirm_length1 = 0;
574 #line 81 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
575 _rules_always_confirm_size_ = rules_always_confirm_length1;
576 #line 84 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
578 #line 84 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
579 _tmp42_ = id_card_get_rules (_tmp41_, &_tmp42__length1);
580 #line 84 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
582 #line 84 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
583 _tmp43__length1 = _tmp42__length1;
584 #line 84 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
585 _tmp44_ = (_tmp43_ != NULL) ? _vala_array_dup1 (_tmp43_, _tmp43__length1) : ((gpointer) _tmp43_);
586 #line 84 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
587 _tmp44__length1 = _tmp43__length1;
588 #line 84 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
590 #line 84 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
591 rules_length1 = _tmp44__length1;
592 #line 84 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
593 _rules_size_ = rules_length1;
594 #line 85 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
596 #line 85 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
597 _tmp46_ = id_card_get_services (_tmp45_, &_tmp46__length1);
598 #line 85 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
600 #line 85 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
601 _tmp47__length1 = _tmp46__length1;
602 #line 85 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
603 _tmp48_ = (_tmp47_ != NULL) ? _vala_array_dup2 (_tmp47_, _tmp47__length1) : ((gpointer) _tmp47_);
604 #line 85 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
605 _tmp48__length1 = _tmp47__length1;
606 #line 85 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
608 #line 85 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
609 services_length1 = _tmp48__length1;
610 #line 85 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
611 _services_size_ = services_length1;
612 #line 86 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
614 #line 86 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
615 _tmp49__length1 = rules_length1;
616 #line 86 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
617 if (_tmp49__length1 > 0) {
618 #line 618 "moonshot-webp-parser.c"
620 Rule* _tmp50_ = NULL;
621 gint _tmp50__length1 = 0;
622 gchar** _tmp51_ = NULL;
623 Rule* _tmp52_ = NULL;
624 gint _tmp52__length1 = 0;
625 gchar** _tmp53_ = NULL;
626 Rule* _tmp54_ = NULL;
627 gint _tmp54__length1 = 0;
628 #line 88 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
630 #line 89 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
632 #line 89 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
633 _tmp50__length1 = rules_length1;
634 #line 89 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
635 _tmp51_ = g_new0 (gchar*, _tmp50__length1 + 1);
636 #line 89 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
637 rules_patterns = (_vala_array_free (rules_patterns, rules_patterns_length1, (GDestroyNotify) g_free), NULL);
638 #line 89 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
639 rules_patterns = _tmp51_;
640 #line 89 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
641 rules_patterns_length1 = _tmp50__length1;
642 #line 89 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
643 _rules_patterns_size_ = rules_patterns_length1;
644 #line 90 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
646 #line 90 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
647 _tmp52__length1 = rules_length1;
648 #line 90 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
649 _tmp53_ = g_new0 (gchar*, _tmp52__length1 + 1);
650 #line 90 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
651 rules_always_confirm = (_vala_array_free (rules_always_confirm, rules_always_confirm_length1, (GDestroyNotify) g_free), NULL);
652 #line 90 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
653 rules_always_confirm = _tmp53_;
654 #line 90 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
655 rules_always_confirm_length1 = _tmp52__length1;
656 #line 90 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
657 _rules_always_confirm_size_ = rules_always_confirm_length1;
658 #line 91 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
660 #line 91 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
661 _tmp54__length1 = rules_length1;
662 #line 662 "moonshot-webp-parser.c"
664 Rule* r_collection = NULL;
665 gint r_collection_length1 = 0;
666 gint _r_collection_size_ = 0;
668 #line 91 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
669 r_collection = _tmp54_;
670 #line 91 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
671 r_collection_length1 = _tmp54__length1;
672 #line 91 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
673 for (r_it = 0; r_it < _tmp54__length1; r_it = r_it + 1) {
674 #line 674 "moonshot-webp-parser.c"
677 #line 91 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
678 rule_copy (&r_collection[r_it], &_tmp55_);
679 #line 91 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
681 #line 681 "moonshot-webp-parser.c"
683 gchar** _tmp56_ = NULL;
684 gint _tmp56__length1 = 0;
687 const gchar* _tmp59_ = NULL;
688 gchar* _tmp60_ = NULL;
689 gchar* _tmp61_ = NULL;
690 gchar** _tmp62_ = NULL;
691 gint _tmp62__length1 = 0;
694 const gchar* _tmp65_ = NULL;
695 gchar* _tmp66_ = NULL;
696 gchar* _tmp67_ = NULL;
698 #line 93 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
699 _tmp56_ = rules_patterns;
700 #line 93 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
701 _tmp56__length1 = rules_patterns_length1;
702 #line 93 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
704 #line 93 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
706 #line 93 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
707 _tmp59_ = _tmp58_.pattern;
708 #line 93 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
709 _tmp60_ = g_strdup (_tmp59_);
710 #line 93 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
711 _g_free0 (_tmp56_[_tmp57_]);
712 #line 93 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
713 _tmp56_[_tmp57_] = _tmp60_;
714 #line 93 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
715 _tmp61_ = _tmp56_[_tmp57_];
716 #line 94 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
717 _tmp62_ = rules_always_confirm;
718 #line 94 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
719 _tmp62__length1 = rules_always_confirm_length1;
720 #line 94 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
722 #line 94 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
724 #line 94 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
725 _tmp65_ = _tmp64_.always_confirm;
726 #line 94 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
727 _tmp66_ = g_strdup (_tmp65_);
728 #line 94 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
729 _g_free0 (_tmp62_[_tmp63_]);
730 #line 94 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
731 _tmp62_[_tmp63_] = _tmp66_;
732 #line 94 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
733 _tmp67_ = _tmp62_[_tmp63_];
734 #line 95 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
736 #line 95 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
738 #line 91 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
740 #line 740 "moonshot-webp-parser.c"
745 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
747 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
748 _tmp70_ = id_card_get_display_name (_tmp69_);
749 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
751 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
753 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
754 _tmp73_ = id_card_get_username (_tmp72_);
755 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
757 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
759 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
760 _tmp76_ = id_card_get_password (_tmp75_);
761 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
763 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
765 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
766 _tmp79_ = id_card_get_issuer (_tmp78_);
767 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
769 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
770 _tmp81_ = rules_patterns;
771 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
772 _tmp81__length1 = rules_patterns_length1;
773 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
774 _tmp82_ = rules_always_confirm;
775 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
776 _tmp82__length1 = rules_always_confirm_length1;
777 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
779 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
780 _tmp83__length1 = services_length1;
781 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
783 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
784 _tmp85_ = id_card_get_trust_anchor (_tmp84_);
785 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
787 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
788 _tmp87_ = trust_anchor_get_ca_cert (_tmp86_);
789 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
791 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
793 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
794 _tmp90_ = id_card_get_trust_anchor (_tmp89_);
795 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
797 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
798 _tmp92_ = trust_anchor_get_subject (_tmp91_);
799 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
801 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
803 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
804 _tmp95_ = id_card_get_trust_anchor (_tmp94_);
805 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
807 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
808 _tmp97_ = trust_anchor_get_subject_alt (_tmp96_);
809 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
811 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
813 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
814 _tmp100_ = id_card_get_trust_anchor (_tmp99_);
815 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
817 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
818 _tmp102_ = trust_anchor_get_server_cert (_tmp101_);
819 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
821 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
822 _tmp104_ = force_flat_file_store;
823 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
824 moonshot_install_id_card (_tmp71_, _tmp74_, _tmp77_, _tmp80_, _tmp81_, _tmp81__length1, _tmp82_, _tmp82__length1, _tmp83_, _tmp83__length1, _tmp88_, _tmp93_, _tmp98_, _tmp103_, _tmp104_, &_tmp105_);
825 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
826 _moonshot_error_free0 (_error_);
827 #line 99 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
829 #line 113 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
831 #line 113 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
832 if (_tmp106_ != NULL) {
833 #line 833 "moonshot-webp-parser.c"
834 FILE* _tmp107_ = NULL;
835 MoonshotError* _tmp108_ = NULL;
836 const gchar* _tmp109_ = NULL;
837 #line 115 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
839 #line 115 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
841 #line 115 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
842 _tmp109_ = _tmp108_->message;
843 #line 115 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
844 fprintf (_tmp107_, "Error: %s", _tmp109_);
845 #line 116 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
846 services = (_vala_array_free (services, services_length1, (GDestroyNotify) g_free), NULL);
847 #line 116 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
848 rules = (_vala_Rule_array_free (rules, rules_length1), NULL);
849 #line 116 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
850 rules_always_confirm = (_vala_array_free (rules_always_confirm, rules_always_confirm_length1, (GDestroyNotify) g_free), NULL);
851 #line 116 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
852 rules_patterns = (_vala_array_free (rules_patterns, rules_patterns_length1, (GDestroyNotify) g_free), NULL);
853 #line 116 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
854 _moonshot_error_free0 (_error_);
855 #line 116 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
856 _g_object_unref0 (card);
857 #line 116 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
859 #line 859 "moonshot-webp-parser.c"
861 #line 77 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
862 services = (_vala_array_free (services, services_length1, (GDestroyNotify) g_free), NULL);
863 #line 77 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
864 rules = (_vala_Rule_array_free (rules, rules_length1), NULL);
865 #line 77 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
866 rules_always_confirm = (_vala_array_free (rules_always_confirm, rules_always_confirm_length1, (GDestroyNotify) g_free), NULL);
867 #line 77 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
868 rules_patterns = (_vala_array_free (rules_patterns, rules_patterns_length1, (GDestroyNotify) g_free), NULL);
869 #line 77 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
870 _moonshot_error_free0 (_error_);
871 #line 77 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
872 _g_object_unref0 (card);
873 #line 873 "moonshot-webp-parser.c"
877 #line 120 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
879 #line 120 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
880 _web_provisioning_parser_unref0 (webp);
881 #line 120 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
882 _g_free0 (webp_file);
883 #line 120 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
885 #line 885 "moonshot-webp-parser.c"
889 int main (int argc, char ** argv) {
890 #if !GLIB_CHECK_VERSION (2,35,0)
893 #line 38 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-webp-parser.vala"
894 return web_provisioning_main (argv, argc);
895 #line 895 "moonshot-webp-parser.c"
899 static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
900 if ((array != NULL) && (destroy_func != NULL)) {
902 for (i = 0; i < array_length; i = i + 1) {
903 if (((gpointer*) array)[i] != NULL) {
904 destroy_func (((gpointer*) array)[i]);
911 static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) {
912 _vala_array_destroy (array, array_length, destroy_func);