Remove extern "C" wrapping other includes
[platform/upstream/libsoup.git] / libsoup / soup-version.h.in
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3  * soup-version.h: Version information
4  *
5  * Copyright (C) 2012 Igalia S.L.
6  */
7
8 #ifndef __SOUP_VERSION_H__
9 #define __SOUP_VERSION_H__
10
11 #include <glib.h>
12
13 G_BEGIN_DECLS
14
15 #define SOUP_MAJOR_VERSION (@SOUP_MAJOR_VERSION@)
16 #define SOUP_MINOR_VERSION (@SOUP_MINOR_VERSION@)
17 #define SOUP_MICRO_VERSION (@SOUP_MICRO_VERSION@)
18
19 #define SOUP_CHECK_VERSION(major, minor, micro) \
20     (SOUP_MAJOR_VERSION > (major) || \
21     (SOUP_MAJOR_VERSION == (major) && SOUP_MINOR_VERSION > (minor)) || \
22     (SOUP_MAJOR_VERSION == (major) && SOUP_MINOR_VERSION == (minor) && \
23      SOUP_MICRO_VERSION >= (micro)))
24
25 #ifndef _SOUP_EXTERN
26 #define _SOUP_EXTERN extern
27 #endif
28
29 /* We prefix variable declarations so they can
30  * properly get exported in Windows DLLs.
31  */
32 #ifndef SOUP_VAR
33 #  ifdef G_PLATFORM_WIN32
34 #    ifdef LIBSOUP_COMPILATION
35 #      ifdef DLL_EXPORT
36 #        define SOUP_VAR __declspec(dllexport)
37 #      else /* !DLL_EXPORT */
38 #        define SOUP_VAR extern
39 #      endif /* !DLL_EXPORT */
40 #    else /* !SOUP_COMPILATION */
41 #      define SOUP_VAR extern __declspec(dllimport)
42 #    endif /* !LIBSOUP_COMPILATION */
43 #  else /* !G_PLATFORM_WIN32 */
44 #    define SOUP_VAR _SOUP_EXTERN
45 #  endif /* !G_PLATFORM_WIN32 */
46 #endif /* SOUP_VAR */
47
48 /* Deprecation / Availability macros */
49
50 #define SOUP_VERSION_2_24 (G_ENCODE_VERSION (2, 24))
51 #define SOUP_VERSION_2_26 (G_ENCODE_VERSION (2, 26))
52 #define SOUP_VERSION_2_28 (G_ENCODE_VERSION (2, 28))
53 #define SOUP_VERSION_2_30 (G_ENCODE_VERSION (2, 30))
54 #define SOUP_VERSION_2_32 (G_ENCODE_VERSION (2, 32))
55 #define SOUP_VERSION_2_34 (G_ENCODE_VERSION (2, 34))
56 #define SOUP_VERSION_2_36 (G_ENCODE_VERSION (2, 36))
57 #define SOUP_VERSION_2_38 (G_ENCODE_VERSION (2, 38))
58 #define SOUP_VERSION_2_40 (G_ENCODE_VERSION (2, 40))
59 #define SOUP_VERSION_2_42 (G_ENCODE_VERSION (2, 42))
60 #define SOUP_VERSION_2_44 (G_ENCODE_VERSION (2, 44))
61 #define SOUP_VERSION_2_46 (G_ENCODE_VERSION (2, 46))
62 #define SOUP_VERSION_2_48 (G_ENCODE_VERSION (2, 48))
63 #define SOUP_VERSION_2_50 (G_ENCODE_VERSION (2, 50))
64 #define SOUP_VERSION_2_52 (G_ENCODE_VERSION (2, 52))
65 #define SOUP_VERSION_2_54 (G_ENCODE_VERSION (2, 54))
66 #define SOUP_VERSION_2_56 (G_ENCODE_VERSION (2, 56))
67 #define SOUP_VERSION_2_58 (G_ENCODE_VERSION (2, 58))
68 #define SOUP_VERSION_2_62 (G_ENCODE_VERSION (2, 62))
69 #define SOUP_VERSION_2_66 (G_ENCODE_VERSION (2, 66))
70 #define SOUP_VERSION_2_68 (G_ENCODE_VERSION (2, 68))
71 #define SOUP_VERSION_2_70 (G_ENCODE_VERSION (2, 70))
72 #define SOUP_VERSION_2_72 (G_ENCODE_VERSION (2, 72))
73
74 /* evaluates to the current stable version; for development cycles,
75  * this means the next stable target
76  */
77 #if (SOUP_MINOR_VERSION % 2)
78 #define SOUP_VERSION_CUR_STABLE (G_ENCODE_VERSION (SOUP_MAJOR_VERSION, SOUP_MINOR_VERSION + 1))
79 #else
80 #define SOUP_VERSION_CUR_STABLE (G_ENCODE_VERSION (SOUP_MAJOR_VERSION, SOUP_MINOR_VERSION))
81 #endif
82
83 /* evaluates to the previous stable version */
84 #if (SOUP_MINOR_VERSION % 2)
85 #define SOUP_VERSION_PREV_STABLE (G_ENCODE_VERSION (SOUP_MAJOR_VERSION, SOUP_MINOR_VERSION - 1))
86 #else
87 #define SOUP_VERSION_PREV_STABLE (G_ENCODE_VERSION (SOUP_MAJOR_VERSION, SOUP_MINOR_VERSION - 2))
88 #endif
89
90 #ifndef SOUP_VERSION_MIN_REQUIRED
91 # define SOUP_VERSION_MIN_REQUIRED (SOUP_VERSION_CUR_STABLE)
92 #elif SOUP_VERSION_MIN_REQUIRED == 0
93 # undef  SOUP_VERSION_MIN_REQUIRED
94 # define SOUP_VERSION_MIN_REQUIRED (SOUP_VERSION_CUR_STABLE + 2)
95 #endif
96
97 #if !defined (SOUP_VERSION_MAX_ALLOWED) || (SOUP_VERSION_MAX_ALLOWED == 0)
98 # undef SOUP_VERSION_MAX_ALLOWED
99 # define SOUP_VERSION_MAX_ALLOWED (SOUP_VERSION_CUR_STABLE)
100 #endif
101
102 /* sanity checks */
103 #if SOUP_VERSION_MIN_REQUIRED > SOUP_VERSION_CUR_STABLE
104 #error "SOUP_VERSION_MIN_REQUIRED must be <= SOUP_VERSION_CUR_STABLE"
105 #endif
106 #if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_MIN_REQUIRED
107 #error "SOUP_VERSION_MAX_ALLOWED must be >= SOUP_VERSION_MIN_REQUIRED"
108 #endif
109 #if SOUP_VERSION_MIN_REQUIRED < SOUP_VERSION_2_24
110 #error "SOUP_VERSION_MIN_REQUIRED must be >= SOUP_VERSION_2_24"
111 #endif
112
113 #define SOUP_AVAILABLE_IN_2_4                   _SOUP_EXTERN
114
115 #if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_24
116 # define SOUP_DEPRECATED_IN_2_24                G_DEPRECATED
117 # define SOUP_DEPRECATED_IN_2_24_FOR(f)         G_DEPRECATED_FOR(f)
118 #else
119 # define SOUP_DEPRECATED_IN_2_24
120 # define SOUP_DEPRECATED_IN_2_24_FOR(f)
121 #endif
122
123 #if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_24
124 # define SOUP_AVAILABLE_IN_2_24                 G_UNAVAILABLE(2, 24) _SOUP_EXTERN
125 #else
126 # define SOUP_AVAILABLE_IN_2_24                 _SOUP_EXTERN
127 #endif
128
129 #if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_26
130 # define SOUP_DEPRECATED_IN_2_26                G_DEPRECATED
131 # define SOUP_DEPRECATED_IN_2_26_FOR(f)         G_DEPRECATED_FOR(f)
132 #else
133 # define SOUP_DEPRECATED_IN_2_26
134 # define SOUP_DEPRECATED_IN_2_26_FOR(f)
135 #endif
136
137 #if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_26
138 # define SOUP_AVAILABLE_IN_2_26                 G_UNAVAILABLE(2, 26) _SOUP_EXTERN
139 #else
140 # define SOUP_AVAILABLE_IN_2_26                 _SOUP_EXTERN
141 #endif
142
143 #if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_28
144 # define SOUP_DEPRECATED_IN_2_28                G_DEPRECATED
145 # define SOUP_DEPRECATED_IN_2_28_FOR(f)         G_DEPRECATED_FOR(f)
146 #else
147 # define SOUP_DEPRECATED_IN_2_28
148 # define SOUP_DEPRECATED_IN_2_28_FOR(f)
149 #endif
150
151 #if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_28
152 # define SOUP_AVAILABLE_IN_2_28                 G_UNAVAILABLE(2, 28) _SOUP_EXTERN
153 #else
154 # define SOUP_AVAILABLE_IN_2_28                 _SOUP_EXTERN
155 #endif
156
157 #if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_30
158 # define SOUP_DEPRECATED_IN_2_30                G_DEPRECATED
159 # define SOUP_DEPRECATED_IN_2_30_FOR(f)         G_DEPRECATED_FOR(f)
160 #else
161 # define SOUP_DEPRECATED_IN_2_30
162 # define SOUP_DEPRECATED_IN_2_30_FOR(f)
163 #endif
164
165 #if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_30
166 # define SOUP_AVAILABLE_IN_2_30                 G_UNAVAILABLE(2, 30) _SOUP_EXTERN
167 #else
168 # define SOUP_AVAILABLE_IN_2_30                 _SOUP_EXTERN
169 #endif
170
171 #if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_32
172 # define SOUP_DEPRECATED_IN_2_32                G_DEPRECATED
173 # define SOUP_DEPRECATED_IN_2_32_FOR(f)         G_DEPRECATED_FOR(f)
174 #else
175 # define SOUP_DEPRECATED_IN_2_32
176 # define SOUP_DEPRECATED_IN_2_32_FOR(f)
177 #endif
178
179 #if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_32
180 # define SOUP_AVAILABLE_IN_2_32                 G_UNAVAILABLE(2, 32) _SOUP_EXTERN
181 #else
182 # define SOUP_AVAILABLE_IN_2_32                 _SOUP_EXTERN
183 #endif
184
185 #if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_34
186 # define SOUP_DEPRECATED_IN_2_34                G_DEPRECATED
187 # define SOUP_DEPRECATED_IN_2_34_FOR(f)         G_DEPRECATED_FOR(f)
188 #else
189 # define SOUP_DEPRECATED_IN_2_34
190 # define SOUP_DEPRECATED_IN_2_34_FOR(f)
191 #endif
192
193 #if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_34
194 # define SOUP_AVAILABLE_IN_2_34                 G_UNAVAILABLE(2, 34) _SOUP_EXTERN
195 #else
196 # define SOUP_AVAILABLE_IN_2_34                 _SOUP_EXTERN
197 #endif
198
199 #if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_36
200 # define SOUP_DEPRECATED_IN_2_36                G_DEPRECATED
201 # define SOUP_DEPRECATED_IN_2_36_FOR(f)         G_DEPRECATED_FOR(f)
202 #else
203 # define SOUP_DEPRECATED_IN_2_36
204 # define SOUP_DEPRECATED_IN_2_36_FOR(f)
205 #endif
206
207 #if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_36
208 # define SOUP_AVAILABLE_IN_2_36                 G_UNAVAILABLE(2, 36) _SOUP_EXTERN
209 #else
210 # define SOUP_AVAILABLE_IN_2_36                 _SOUP_EXTERN
211 #endif
212
213 #if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_38
214 # define SOUP_DEPRECATED_IN_2_38                G_DEPRECATED
215 # define SOUP_DEPRECATED_IN_2_38_FOR(f)         G_DEPRECATED_FOR(f)
216 #else
217 # define SOUP_DEPRECATED_IN_2_38
218 # define SOUP_DEPRECATED_IN_2_38_FOR(f)
219 #endif
220
221 #if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_38
222 # define SOUP_AVAILABLE_IN_2_38                 G_UNAVAILABLE(2, 38) _SOUP_EXTERN
223 #else
224 # define SOUP_AVAILABLE_IN_2_38                 _SOUP_EXTERN
225 #endif
226
227 #if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_40
228 # define SOUP_DEPRECATED_IN_2_40                G_DEPRECATED
229 # define SOUP_DEPRECATED_IN_2_40_FOR(f)         G_DEPRECATED_FOR(f)
230 #else
231 # define SOUP_DEPRECATED_IN_2_40
232 # define SOUP_DEPRECATED_IN_2_40_FOR(f)
233 #endif
234
235 #if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_40
236 # define SOUP_AVAILABLE_IN_2_40                 G_UNAVAILABLE(2, 40) _SOUP_EXTERN
237 #else
238 # define SOUP_AVAILABLE_IN_2_40                 _SOUP_EXTERN
239 #endif
240
241 #if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_42
242 # define SOUP_DEPRECATED_IN_2_42                G_DEPRECATED
243 # define SOUP_DEPRECATED_IN_2_42_FOR(f)         G_DEPRECATED_FOR(f)
244 #else
245 # define SOUP_DEPRECATED_IN_2_42
246 # define SOUP_DEPRECATED_IN_2_42_FOR(f)
247 #endif
248
249 #if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_42
250 # define SOUP_AVAILABLE_IN_2_42                 G_UNAVAILABLE(2, 42) _SOUP_EXTERN
251 #else
252 # define SOUP_AVAILABLE_IN_2_42                 _SOUP_EXTERN
253 #endif
254
255 #if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_44
256 # define SOUP_DEPRECATED_IN_2_44                G_DEPRECATED
257 # define SOUP_DEPRECATED_IN_2_44_FOR(f)         G_DEPRECATED_FOR(f)
258 #else
259 # define SOUP_DEPRECATED_IN_2_44
260 # define SOUP_DEPRECATED_IN_2_44_FOR(f)
261 #endif
262
263 #if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_44
264 # define SOUP_AVAILABLE_IN_2_44                 G_UNAVAILABLE(2, 44) _SOUP_EXTERN
265 #else
266 # define SOUP_AVAILABLE_IN_2_44                 _SOUP_EXTERN
267 #endif
268
269 #if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_46
270 # define SOUP_DEPRECATED_IN_2_46                G_DEPRECATED
271 # define SOUP_DEPRECATED_IN_2_46_FOR(f)         G_DEPRECATED_FOR(f)
272 #else
273 # define SOUP_DEPRECATED_IN_2_46
274 # define SOUP_DEPRECATED_IN_2_46_FOR(f)
275 #endif
276
277 #if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_46
278 # define SOUP_AVAILABLE_IN_2_46                 G_UNAVAILABLE(2, 46) _SOUP_EXTERN
279 #else
280 # define SOUP_AVAILABLE_IN_2_46                 _SOUP_EXTERN
281 #endif
282
283 #if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_48
284 # define SOUP_DEPRECATED_IN_2_48                G_DEPRECATED
285 # define SOUP_DEPRECATED_IN_2_48_FOR(f)         G_DEPRECATED_FOR(f)
286 #else
287 # define SOUP_DEPRECATED_IN_2_48
288 # define SOUP_DEPRECATED_IN_2_48_FOR(f)
289 #endif
290
291 #if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_48
292 # define SOUP_AVAILABLE_IN_2_48                 G_UNAVAILABLE(2, 48) _SOUP_EXTERN
293 #else
294 # define SOUP_AVAILABLE_IN_2_48                 _SOUP_EXTERN
295 #endif
296
297 #if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_50
298 # define SOUP_DEPRECATED_IN_2_50                G_DEPRECATED
299 # define SOUP_DEPRECATED_IN_2_50_FOR(f)         G_DEPRECATED_FOR(f)
300 #else
301 # define SOUP_DEPRECATED_IN_2_50
302 # define SOUP_DEPRECATED_IN_2_50_FOR(f)
303 #endif
304
305 #if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_50
306 # define SOUP_AVAILABLE_IN_2_50                 G_UNAVAILABLE(2, 50) _SOUP_EXTERN
307 #else
308 # define SOUP_AVAILABLE_IN_2_50                 _SOUP_EXTERN
309 #endif
310
311 #if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_52
312 # define SOUP_DEPRECATED_IN_2_52                G_DEPRECATED
313 # define SOUP_DEPRECATED_IN_2_52_FOR(f)         G_DEPRECATED_FOR(f)
314 #else
315 # define SOUP_DEPRECATED_IN_2_52
316 # define SOUP_DEPRECATED_IN_2_52_FOR(f)
317 #endif
318
319 #if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_52
320 # define SOUP_AVAILABLE_IN_2_52                 G_UNAVAILABLE(2, 52) _SOUP_EXTERN
321 #else
322 # define SOUP_AVAILABLE_IN_2_52                 _SOUP_EXTERN
323 #endif
324
325 #if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_54
326 # define SOUP_DEPRECATED_IN_2_54                G_DEPRECATED
327 # define SOUP_DEPRECATED_IN_2_54_FOR(f)         G_DEPRECATED_FOR(f)
328 #else
329 # define SOUP_DEPRECATED_IN_2_54
330 # define SOUP_DEPRECATED_IN_2_54_FOR(f)
331 #endif
332
333 #if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_54
334 # define SOUP_AVAILABLE_IN_2_54                 G_UNAVAILABLE(2, 54) _SOUP_EXTERN
335 #else
336 # define SOUP_AVAILABLE_IN_2_54                 _SOUP_EXTERN
337 #endif
338
339 #if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_56
340 # define SOUP_DEPRECATED_IN_2_56                G_DEPRECATED
341 # define SOUP_DEPRECATED_IN_2_56_FOR(f)         G_DEPRECATED_FOR(f)
342 #else
343 # define SOUP_DEPRECATED_IN_2_56
344 # define SOUP_DEPRECATED_IN_2_56_FOR(f)
345 #endif
346
347 #if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_56
348 # define SOUP_AVAILABLE_IN_2_56                 G_UNAVAILABLE(2, 56) _SOUP_EXTERN
349 #else
350 # define SOUP_AVAILABLE_IN_2_56                 _SOUP_EXTERN
351 #endif
352
353 #if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_58
354 # define SOUP_DEPRECATED_IN_2_58                G_DEPRECATED
355 # define SOUP_DEPRECATED_IN_2_58_FOR(f)         G_DEPRECATED_FOR(f)
356 #else
357 # define SOUP_DEPRECATED_IN_2_58
358 # define SOUP_DEPRECATED_IN_2_58_FOR(f)
359 #endif
360
361 #if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_58
362 # define SOUP_AVAILABLE_IN_2_58                 G_UNAVAILABLE(2, 58) _SOUP_EXTERN
363 #else
364 # define SOUP_AVAILABLE_IN_2_58                 _SOUP_EXTERN
365 #endif
366
367 #if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_62
368 # define SOUP_DEPRECATED_IN_2_62                G_DEPRECATED
369 # define SOUP_DEPRECATED_IN_2_62_FOR(f)         G_DEPRECATED_FOR(f)
370 #else
371 # define SOUP_DEPRECATED_IN_2_62
372 # define SOUP_DEPRECATED_IN_2_62_FOR(f)
373 #endif
374
375 #if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_62
376 # define SOUP_AVAILABLE_IN_2_62                 G_UNAVAILABLE(2, 62) _SOUP_EXTERN
377 #else
378 # define SOUP_AVAILABLE_IN_2_62                 _SOUP_EXTERN
379 #endif
380
381 #if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_66
382 # define SOUP_DEPRECATED_IN_2_66                G_DEPRECATED
383 # define SOUP_DEPRECATED_IN_2_66_FOR(f)         G_DEPRECATED_FOR(f)
384 #else
385 # define SOUP_DEPRECATED_IN_2_66
386 # define SOUP_DEPRECATED_IN_2_66_FOR(f)
387 #endif
388
389 #if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_66
390 # define SOUP_AVAILABLE_IN_2_66                 G_UNAVAILABLE(2, 66) _SOUP_EXTERN
391 #else
392 # define SOUP_AVAILABLE_IN_2_66                 _SOUP_EXTERN
393 #endif
394
395 #if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_68
396 # define SOUP_AVAILABLE_IN_2_68                 G_UNAVAILABLE(2, 68) _SOUP_EXTERN
397 #else
398 # define SOUP_AVAILABLE_IN_2_68                 _SOUP_EXTERN
399 #endif
400
401 #if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_70
402 # define SOUP_DEPRECATED_IN_2_70                G_DEPRECATED
403 # define SOUP_DEPRECATED_IN_2_70_FOR(f)         G_DEPRECATED_FOR(f)
404 #else
405 # define SOUP_DEPRECATED_IN_2_70
406 # define SOUP_DEPRECATED_IN_2_70_FOR(f)
407 #endif
408
409 #if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_70
410 # define SOUP_AVAILABLE_IN_2_70                 G_UNAVAILABLE(2, 70) _SOUP_EXTERN
411 #else
412 # define SOUP_AVAILABLE_IN_2_70                 _SOUP_EXTERN
413 #endif
414
415 #if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_72
416 # define SOUP_AVAILABLE_IN_2_72                 G_UNAVAILABLE(2, 72) _SOUP_EXTERN
417 #else
418 # define SOUP_AVAILABLE_IN_2_72                 _SOUP_EXTERN
419 #endif
420
421 SOUP_AVAILABLE_IN_2_42
422 guint    soup_get_major_version (void);
423
424 SOUP_AVAILABLE_IN_2_42
425 guint    soup_get_minor_version (void);
426
427 SOUP_AVAILABLE_IN_2_42
428 guint    soup_get_micro_version (void);
429
430 SOUP_AVAILABLE_IN_2_42
431 gboolean soup_check_version     (guint major,
432                                  guint minor,
433                                  guint micro);
434
435 G_END_DECLS
436
437 #endif /* __SOUP_VERSION_H__ */