/src/postgis/fuzzers/geos_stub.h
Line | Count | Source |
1 | | /****************************************************************************** |
2 | | * |
3 | | * Project: PostGIS |
4 | | * Purpose: Fuzzer |
5 | | * Author: Even Rouault, even.rouault at spatialys.com |
6 | | * |
7 | | ****************************************************************************** |
8 | | * Copyright (c) 2017, Even Rouault <even.rouault at spatialys.com> |
9 | | * |
10 | | * Permission is hereby granted, free of charge, to any person obtaining a |
11 | | * copy of this software and associated documentation files (the "Software"), |
12 | | * to deal in the Software without restriction, including without limitation |
13 | | * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
14 | | * and/or sell copies of the Software, and to permit persons to whom the |
15 | | * Software is furnished to do so, subject to the following conditions: |
16 | | * |
17 | | * The above copyright notice and this permission notice shall be included |
18 | | * in all copies or substantial portions of the Software. |
19 | | * |
20 | | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
21 | | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
22 | | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
23 | | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
24 | | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
25 | | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
26 | | * DEALINGS IN THE SOFTWARE. |
27 | | ****************************************************************************/ |
28 | | #include <assert.h> |
29 | | void |
30 | | GEOSCoordSeq_destroy() |
31 | 0 | { |
32 | 0 | assert(0); |
33 | 0 | } |
34 | | void |
35 | | GEOSClipByRect() |
36 | 0 | { |
37 | 0 | assert(0); |
38 | 0 | } |
39 | | void |
40 | | GEOSUnion() |
41 | 0 | { |
42 | 0 | assert(0); |
43 | 0 | } |
44 | | void |
45 | | GEOSCoordSeq_getDimensions() |
46 | 0 | { |
47 | 0 | assert(0); |
48 | 0 | } |
49 | | void |
50 | | GEOSPreparedCovers() |
51 | 0 | { |
52 | 0 | assert(0); |
53 | 0 | } |
54 | | void |
55 | | GEOSPreparedContains() |
56 | 0 | { |
57 | 0 | assert(0); |
58 | 0 | } |
59 | | void |
60 | | GEOSSymDifference() |
61 | 0 | { |
62 | 0 | assert(0); |
63 | 0 | } |
64 | | void |
65 | | GEOSUnionCascaded() |
66 | 0 | { |
67 | 0 | assert(0); |
68 | 0 | } |
69 | | void |
70 | | GEOSGetExteriorRing() |
71 | 0 | { |
72 | 0 | assert(0); |
73 | 0 | } |
74 | | void |
75 | | GEOSCoordSeq_setX() |
76 | 0 | { |
77 | 0 | assert(0); |
78 | 0 | } |
79 | | void |
80 | | GEOSGeom_createLineString() |
81 | 0 | { |
82 | 0 | assert(0); |
83 | 0 | } |
84 | | void |
85 | | GEOSCoordSeq_getY() |
86 | 0 | { |
87 | 0 | assert(0); |
88 | 0 | } |
89 | | void |
90 | | GEOSEquals() |
91 | 0 | { |
92 | 0 | assert(0); |
93 | 0 | } |
94 | | void |
95 | | GEOSRelatePatternMatch() |
96 | 0 | { |
97 | 0 | assert(0); |
98 | 0 | } |
99 | | void |
100 | | GEOSGeom_createCollection() |
101 | 0 | { |
102 | 0 | assert(0); |
103 | 0 | } |
104 | | void |
105 | | GEOSGeom_extractUniquePoints() |
106 | 0 | { |
107 | 0 | assert(0); |
108 | 0 | } |
109 | | void |
110 | | GEOSNormalize() |
111 | 0 | { |
112 | 0 | assert(0); |
113 | 0 | } |
114 | | void |
115 | | GEOSVoronoiDiagram() |
116 | 0 | { |
117 | 0 | assert(0); |
118 | 0 | } |
119 | | void |
120 | | GEOSArea() |
121 | 0 | { |
122 | 0 | assert(0); |
123 | 0 | } |
124 | | void |
125 | | GEOSLineMerge() |
126 | 0 | { |
127 | 0 | assert(0); |
128 | 0 | } |
129 | | void |
130 | | GEOSGeom_createPolygon() |
131 | 0 | { |
132 | 0 | assert(0); |
133 | 0 | } |
134 | | void |
135 | | GEOSGetCentroid() |
136 | 0 | { |
137 | 0 | assert(0); |
138 | 0 | } |
139 | | void |
140 | | GEOSCoordSeq_create() |
141 | 0 | { |
142 | 0 | assert(0); |
143 | 0 | } |
144 | | void |
145 | | GEOSFree() |
146 | 0 | { |
147 | 0 | assert(0); |
148 | 0 | } |
149 | | void |
150 | | initGEOS() |
151 | 0 | { |
152 | 0 | assert(0); |
153 | 0 | } |
154 | | void |
155 | | GEOSIntersection() |
156 | 0 | { |
157 | 0 | assert(0); |
158 | 0 | } |
159 | | void |
160 | | GEOSEnvelope() |
161 | 0 | { |
162 | 0 | assert(0); |
163 | 0 | } |
164 | | void |
165 | | GEOSGetGeometryN() |
166 | 0 | { |
167 | 0 | assert(0); |
168 | 0 | } |
169 | | void |
170 | | GEOSSTRtree_insert() |
171 | 0 | { |
172 | 0 | assert(0); |
173 | 0 | } |
174 | | void |
175 | | GEOSGeomTypeId() |
176 | 0 | { |
177 | 0 | assert(0); |
178 | 0 | } |
179 | | void |
180 | | GEOSBoundary() |
181 | 0 | { |
182 | 0 | assert(0); |
183 | 0 | } |
184 | | void |
185 | | GEOSversion() |
186 | 0 | { |
187 | 0 | assert(0); |
188 | 0 | } |
189 | | void |
190 | | GEOSGetInteriorRingN() |
191 | 0 | { |
192 | 0 | assert(0); |
193 | 0 | } |
194 | | void |
195 | | GEOSCoordSeq_setY() |
196 | 0 | { |
197 | 0 | assert(0); |
198 | 0 | } |
199 | | void |
200 | | GEOSGetSRID() |
201 | 0 | { |
202 | 0 | assert(0); |
203 | 0 | } |
204 | | void |
205 | | GEOSGeom_destroy() |
206 | 0 | { |
207 | 0 | assert(0); |
208 | 0 | } |
209 | | void |
210 | | GEOSGeom_createEmptyPolygon() |
211 | 0 | { |
212 | 0 | assert(0); |
213 | 0 | } |
214 | | void |
215 | | GEOSPolygonize() |
216 | 0 | { |
217 | 0 | assert(0); |
218 | 0 | } |
219 | | void |
220 | | GEOSCoordSeq_getX() |
221 | 0 | { |
222 | 0 | assert(0); |
223 | 0 | } |
224 | | void |
225 | | GEOSSharedPaths() |
226 | 0 | { |
227 | 0 | assert(0); |
228 | 0 | } |
229 | | void |
230 | | GEOSSTRtree_create() |
231 | 0 | { |
232 | 0 | assert(0); |
233 | 0 | } |
234 | | void |
235 | | GEOSGeom_clone() |
236 | 0 | { |
237 | 0 | assert(0); |
238 | 0 | } |
239 | | void |
240 | | GEOSRelateBoundaryNodeRule() |
241 | 0 | { |
242 | 0 | assert(0); |
243 | 0 | } |
244 | | void |
245 | | GEOSSnap() |
246 | 0 | { |
247 | 0 | assert(0); |
248 | 0 | } |
249 | | void |
250 | | GEOSRelatePattern() |
251 | 0 | { |
252 | 0 | assert(0); |
253 | 0 | } |
254 | | void |
255 | | GEOSSetSRID() |
256 | 0 | { |
257 | 0 | assert(0); |
258 | 0 | } |
259 | | void |
260 | | GEOSisValid() |
261 | 0 | { |
262 | 0 | assert(0); |
263 | 0 | } |
264 | | void |
265 | | GEOSContains() |
266 | 0 | { |
267 | 0 | assert(0); |
268 | 0 | } |
269 | | void |
270 | | GEOSPreparedGeom_destroy() |
271 | 0 | { |
272 | 0 | assert(0); |
273 | 0 | } |
274 | | void |
275 | | GEOSCoordSeq_setZ() |
276 | 0 | { |
277 | 0 | assert(0); |
278 | 0 | } |
279 | | void |
280 | | GEOSOffsetCurve() |
281 | 0 | { |
282 | 0 | assert(0); |
283 | 0 | } |
284 | | void |
285 | | GEOSUnaryUnion() |
286 | 0 | { |
287 | 0 | assert(0); |
288 | 0 | } |
289 | | void |
290 | | GEOSPrepare() |
291 | 0 | { |
292 | 0 | assert(0); |
293 | 0 | } |
294 | | void |
295 | | GEOSCoordSeq_getSize() |
296 | 0 | { |
297 | 0 | assert(0); |
298 | 0 | } |
299 | | void |
300 | | GEOSGetNumInteriorRings() |
301 | 0 | { |
302 | 0 | assert(0); |
303 | 0 | } |
304 | | void |
305 | | GEOSGetNumGeometries() |
306 | 0 | { |
307 | 0 | assert(0); |
308 | 0 | } |
309 | | void |
310 | | GEOSisSimple() |
311 | 0 | { |
312 | 0 | assert(0); |
313 | 0 | } |
314 | | void |
315 | | GEOSDifference() |
316 | 0 | { |
317 | 0 | assert(0); |
318 | 0 | } |
319 | | void |
320 | | GEOSPreparedIntersects() |
321 | 0 | { |
322 | 0 | assert(0); |
323 | 0 | } |
324 | | void |
325 | | GEOSisEmpty() |
326 | 0 | { |
327 | 0 | assert(0); |
328 | 0 | } |
329 | | void |
330 | | GEOSPointOnSurface() |
331 | 0 | { |
332 | 0 | assert(0); |
333 | 0 | } |
334 | | void |
335 | | GEOSSTRtree_query() |
336 | 0 | { |
337 | 0 | assert(0); |
338 | 0 | } |
339 | | void |
340 | | GEOSGeom_createPoint() |
341 | 0 | { |
342 | 0 | assert(0); |
343 | 0 | } |
344 | | void |
345 | | GEOSSTRtree_destroy() |
346 | 0 | { |
347 | 0 | assert(0); |
348 | 0 | } |
349 | | void |
350 | | GEOSIntersects() |
351 | 0 | { |
352 | 0 | assert(0); |
353 | 0 | } |
354 | | void |
355 | | GEOSHasZ() |
356 | 0 | { |
357 | 0 | assert(0); |
358 | 0 | } |
359 | | void |
360 | | GEOSGeom_getCoordSeq() |
361 | 0 | { |
362 | 0 | assert(0); |
363 | 0 | } |
364 | | void |
365 | | GEOSCoordSeq_getZ() |
366 | 0 | { |
367 | 0 | assert(0); |
368 | 0 | } |
369 | | void |
370 | | GEOSGeom_createLinearRing() |
371 | 0 | { |
372 | 0 | assert(0); |
373 | 0 | } |
374 | | void |
375 | | GEOSGeomType() |
376 | 0 | { |
377 | 0 | assert(0); |
378 | 0 | } |
379 | | void |
380 | | GEOSDelaunayTriangulation() |
381 | 0 | { |
382 | 0 | assert(0); |
383 | 0 | } |
384 | | void |
385 | | GEOSNode() |
386 | 0 | { |
387 | 0 | assert(0); |
388 | 0 | } |
389 | | void |
390 | | GEOSGeom_createEmptyPoint() |
391 | 0 | { |
392 | 0 | assert(0); |
393 | 0 | } |
394 | | void |
395 | | GEOSCoordSeq_setXY() |
396 | 0 | { |
397 | 0 | assert(0); |
398 | 0 | } |
399 | | void |
400 | | GEOSCoordSeq_getXY() |
401 | 0 | { |
402 | 0 | assert(0); |
403 | 0 | } |
404 | | void |
405 | | GEOSCoordSeq_setXYZ() |
406 | 0 | { |
407 | 0 | assert(0); |
408 | 0 | } |
409 | | void |
410 | | GEOSCoordSeq_getXYZ() |
411 | 0 | { |
412 | 0 | assert(0); |
413 | 0 | } |
414 | | void GEOSGeom_getXY() |
415 | 0 | { |
416 | 0 | assert(0); |
417 | 0 | } |
418 | | void |
419 | | GEOSBuildArea() |
420 | 0 | { |
421 | 0 | assert(0); |
422 | 0 | } |
423 | | void |
424 | | GEOSMakeValid() |
425 | 0 | { |
426 | 0 | assert(0); |
427 | 0 | } |
428 | | void GEOSGeom_getXYZ() |
429 | 0 | { |
430 | 0 | assert(0); |
431 | 0 | } |
432 | | |
433 | | void GEOSGeom_setXY() |
434 | 0 | { |
435 | 0 | assert(0); |
436 | 0 | } |
437 | | |
438 | | void GEOSGeom_setXYZ() |
439 | 0 | { |
440 | 0 | assert(0); |
441 | 0 | } |
442 | | |
443 | | void GEOSGeom_createPointFromXY() |
444 | 0 | { |
445 | | assert(0); |
446 | 0 | } |