This file is indexed.

/usr/include/ogdi/ecs.h is in libogdi3.2-dev 3.2.0~beta2-7.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
/*
 * Please do not edit this file.
 * It was generated using rpcgen.
 */

#ifndef _ECSH_H_RPCGEN
#define	_ECSH_H_RPCGEN

#include <rpc/rpc.h>

#ifdef __cplusplus
extern "C" {
#endif

/* 
 * fichier genere par RPCGEN a partir de ecs.x
 *
 *    Declaration des structures & prototypes de l'extension client/serveur.
 *    Ce fichier est recu par rpcgen et ce dernier generera 4 fichiers pour
 *    pour l'extension client/serveur. Le "header" suivant doit ce retrouver
 *    dans tout les fichiers 
 */

/*
 * Copyright (C) 1995 Logiciels et Applications Scientifiques (L.A.S.) Inc
 * Permission to use, copy, modify and distribute this software and
 * its documentation for any purpose and without fee is hereby granted,
 * provided that the above copyright notice appear in all copies, that
 * both the copyright notice and this permission notice appear in
 * supporting documentation, and that the name of L.A.S. Inc not be used 
 * in advertising or publicity pertaining to distribution of the software 
 * without specific, written prior permission. L.A.S. Inc. makes no
 * representations about the suitability of this software for any purpose.
 * It is provided "as is" without express or implied warranty.
 */

extern u_int ecs_compression_type;
extern u_int ecs_compression_version;
extern u_int ecs_compression_blksize;
extern u_int ecs_compression_level;
extern u_int ecs_compression_fullsize;

#define	ECS_SUCCESS 0
#define	ECS_FAILURE 1
#define	ECS_RASTERSIZE 1000
#define	ECS_MTEXT 1024
#define	ECS_TRANSIENT_MIN 1073741824
#define	ECS_TRANSIENT_MAX 1610612735
#define	ECS_COMPRESS_NONE 0
#define	ECS_COMPRESS_ZLIB 1
#define	ECS_ZLIB_VERSION 0
#define	ECS_ZLIB_LEVEL_DEFAULT 1
#define	ECS_ZLIB_BLKSIZE_DEFAULT 512
#define	ECS_ZLIB_BLKSIZE_MAX 131072
#define	ECS_CACHE_DEFAULT 25
#define	ECS_CACHE_MIN 1
#define	ECS_CACHE_MAX 10000

enum ecs_Family {
	Area = 1,
	Line = 2,
	Point = 3,
	Matrix = 4,
	Image = 5,
	Text = 6,
	Edge = 7,
	Face = 8,
	Node = 9,
	Ring = 10
};
typedef enum ecs_Family ecs_Family;

struct ecs_Region {
	double north;
	double south;
	double east;
	double west;
	double ns_res;
	double ew_res;
};
typedef struct ecs_Region ecs_Region;

enum ecs_Resampling {
	nn = 1
};
typedef enum ecs_Resampling ecs_Resampling;

enum ecs_Transformation {
	projective = 1,
	affine = 2,
	similarity = 3
};
typedef enum ecs_Transformation ecs_Transformation;

struct ecs_RasterConversion {
	struct {
		u_int coef_len;
		double *coef_val;
	} coef;
	int isProjEqual;
	ecs_Resampling r_method;
	ecs_Transformation t_method;
};
typedef struct ecs_RasterConversion ecs_RasterConversion;

struct ecs_Coordinate {
	double x;
	double y;
};
typedef struct ecs_Coordinate ecs_Coordinate;

struct ecs_FeatureRing {
	ecs_Coordinate centroid;
	struct {
		u_int c_len;
		ecs_Coordinate *c_val;
	} c;
};
typedef struct ecs_FeatureRing ecs_FeatureRing;

struct ecs_Area {
	struct {
		u_int ring_len;
		ecs_FeatureRing *ring_val;
	} ring;
};
typedef struct ecs_Area ecs_Area;

struct ecs_Line {
	struct {
		u_int c_len;
		ecs_Coordinate *c_val;
	} c;
};
typedef struct ecs_Line ecs_Line;

struct ecs_Point {
	ecs_Coordinate c;
};
typedef struct ecs_Point ecs_Point;

struct ecs_Matrix {
	struct {
		u_int x_len;
		u_int *x_val;
	} x;
};
typedef struct ecs_Matrix ecs_Matrix;

struct ecs_Image {
	struct {
		u_int x_len;
		u_int *x_val;
	} x;
};
typedef struct ecs_Image ecs_Image;

struct ecs_Text {
	char *desc;
	ecs_Coordinate c;
};
typedef struct ecs_Text ecs_Text;

struct ecs_Node {
	int id;
	int containfaceid;
	ecs_Coordinate c;
};
typedef struct ecs_Node ecs_Node;

struct ecs_Edge {
	int id;
	int startnodeid;
	int endnodeid;
	int rightfaceid;
	int leftfaceid;
	int rightfedgeid;
	int leftfedgeid;
	struct {
		u_int c_len;
		ecs_Coordinate *c_val;
	} c;
};
typedef struct ecs_Edge ecs_Edge;

enum ecs_TopoLevel {
	Level012 = 1,
	Level3 = 2
};
typedef enum ecs_TopoLevel ecs_TopoLevel;

struct ecs_Face {
	int id;
	struct {
		u_int edgeid_len;
		int *edgeid_val;
	} edgeid;
};
typedef struct ecs_Face ecs_Face;

struct ecs_AreaPrim {
	ecs_TopoLevel level;
	union {
		struct {
			u_int edgeid_len;
			int *edgeid_val;
		} edgeid;
		struct {
			u_int fedgeid_len;
			ecs_Face *fedgeid_val;
		} fedgeid;
	} ecs_AreaPrim_u;
};
typedef struct ecs_AreaPrim ecs_AreaPrim;

struct ecs_Geometry {
	ecs_Family family;
	union {
		ecs_Area area;
		ecs_Line line;
		ecs_Point point;
		ecs_Matrix matrix;
		ecs_Image image;
		ecs_Text text;
		ecs_Node node;
		ecs_Edge edge;
		ecs_AreaPrim ring;
	} ecs_Geometry_u;
};
typedef struct ecs_Geometry ecs_Geometry;

struct ecs_Object {
	char *Id;
	ecs_Geometry geom;
	char *attr;
	double xmin;
	double ymin;
	double xmax;
	double ymax;
};
typedef struct ecs_Object ecs_Object;

enum ecs_AttributeFormat {
	Char = 1,
	Varchar = 2,
	Longvarchar = 3,
	Decimal = 4,
	Numeric = 5,
	Smallint = 6,
	Integer = 7,
	Real = 8,
	Float = 9,
	Double = 10
};
typedef enum ecs_AttributeFormat ecs_AttributeFormat;

struct ecs_ObjAttribute {
	char *name;
	ecs_AttributeFormat type;
	int lenght;
	int precision;
	int nullable;
};
typedef struct ecs_ObjAttribute ecs_ObjAttribute;

struct ecs_ObjAttributeFormat {
	struct {
		u_int oa_len;
		ecs_ObjAttribute *oa_val;
	} oa;
};
typedef struct ecs_ObjAttributeFormat ecs_ObjAttributeFormat;

struct ecs_Category {
	long no_cat;
	u_int r;
	u_int g;
	u_int b;
	char *label;
	u_long qty;
};
typedef struct ecs_Category ecs_Category;

struct ecs_RasterInfo {
	long mincat;
	long maxcat;
	int width;
	int height;
	struct {
		u_int cat_len;
		ecs_Category *cat_val;
	} cat;
};
typedef struct ecs_RasterInfo ecs_RasterInfo;

struct ecs_Compression {
	u_int cachesize;
	u_int ctype;
	u_int cversion;
	u_int clevel;
	u_int cblksize;
	u_int cfullsize;
};
typedef struct ecs_Compression ecs_Compression;

enum ecs_ResultType {
	SimpleError = 0,
	Object = 1,
	GeoRegion = 2,
	objAttributeFormat = 3,
	RasterInfo = 4,
	AText = 5,
	MultiResult = 6
};
typedef enum ecs_ResultType ecs_ResultType;
typedef struct ecs_ResultUnion ecs_ResultUnion;

struct ecs_ResultUnion {
	ecs_ResultType type;
	union {
		ecs_Object dob;
		ecs_Region gr;
		ecs_ObjAttributeFormat oaf;
		ecs_RasterInfo ri;
		char *s;
		struct {
			u_int results_len;
			ecs_ResultUnion *results_val;
		} results;
	} ecs_ResultUnion_u;
};

struct ecs_Result {
	ecs_Compression compression;
	int error;
	char *message;
	ecs_ResultUnion res;
};
typedef struct ecs_Result ecs_Result;

struct ecs_LayerSelection {
	char *Select;
	ecs_Family F;
};
typedef struct ecs_LayerSelection ecs_LayerSelection;

struct ecs_ProxyCreateServer {
	char *server_name;
	char *server_url;
};
typedef struct ecs_ProxyCreateServer ecs_ProxyCreateServer;

#include <ecs_util.h> /* Outils pour l'aide a ecs */


#define	ECSPROG ((unsigned long)(0x20000001))
#define	ECSVERS ((unsigned long)(1))

#if defined(__STDC__) || defined(__cplusplus)
#define	CREATESERVER ((unsigned long)(1))
extern  ecs_Result * createserver_1(char **, CLIENT *);
extern  ecs_Result * createserver_1_svc(char **, struct svc_req *);
#define	DESTROYSERVER ((unsigned long)(2))
extern  ecs_Result * destroyserver_1(void *, CLIENT *);
extern  ecs_Result * destroyserver_1_svc(void *, struct svc_req *);
#define	SELECTLAYER ((unsigned long)(3))
extern  ecs_Result * selectlayer_1(ecs_LayerSelection *, CLIENT *);
extern  ecs_Result * selectlayer_1_svc(ecs_LayerSelection *, struct svc_req *);
#define	RELEASELAYER ((unsigned long)(4))
extern  ecs_Result * releaselayer_1(ecs_LayerSelection *, CLIENT *);
extern  ecs_Result * releaselayer_1_svc(ecs_LayerSelection *, struct svc_req *);
#define	SELECTREGION ((unsigned long)(5))
extern  ecs_Result * selectregion_1(ecs_Region *, CLIENT *);
extern  ecs_Result * selectregion_1_svc(ecs_Region *, struct svc_req *);
#define	GETDICTIONNARY ((unsigned long)(6))
extern  ecs_Result * getdictionnary_1(void *, CLIENT *);
extern  ecs_Result * getdictionnary_1_svc(void *, struct svc_req *);
#define	GETATTRIBUTEFORMAT ((unsigned long)(7))
extern  ecs_Result * getattributeformat_1(void *, CLIENT *);
extern  ecs_Result * getattributeformat_1_svc(void *, struct svc_req *);
#define	GETNEXTOBJECT ((unsigned long)(8))
extern  ecs_Result * getnextobject_1(void *, CLIENT *);
extern  ecs_Result * getnextobject_1_svc(void *, struct svc_req *);
#define	GETRASTERINFO ((unsigned long)(9))
extern  ecs_Result * getrasterinfo_1(void *, CLIENT *);
extern  ecs_Result * getrasterinfo_1_svc(void *, struct svc_req *);
#define	GETOBJECT ((unsigned long)(10))
extern  ecs_Result * getobject_1(char **, CLIENT *);
extern  ecs_Result * getobject_1_svc(char **, struct svc_req *);
#define	GETOBJECTIDFROMCOORD ((unsigned long)(11))
extern  ecs_Result * getobjectidfromcoord_1(ecs_Coordinate *, CLIENT *);
extern  ecs_Result * getobjectidfromcoord_1_svc(ecs_Coordinate *, struct svc_req *);
#define	UPDATEDICTIONARY ((unsigned long)(12))
extern  ecs_Result * updatedictionary_1(char **, CLIENT *);
extern  ecs_Result * updatedictionary_1_svc(char **, struct svc_req *);
#define	GETSERVERPROJECTION ((unsigned long)(13))
extern  ecs_Result * getserverprojection_1(void *, CLIENT *);
extern  ecs_Result * getserverprojection_1_svc(void *, struct svc_req *);
#define	GETGLOBALBOUND ((unsigned long)(14))
extern  ecs_Result * getglobalbound_1(void *, CLIENT *);
extern  ecs_Result * getglobalbound_1_svc(void *, struct svc_req *);
#define	SETSERVERLANGUAGE ((unsigned long)(15))
extern  ecs_Result * setserverlanguage_1(u_int *, CLIENT *);
extern  ecs_Result * setserverlanguage_1_svc(u_int *, struct svc_req *);
#define	SETSERVERPROJECTION ((unsigned long)(16))
extern  ecs_Result * setserverprojection_1(char **, CLIENT *);
extern  ecs_Result * setserverprojection_1_svc(char **, struct svc_req *);
#define	SETRASTERCONVERSION ((unsigned long)(17))
extern  ecs_Result * setrasterconversion_1(ecs_RasterConversion *, CLIENT *);
extern  ecs_Result * setrasterconversion_1_svc(ecs_RasterConversion *, struct svc_req *);
#define	CREATEPROXYSERVER ((unsigned long)(100))
extern  ecs_Result * createproxyserver_1(ecs_ProxyCreateServer *, CLIENT *);
extern  ecs_Result * createproxyserver_1_svc(ecs_ProxyCreateServer *, struct svc_req *);
#define	SETCOMPRESSION ((unsigned long)(101))
extern  ecs_Result * setcompression_1(ecs_Compression *, CLIENT *);
extern  ecs_Result * setcompression_1_svc(ecs_Compression *, struct svc_req *);
extern int ecsprog_1_freeresult(SVCXPRT *, xdrproc_t, caddr_t);

#else /* K&R C */
#define	CREATESERVER ((unsigned long)(1))
extern  ecs_Result * createserver_1();
extern  ecs_Result * createserver_1_svc();
#define	DESTROYSERVER ((unsigned long)(2))
extern  ecs_Result * destroyserver_1();
extern  ecs_Result * destroyserver_1_svc();
#define	SELECTLAYER ((unsigned long)(3))
extern  ecs_Result * selectlayer_1();
extern  ecs_Result * selectlayer_1_svc();
#define	RELEASELAYER ((unsigned long)(4))
extern  ecs_Result * releaselayer_1();
extern  ecs_Result * releaselayer_1_svc();
#define	SELECTREGION ((unsigned long)(5))
extern  ecs_Result * selectregion_1();
extern  ecs_Result * selectregion_1_svc();
#define	GETDICTIONNARY ((unsigned long)(6))
extern  ecs_Result * getdictionnary_1();
extern  ecs_Result * getdictionnary_1_svc();
#define	GETATTRIBUTEFORMAT ((unsigned long)(7))
extern  ecs_Result * getattributeformat_1();
extern  ecs_Result * getattributeformat_1_svc();
#define	GETNEXTOBJECT ((unsigned long)(8))
extern  ecs_Result * getnextobject_1();
extern  ecs_Result * getnextobject_1_svc();
#define	GETRASTERINFO ((unsigned long)(9))
extern  ecs_Result * getrasterinfo_1();
extern  ecs_Result * getrasterinfo_1_svc();
#define	GETOBJECT ((unsigned long)(10))
extern  ecs_Result * getobject_1();
extern  ecs_Result * getobject_1_svc();
#define	GETOBJECTIDFROMCOORD ((unsigned long)(11))
extern  ecs_Result * getobjectidfromcoord_1();
extern  ecs_Result * getobjectidfromcoord_1_svc();
#define	UPDATEDICTIONARY ((unsigned long)(12))
extern  ecs_Result * updatedictionary_1();
extern  ecs_Result * updatedictionary_1_svc();
#define	GETSERVERPROJECTION ((unsigned long)(13))
extern  ecs_Result * getserverprojection_1();
extern  ecs_Result * getserverprojection_1_svc();
#define	GETGLOBALBOUND ((unsigned long)(14))
extern  ecs_Result * getglobalbound_1();
extern  ecs_Result * getglobalbound_1_svc();
#define	SETSERVERLANGUAGE ((unsigned long)(15))
extern  ecs_Result * setserverlanguage_1();
extern  ecs_Result * setserverlanguage_1_svc();
#define	SETSERVERPROJECTION ((unsigned long)(16))
extern  ecs_Result * setserverprojection_1();
extern  ecs_Result * setserverprojection_1_svc();
#define	SETRASTERCONVERSION ((unsigned long)(17))
extern  ecs_Result * setrasterconversion_1();
extern  ecs_Result * setrasterconversion_1_svc();
#define	CREATEPROXYSERVER ((unsigned long)(100))
extern  ecs_Result * createproxyserver_1();
extern  ecs_Result * createproxyserver_1_svc();
#define	SETCOMPRESSION ((unsigned long)(101))
extern  ecs_Result * setcompression_1();
extern  ecs_Result * setcompression_1_svc();
extern int ecsprog_1_freeresult();
#endif /* K&R C */

#define	ECSPROXYPROG ((unsigned long)(0x20000002))
#define	ECSPROXYVERS ((unsigned long)(1))

#if defined(__STDC__) || defined(__cplusplus)
#define	PROXY_CREATEREMOTESERVER ((unsigned long)(1))
extern  ecs_Result * proxy_createremoteserver_1(char **, CLIENT *);
extern  ecs_Result * proxy_createremoteserver_1_svc(char **, struct svc_req *);
#define	PROXY_DESTROYSERVER ((unsigned long)(2))
extern  ecs_Result * proxy_destroyserver_1(void *, CLIENT *);
extern  ecs_Result * proxy_destroyserver_1_svc(void *, struct svc_req *);
#define	PROXY_SELECTLAYER ((unsigned long)(3))
extern  ecs_Result * proxy_selectlayer_1(ecs_LayerSelection *, CLIENT *);
extern  ecs_Result * proxy_selectlayer_1_svc(ecs_LayerSelection *, struct svc_req *);
#define	PROXY_RELEASELAYER ((unsigned long)(4))
extern  ecs_Result * proxy_releaselayer_1(ecs_LayerSelection *, CLIENT *);
extern  ecs_Result * proxy_releaselayer_1_svc(ecs_LayerSelection *, struct svc_req *);
#define	PROXY_SELECTREGION ((unsigned long)(5))
extern  ecs_Result * proxy_selectregion_1(ecs_Region *, CLIENT *);
extern  ecs_Result * proxy_selectregion_1_svc(ecs_Region *, struct svc_req *);
#define	PROXY_GETDICTIONNARY ((unsigned long)(6))
extern  ecs_Result * proxy_getdictionnary_1(void *, CLIENT *);
extern  ecs_Result * proxy_getdictionnary_1_svc(void *, struct svc_req *);
#define	PROXY_GETATTRIBUTEFORMAT ((unsigned long)(7))
extern  ecs_Result * proxy_getattributeformat_1(void *, CLIENT *);
extern  ecs_Result * proxy_getattributeformat_1_svc(void *, struct svc_req *);
#define	PROXY_GETNEXTOBJECT ((unsigned long)(8))
extern  ecs_Result * proxy_getnextobject_1(void *, CLIENT *);
extern  ecs_Result * proxy_getnextobject_1_svc(void *, struct svc_req *);
#define	PROXY_GETRASTERINFO ((unsigned long)(9))
extern  ecs_Result * proxy_getrasterinfo_1(void *, CLIENT *);
extern  ecs_Result * proxy_getrasterinfo_1_svc(void *, struct svc_req *);
#define	PROXY_GETOBJECT ((unsigned long)(10))
extern  ecs_Result * proxy_getobject_1(char **, CLIENT *);
extern  ecs_Result * proxy_getobject_1_svc(char **, struct svc_req *);
#define	PROXY_GETOBJECTIDFROMCOORD ((unsigned long)(11))
extern  ecs_Result * proxy_getobjectidfromcoord_1(ecs_Coordinate *, CLIENT *);
extern  ecs_Result * proxy_getobjectidfromcoord_1_svc(ecs_Coordinate *, struct svc_req *);
#define	PROXY_UPDATEDICTIONARY ((unsigned long)(12))
extern  ecs_Result * proxy_updatedictionary_1(char **, CLIENT *);
extern  ecs_Result * proxy_updatedictionary_1_svc(char **, struct svc_req *);
#define	PROXY_GETSERVERPROJECTION ((unsigned long)(13))
extern  ecs_Result * proxy_getserverprojection_1(void *, CLIENT *);
extern  ecs_Result * proxy_getserverprojection_1_svc(void *, struct svc_req *);
#define	PROXY_GETGLOBALBOUND ((unsigned long)(14))
extern  ecs_Result * proxy_getglobalbound_1(void *, CLIENT *);
extern  ecs_Result * proxy_getglobalbound_1_svc(void *, struct svc_req *);
#define	PROXY_SETSERVERLANGUAGE ((unsigned long)(15))
extern  ecs_Result * proxy_setserverlanguage_1(u_int *, CLIENT *);
extern  ecs_Result * proxy_setserverlanguage_1_svc(u_int *, struct svc_req *);
#define	PROXY_SETSERVERPROJECTION ((unsigned long)(16))
extern  ecs_Result * proxy_setserverprojection_1(char **, CLIENT *);
extern  ecs_Result * proxy_setserverprojection_1_svc(char **, struct svc_req *);
#define	PROXY_SETRASTERCONVERSION ((unsigned long)(17))
extern  ecs_Result * proxy_setrasterconversion_1(ecs_RasterConversion *, CLIENT *);
extern  ecs_Result * proxy_setrasterconversion_1_svc(ecs_RasterConversion *, struct svc_req *);
#define	PROXY_CREATESERVER ((unsigned long)(100))
extern  ecs_Result * proxy_createserver_1(ecs_ProxyCreateServer *, CLIENT *);
extern  ecs_Result * proxy_createserver_1_svc(ecs_ProxyCreateServer *, struct svc_req *);
#define	PROXY_SETCOMPRESSION ((unsigned long)(101))
extern  ecs_Result * proxy_setcompression_1(ecs_Compression *, CLIENT *);
extern  ecs_Result * proxy_setcompression_1_svc(ecs_Compression *, struct svc_req *);
extern int ecsproxyprog_1_freeresult(SVCXPRT *, xdrproc_t, caddr_t);

#else /* K&R C */
#define	PROXY_CREATEREMOTESERVER ((unsigned long)(1))
extern  ecs_Result * proxy_createremoteserver_1();
extern  ecs_Result * proxy_createremoteserver_1_svc();
#define	PROXY_DESTROYSERVER ((unsigned long)(2))
extern  ecs_Result * proxy_destroyserver_1();
extern  ecs_Result * proxy_destroyserver_1_svc();
#define	PROXY_SELECTLAYER ((unsigned long)(3))
extern  ecs_Result * proxy_selectlayer_1();
extern  ecs_Result * proxy_selectlayer_1_svc();
#define	PROXY_RELEASELAYER ((unsigned long)(4))
extern  ecs_Result * proxy_releaselayer_1();
extern  ecs_Result * proxy_releaselayer_1_svc();
#define	PROXY_SELECTREGION ((unsigned long)(5))
extern  ecs_Result * proxy_selectregion_1();
extern  ecs_Result * proxy_selectregion_1_svc();
#define	PROXY_GETDICTIONNARY ((unsigned long)(6))
extern  ecs_Result * proxy_getdictionnary_1();
extern  ecs_Result * proxy_getdictionnary_1_svc();
#define	PROXY_GETATTRIBUTEFORMAT ((unsigned long)(7))
extern  ecs_Result * proxy_getattributeformat_1();
extern  ecs_Result * proxy_getattributeformat_1_svc();
#define	PROXY_GETNEXTOBJECT ((unsigned long)(8))
extern  ecs_Result * proxy_getnextobject_1();
extern  ecs_Result * proxy_getnextobject_1_svc();
#define	PROXY_GETRASTERINFO ((unsigned long)(9))
extern  ecs_Result * proxy_getrasterinfo_1();
extern  ecs_Result * proxy_getrasterinfo_1_svc();
#define	PROXY_GETOBJECT ((unsigned long)(10))
extern  ecs_Result * proxy_getobject_1();
extern  ecs_Result * proxy_getobject_1_svc();
#define	PROXY_GETOBJECTIDFROMCOORD ((unsigned long)(11))
extern  ecs_Result * proxy_getobjectidfromcoord_1();
extern  ecs_Result * proxy_getobjectidfromcoord_1_svc();
#define	PROXY_UPDATEDICTIONARY ((unsigned long)(12))
extern  ecs_Result * proxy_updatedictionary_1();
extern  ecs_Result * proxy_updatedictionary_1_svc();
#define	PROXY_GETSERVERPROJECTION ((unsigned long)(13))
extern  ecs_Result * proxy_getserverprojection_1();
extern  ecs_Result * proxy_getserverprojection_1_svc();
#define	PROXY_GETGLOBALBOUND ((unsigned long)(14))
extern  ecs_Result * proxy_getglobalbound_1();
extern  ecs_Result * proxy_getglobalbound_1_svc();
#define	PROXY_SETSERVERLANGUAGE ((unsigned long)(15))
extern  ecs_Result * proxy_setserverlanguage_1();
extern  ecs_Result * proxy_setserverlanguage_1_svc();
#define	PROXY_SETSERVERPROJECTION ((unsigned long)(16))
extern  ecs_Result * proxy_setserverprojection_1();
extern  ecs_Result * proxy_setserverprojection_1_svc();
#define	PROXY_SETRASTERCONVERSION ((unsigned long)(17))
extern  ecs_Result * proxy_setrasterconversion_1();
extern  ecs_Result * proxy_setrasterconversion_1_svc();
#define	PROXY_CREATESERVER ((unsigned long)(100))
extern  ecs_Result * proxy_createserver_1();
extern  ecs_Result * proxy_createserver_1_svc();
#define	PROXY_SETCOMPRESSION ((unsigned long)(101))
extern  ecs_Result * proxy_setcompression_1();
extern  ecs_Result * proxy_setcompression_1_svc();
extern int ecsproxyprog_1_freeresult();
#endif /* K&R C */

/* the xdr functions */

#if defined(__STDC__) || defined(__cplusplus)
extern  bool_t xdr_ecs_Family(XDR *, ecs_Family*);
extern  bool_t xdr_ecs_Region(XDR *, ecs_Region*);
extern  bool_t xdr_ecs_Resampling(XDR *, ecs_Resampling*);
extern  bool_t xdr_ecs_Transformation(XDR *, ecs_Transformation*);
extern  bool_t xdr_ecs_RasterConversion(XDR *, ecs_RasterConversion*);
extern  bool_t xdr_ecs_Coordinate(XDR *, ecs_Coordinate*);
extern  bool_t xdr_ecs_FeatureRing(XDR *, ecs_FeatureRing*);
extern  bool_t xdr_ecs_Area(XDR *, ecs_Area*);
extern  bool_t xdr_ecs_Line(XDR *, ecs_Line*);
extern  bool_t xdr_ecs_Point(XDR *, ecs_Point*);
extern  bool_t xdr_ecs_Matrix(XDR *, ecs_Matrix*);
extern  bool_t xdr_ecs_Image(XDR *, ecs_Image*);
extern  bool_t xdr_ecs_Text(XDR *, ecs_Text*);
extern  bool_t xdr_ecs_Node(XDR *, ecs_Node*);
extern  bool_t xdr_ecs_Edge(XDR *, ecs_Edge*);
extern  bool_t xdr_ecs_TopoLevel(XDR *, ecs_TopoLevel*);
extern  bool_t xdr_ecs_Face(XDR *, ecs_Face*);
extern  bool_t xdr_ecs_AreaPrim(XDR *, ecs_AreaPrim*);
extern  bool_t xdr_ecs_Geometry(XDR *, ecs_Geometry*);
extern  bool_t xdr_ecs_Object(XDR *, ecs_Object*);
extern  bool_t xdr_ecs_AttributeFormat(XDR *, ecs_AttributeFormat*);
extern  bool_t xdr_ecs_ObjAttribute(XDR *, ecs_ObjAttribute*);
extern  bool_t xdr_ecs_ObjAttributeFormat(XDR *, ecs_ObjAttributeFormat*);
extern  bool_t xdr_ecs_Category(XDR *, ecs_Category*);
extern  bool_t xdr_ecs_RasterInfo(XDR *, ecs_RasterInfo*);
extern  bool_t xdr_ecs_Compression(XDR *, ecs_Compression*);
extern  bool_t xdr_ecs_ResultType(XDR *, ecs_ResultType*);
extern  bool_t xdr_ecs_ResultUnion(XDR *, ecs_ResultUnion*);
extern  bool_t xdr_ecs_Result(XDR *, ecs_Result*);
extern  bool_t xdr_ecs_LayerSelection(XDR *, ecs_LayerSelection*);
extern  bool_t xdr_ecs_ProxyCreateServer(XDR *, ecs_ProxyCreateServer*);

#else /* K&R C */
extern bool_t xdr_ecs_Family();
extern bool_t xdr_ecs_Region();
extern bool_t xdr_ecs_Resampling();
extern bool_t xdr_ecs_Transformation();
extern bool_t xdr_ecs_RasterConversion();
extern bool_t xdr_ecs_Coordinate();
extern bool_t xdr_ecs_FeatureRing();
extern bool_t xdr_ecs_Area();
extern bool_t xdr_ecs_Line();
extern bool_t xdr_ecs_Point();
extern bool_t xdr_ecs_Matrix();
extern bool_t xdr_ecs_Image();
extern bool_t xdr_ecs_Text();
extern bool_t xdr_ecs_Node();
extern bool_t xdr_ecs_Edge();
extern bool_t xdr_ecs_TopoLevel();
extern bool_t xdr_ecs_Face();
extern bool_t xdr_ecs_AreaPrim();
extern bool_t xdr_ecs_Geometry();
extern bool_t xdr_ecs_Object();
extern bool_t xdr_ecs_AttributeFormat();
extern bool_t xdr_ecs_ObjAttribute();
extern bool_t xdr_ecs_ObjAttributeFormat();
extern bool_t xdr_ecs_Category();
extern bool_t xdr_ecs_RasterInfo();
extern bool_t xdr_ecs_Compression();
extern bool_t xdr_ecs_ResultType();
extern bool_t xdr_ecs_ResultUnion();
extern bool_t xdr_ecs_Result();
extern bool_t xdr_ecs_LayerSelection();
extern bool_t xdr_ecs_ProxyCreateServer();

#endif /* K&R C */

#ifdef __cplusplus
}
#endif

#endif /* !_ECS.H_H_RPCGEN */