aboutsummaryrefslogtreecommitdiff
path: root/src/set.h
blob: b92d22943b0706a4f5aa3f4fbd214bfc06dd8de4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef SET_H
#define SET_H

typedef struct set {
    struct set *parent;
    int rank;
} set;

set *set_create();
void set_free(set *s);

set *set_find(set *s);
void set_union(set *x, set *y);
#endif