]> pd.if.org Git - nbds/blobdiff - struct/nstring.h
generic interface for map-like data structures
[nbds] / struct / nstring.h
diff --git a/struct/nstring.h b/struct/nstring.h
deleted file mode 100644 (file)
index 9aa4ce4..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#ifndef NSTRING_H
-#define NSTRING_H
-
-typedef struct nstring {
-    uint32_t len;
-    char data[];
-} nstring_t;
-
-nstring_t * ns_alloc (const void *data, uint32_t len);
-int ns_cmp_raw (nstring_t *ns, const void *data, uint32_t len);
-
-#endif//NSTRING_H