#define SN_STAGE_H 1
#include <stdio.h>
+#include <stdint.h>
+#include <inttypes.h>
#include "sn_comparator.h"
*/
int sn_stage_shift (sn_stage_t *s, int sw, int inputs_num);
+int sn_stage_unify (sn_stage_t *s);
+
/**
* Swaps two lines. This is used by the algorithm used in
* sn_network_normalize() to transform non-standard sort networks to standard
*/
sn_stage_t *sn_stage_unserialize (char **buffer, size_t *buffer_size);
+int sn_stage_compare (const sn_stage_t *s0, const sn_stage_t *s1);
+
+uint64_t sn_stage_get_hashval (const sn_stage_t *s);
+
#endif /* SN_STAGE_H */
/* vim: set shiftwidth=2 softtabstop=2 : */