/usr/include/ossim/vpfutil/set.h is in libossim-dev 1.8.16-4ubuntu1.
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 | #if !defined(__SET__)
#define __SET__
/* SET.H */
#include <stdio.h>
#ifdef __cplusplus
extern "C" {
#endif
/* A set is represented as an array of characters with each character */
/* holding 8 bits of the set. */
typedef struct {
char *buf;
long int size;
char diskstorage;
FILE *fp;
} set_type;
/* Functions: */
set_type set_init( long int n );
int set_empty( set_type set );
void set_insert( long int element,
set_type set );
void set_delete( long int element,
set_type set );
int set_member( long int element,
set_type set );
long int set_min( set_type set );
long int set_max( set_type set );
long int num_in_set( set_type set );
/* SET_ON and SET_OFF are only valid if the set is in memory */
#define SET_ON(set) memset(set.buf,255,(set.size>>3L)+1L)
#define SET_OFF(set) memset(set.buf,0,(set.size>>3L)+1L)
/* set_on and set_off are valid for all sets */
void set_on( set_type set );
void set_off( set_type set );
int set_equal( set_type a,
set_type b );
void set_assign( set_type *a,
set_type b );
set_type set_union( set_type a,
set_type b );
set_type set_intersection( set_type a,
set_type b );
set_type set_difference( set_type a,
set_type b );
void set_nuke( set_type *set );
#ifdef __cplusplus
}
#endif
#endif
|