summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/trie.h
diff options
context:
space:
mode:
authorShyamsundarR <srangana@redhat.com>2018-11-29 14:08:06 -0500
committerAmar Tumballi <amarts@redhat.com>2018-12-05 21:47:04 +0000
commit20ef211cfa5b5fcc437484a879fdc5d4c66bbaf5 (patch)
treef2e6af0f2ba7768e32cbf712149c0ffd5314f811 /libglusterfs/src/trie.h
parentad446dabb88439ba83e2092021b09894351e8e71 (diff)
libglusterfs: Move devel headers under glusterfs directory
libglusterfs devel package headers are referenced in code using include semantics for a program, this while it works can be better especially when dealing with out of tree xlator builds or in general out of tree devel package usage. Towards this, the following changes are done, - moved all devel headers under a glusterfs directory - Included these headers using system header notation <> in all code outside of libglusterfs - Included these headers using own program notation "" within libglusterfs This change although big, is just moving around the headers and making it correct when including these headers from other sources. This helps us correctly include libglusterfs includes without namespace conflicts. Change-Id: Id2a98854e671a7ee5d73be44da5ba1a74252423b Updates: bz#1193929 Signed-off-by: ShyamsundarR <srangana@redhat.com>
Diffstat (limited to 'libglusterfs/src/trie.h')
-rw-r--r--libglusterfs/src/trie.h52
1 files changed, 0 insertions, 52 deletions
diff --git a/libglusterfs/src/trie.h b/libglusterfs/src/trie.h
deleted file mode 100644
index 6d2d8015964..00000000000
--- a/libglusterfs/src/trie.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- Copyright (c) 2008-2012 Red Hat, Inc. <http://www.redhat.com>
- This file is part of GlusterFS.
-
- This file is licensed to you under your choice of the GNU Lesser
- General Public License, version 3 or any later version (LGPLv3 or
- later), or the GNU General Public License, version 2 (GPLv2), in all
- cases as published by the Free Software Foundation.
-*/
-
-#ifndef _TRIE_H_
-#define _TRIE_H_
-
-struct trienode;
-typedef struct trienode trienode_t;
-
-struct trie;
-typedef struct trie trie_t;
-
-struct trienodevec {
- trienode_t **nodes;
- unsigned cnt;
-};
-
-trie_t *
-trie_new();
-
-int
-trie_add(trie_t *trie, const char *word);
-
-void
-trie_destroy(trie_t *trie);
-
-void
-trie_destroy_bynode(trienode_t *node);
-
-int
-trie_measure(trie_t *trie, const char *word, trienode_t **nodes, int nodecnt);
-
-int
-trie_measure_vec(trie_t *trie, const char *word, struct trienodevec *nodevec);
-
-void
-trie_reset_search(trie_t *trie);
-
-int
-trienode_get_dist(trienode_t *node);
-
-int
-trienode_get_word(trienode_t *node, char **buf);
-
-#endif