]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/simple-lists.h
Redblack: Added search_up
[libucw.git] / ucw / simple-lists.h
index 64b819013bba01fb8c64a086357118f9c448c09d..602275837d18ebe48f8a69a06801659977f12518 100644 (file)
 #ifndef _UCW_SIMPLE_LISTS_H
 #define _UCW_SIMPLE_LISTS_H
 
 #ifndef _UCW_SIMPLE_LISTS_H
 #define _UCW_SIMPLE_LISTS_H
 
-#include "ucw/clists.h"
+#include <ucw/clists.h>
+
+#ifdef CONFIG_UCW_CLEAN_ABI
+#define cf_2string_list_config ucw_cf_2string_list_config
+#define cf_string_list_config ucw_cf_string_list_config
+#define simp2_append ucw_simp2_append
+#define simp_append ucw_simp_append
+#endif
 
 /***
  * To simplify very common usage of circular linked links, whose nodes can hold only one or two trivial values,
 
 /***
  * To simplify very common usage of circular linked links, whose nodes can hold only one or two trivial values,
@@ -28,7 +35,7 @@ typedef struct simp_node {
     char *s;
     void *p;
     int i;
     char *s;
     void *p;
     int i;
-    uns u;
+    uint u;
   };
 } simp_node;
 
   };
 } simp_node;
 
@@ -41,13 +48,13 @@ typedef struct simp2_node {
     char *s1;
     void *p1;
     int i1;
     char *s1;
     void *p1;
     int i1;
-    uns u1;
+    uint u1;
   };
   union {
     char *s2;
     void *p2;
     int i2;
   };
   union {
     char *s2;
     void *p2;
     int i2;
-    uns u2;
+    uint u2;
   };
 } simp2_node;
 
   };
 } simp2_node;