#ifndef ATOM_H
#define ATOM_H
-#include "xkb-priv.h"
+typedef uint32_t xkb_atom_t;
+
+#define XKB_ATOM_NONE 0
struct atom_table;
atom_table_free(struct atom_table *table);
xkb_atom_t
-atom_lookup(struct atom_table *table, const char *string);
-
-xkb_atom_t
-atom_intern(struct atom_table *table, const char *string,
- bool steal);
-
-char *
-atom_strdup(struct atom_table *table, xkb_atom_t atom);
+atom_intern(struct atom_table *table, const char *string, size_t len, bool add);
const char *
atom_text(struct atom_table *table, xkb_atom_t atom);