Global: collectd → libsortnetwork
[sort-networks.git] / src / sn_network.h
index ed96c3f..ac55565 100644 (file)
@@ -1,6 +1,6 @@
 /**
- * collectd - src/sn_network.h
- * Copyright (C) 2008,2009  Florian octo Forster
+ * libsortnetwork - src/sn_network.h
+ * Copyright (C) 2008-2010  Florian octo Forster
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License as published by the
@@ -16,7 +16,7 @@
  * 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  *
  * Authors:
- *   Florian octo Forster <octo at verplant.org>
+ *   Florian octo Forster <ff at octo.it>
  **/
 
 #ifndef SN_NETWORK_H
@@ -48,6 +48,10 @@ sn_network_t *sn_network_create_odd_even_mergesort (int inputs_num);
 int sn_network_stage_add (sn_network_t *n, sn_stage_t *s);
 int sn_network_stage_remove (sn_network_t *n, int s_num);
 
+int sn_network_comparator_add (sn_network_t *n, const sn_comparator_t *c);
+
+int sn_network_get_comparator_num (const sn_network_t *n);
+
 int sn_network_sort (sn_network_t *n, int *values);
 int sn_network_brute_force_check (sn_network_t *n);