Imported Upstream version 0.6.28
[platform/upstream/libsolv.git] / src / bitmap.h
index 12257ff..5784e6c 100644 (file)
 
 #include <string.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 typedef struct _Map {
   unsigned char *map;
   int size;
@@ -35,6 +39,8 @@ extern void map_init_clone(Map *t, Map *s);
 extern void map_grow(Map *m, int n);
 extern void map_free(Map *m);
 extern void map_and(Map *t, Map *s);
+extern void map_or(Map *t, Map *s);
+extern void map_subtract(Map *t, Map *s);
 
 static inline void map_empty(Map *m)
 {
@@ -57,4 +63,8 @@ static inline int map_tst(Map *m, int n)
   return MAPTST(m, n);
 }
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* LIBSOLV_BITMAP_H */