4d6a444af4
"Effectively avoided" means something like "prakticheski avoided" in Russian. Multiple escapse are not avoided "prakticheski", though; they are avoided altogether and "in principle". The right word does not come to mind.
33 lines
653 B
C
33 lines
653 B
C
#ifndef SET_H
|
|
#define SET_H
|
|
|
|
/* Compare two set-versions.
|
|
* Return value:
|
|
* 1: set1 > set2
|
|
* 0: set1 == set2
|
|
* -1: set1 < set2 (aka set1 \subset set2)
|
|
* -2: set1 != set2
|
|
* -3: set1 decoder error
|
|
* -4: set2 decoder error
|
|
* For performance reasons, set1 should come on behalf of Provides.
|
|
*/
|
|
int rpmsetcmp(const char *set1, const char *set2);
|
|
|
|
/*
|
|
* API for creating set versions.
|
|
*/
|
|
|
|
// initialize new set
|
|
struct set *set_new(void);
|
|
|
|
// add new symbol to set
|
|
void set_add(struct set *set, const char *sym);
|
|
|
|
// make set-version
|
|
const char *set_fini(struct set *set, int bpp);
|
|
|
|
// free set
|
|
struct set *set_free(struct set *set);
|
|
|
|
#endif
|