liblttng-ctl: use export list to define exported symbols
[lttng-tools.git] / src / common / hashtable / hashtable.c
index 404734f544895a8b9463fe2673136ad75d38e6de..ac765808f9e804b80db20998b3892ba72d130085 100644 (file)
@@ -96,7 +96,6 @@ const char *lttng_ht_type_str(enum lttng_ht_type type)
 /*
  * Return an allocated lttng hashtable.
  */
 /*
  * Return an allocated lttng hashtable.
  */
-LTTNG_HIDDEN
 struct lttng_ht *lttng_ht_new(unsigned long size, int type)
 {
        struct lttng_ht *ht;
 struct lttng_ht *lttng_ht_new(unsigned long size, int type)
 {
        struct lttng_ht *ht;
@@ -161,7 +160,6 @@ error:
 /*
  * Free a lttng hashtable.
  */
 /*
  * Free a lttng hashtable.
  */
-LTTNG_HIDDEN
 void lttng_ht_destroy(struct lttng_ht *ht)
 {
        int ret;
 void lttng_ht_destroy(struct lttng_ht *ht)
 {
        int ret;
@@ -174,7 +172,6 @@ void lttng_ht_destroy(struct lttng_ht *ht)
 /*
  * Init lttng ht node string.
  */
 /*
  * Init lttng ht node string.
  */
-LTTNG_HIDDEN
 void lttng_ht_node_init_str(struct lttng_ht_node_str *node, char *key)
 {
        LTTNG_ASSERT(node);
 void lttng_ht_node_init_str(struct lttng_ht_node_str *node, char *key)
 {
        LTTNG_ASSERT(node);
@@ -186,7 +183,6 @@ void lttng_ht_node_init_str(struct lttng_ht_node_str *node, char *key)
 /*
  * Init lttng ht node unsigned long.
  */
 /*
  * Init lttng ht node unsigned long.
  */
-LTTNG_HIDDEN
 void lttng_ht_node_init_ulong(struct lttng_ht_node_ulong *node,
                unsigned long key)
 {
 void lttng_ht_node_init_ulong(struct lttng_ht_node_ulong *node,
                unsigned long key)
 {
@@ -199,7 +195,6 @@ void lttng_ht_node_init_ulong(struct lttng_ht_node_ulong *node,
 /*
  * Init lttng ht node uint64_t.
  */
 /*
  * Init lttng ht node uint64_t.
  */
-LTTNG_HIDDEN
 void lttng_ht_node_init_u64(struct lttng_ht_node_u64 *node,
                uint64_t key)
 {
 void lttng_ht_node_init_u64(struct lttng_ht_node_u64 *node,
                uint64_t key)
 {
@@ -212,7 +207,6 @@ void lttng_ht_node_init_u64(struct lttng_ht_node_u64 *node,
 /*
  * Init lttng ht node with two uint64_t.
  */
 /*
  * Init lttng ht node with two uint64_t.
  */
-LTTNG_HIDDEN
 void lttng_ht_node_init_two_u64(struct lttng_ht_node_two_u64 *node,
                uint64_t key1, uint64_t key2)
 {
 void lttng_ht_node_init_two_u64(struct lttng_ht_node_two_u64 *node,
                uint64_t key1, uint64_t key2)
 {
@@ -226,7 +220,6 @@ void lttng_ht_node_init_two_u64(struct lttng_ht_node_two_u64 *node,
 /*
  * Free lttng ht node string.
  */
 /*
  * Free lttng ht node string.
  */
-LTTNG_HIDDEN
 void lttng_ht_node_free_str(struct lttng_ht_node_str *node)
 {
        LTTNG_ASSERT(node);
 void lttng_ht_node_free_str(struct lttng_ht_node_str *node)
 {
        LTTNG_ASSERT(node);
@@ -236,7 +229,6 @@ void lttng_ht_node_free_str(struct lttng_ht_node_str *node)
 /*
  * Free lttng ht node unsigned long.
  */
 /*
  * Free lttng ht node unsigned long.
  */
-LTTNG_HIDDEN
 void lttng_ht_node_free_ulong(struct lttng_ht_node_ulong *node)
 {
        LTTNG_ASSERT(node);
 void lttng_ht_node_free_ulong(struct lttng_ht_node_ulong *node)
 {
        LTTNG_ASSERT(node);
@@ -246,7 +238,6 @@ void lttng_ht_node_free_ulong(struct lttng_ht_node_ulong *node)
 /*
  * Free lttng ht node uint64_t.
  */
 /*
  * Free lttng ht node uint64_t.
  */
-LTTNG_HIDDEN
 void lttng_ht_node_free_u64(struct lttng_ht_node_u64 *node)
 {
        LTTNG_ASSERT(node);
 void lttng_ht_node_free_u64(struct lttng_ht_node_u64 *node)
 {
        LTTNG_ASSERT(node);
@@ -256,7 +247,6 @@ void lttng_ht_node_free_u64(struct lttng_ht_node_u64 *node)
 /*
  * Free lttng ht node two uint64_t.
  */
 /*
  * Free lttng ht node two uint64_t.
  */
-LTTNG_HIDDEN
 void lttng_ht_node_free_two_u64(struct lttng_ht_node_two_u64 *node)
 {
        LTTNG_ASSERT(node);
 void lttng_ht_node_free_two_u64(struct lttng_ht_node_two_u64 *node)
 {
        LTTNG_ASSERT(node);
@@ -266,7 +256,6 @@ void lttng_ht_node_free_two_u64(struct lttng_ht_node_two_u64 *node)
 /*
  * Lookup function in hashtable.
  */
 /*
  * Lookup function in hashtable.
  */
-LTTNG_HIDDEN
 void lttng_ht_lookup(struct lttng_ht *ht, const void *key,
                struct lttng_ht_iter *iter)
 {
 void lttng_ht_lookup(struct lttng_ht *ht, const void *key,
                struct lttng_ht_iter *iter)
 {
@@ -280,7 +269,6 @@ void lttng_ht_lookup(struct lttng_ht *ht, const void *key,
 /*
  * Add unique string node to hashtable.
  */
 /*
  * Add unique string node to hashtable.
  */
-LTTNG_HIDDEN
 void lttng_ht_add_unique_str(struct lttng_ht *ht,
                struct lttng_ht_node_str *node)
 {
 void lttng_ht_add_unique_str(struct lttng_ht *ht,
                struct lttng_ht_node_str *node)
 {
@@ -300,7 +288,6 @@ void lttng_ht_add_unique_str(struct lttng_ht *ht,
 /*
  * Add string node to hashtable.
  */
 /*
  * Add string node to hashtable.
  */
-LTTNG_HIDDEN
 void lttng_ht_add_str(struct lttng_ht *ht,
                struct lttng_ht_node_str *node)
 {
 void lttng_ht_add_str(struct lttng_ht *ht,
                struct lttng_ht_node_str *node)
 {
@@ -318,7 +305,6 @@ void lttng_ht_add_str(struct lttng_ht *ht,
 /*
  * Add unsigned long node to hashtable.
  */
 /*
  * Add unsigned long node to hashtable.
  */
-LTTNG_HIDDEN
 void lttng_ht_add_ulong(struct lttng_ht *ht, struct lttng_ht_node_ulong *node)
 {
        LTTNG_ASSERT(ht);
 void lttng_ht_add_ulong(struct lttng_ht *ht, struct lttng_ht_node_ulong *node)
 {
        LTTNG_ASSERT(ht);
@@ -335,7 +321,6 @@ void lttng_ht_add_ulong(struct lttng_ht *ht, struct lttng_ht_node_ulong *node)
 /*
  * Add uint64_t node to hashtable.
  */
 /*
  * Add uint64_t node to hashtable.
  */
-LTTNG_HIDDEN
 void lttng_ht_add_u64(struct lttng_ht *ht, struct lttng_ht_node_u64 *node)
 {
        LTTNG_ASSERT(ht);
 void lttng_ht_add_u64(struct lttng_ht *ht, struct lttng_ht_node_u64 *node)
 {
        LTTNG_ASSERT(ht);
@@ -352,7 +337,6 @@ void lttng_ht_add_u64(struct lttng_ht *ht, struct lttng_ht_node_u64 *node)
 /*
  * Add unique unsigned long node to hashtable.
  */
 /*
  * Add unique unsigned long node to hashtable.
  */
-LTTNG_HIDDEN
 void lttng_ht_add_unique_ulong(struct lttng_ht *ht,
                struct lttng_ht_node_ulong *node)
 {
 void lttng_ht_add_unique_ulong(struct lttng_ht *ht,
                struct lttng_ht_node_ulong *node)
 {
@@ -373,7 +357,6 @@ void lttng_ht_add_unique_ulong(struct lttng_ht *ht,
 /*
  * Add unique uint64_t node to hashtable.
  */
 /*
  * Add unique uint64_t node to hashtable.
  */
-LTTNG_HIDDEN
 void lttng_ht_add_unique_u64(struct lttng_ht *ht,
                struct lttng_ht_node_u64 *node)
 {
 void lttng_ht_add_unique_u64(struct lttng_ht *ht,
                struct lttng_ht_node_u64 *node)
 {
@@ -394,7 +377,6 @@ void lttng_ht_add_unique_u64(struct lttng_ht *ht,
 /*
  * Add unique two uint64_t node to hashtable.
  */
 /*
  * Add unique two uint64_t node to hashtable.
  */
-LTTNG_HIDDEN
 void lttng_ht_add_unique_two_u64(struct lttng_ht *ht,
                struct lttng_ht_node_two_u64 *node)
 {
 void lttng_ht_add_unique_two_u64(struct lttng_ht *ht,
                struct lttng_ht_node_two_u64 *node)
 {
@@ -415,7 +397,6 @@ void lttng_ht_add_unique_two_u64(struct lttng_ht *ht,
 /*
  * Add replace unsigned long node to hashtable.
  */
 /*
  * Add replace unsigned long node to hashtable.
  */
-LTTNG_HIDDEN
 struct lttng_ht_node_ulong *lttng_ht_add_replace_ulong(struct lttng_ht *ht,
                struct lttng_ht_node_ulong *node)
 {
 struct lttng_ht_node_ulong *lttng_ht_add_replace_ulong(struct lttng_ht *ht,
                struct lttng_ht_node_ulong *node)
 {
@@ -441,7 +422,6 @@ struct lttng_ht_node_ulong *lttng_ht_add_replace_ulong(struct lttng_ht *ht,
 /*
  * Add replace unsigned long node to hashtable.
  */
 /*
  * Add replace unsigned long node to hashtable.
  */
-LTTNG_HIDDEN
 struct lttng_ht_node_u64 *lttng_ht_add_replace_u64(struct lttng_ht *ht,
                struct lttng_ht_node_u64 *node)
 {
 struct lttng_ht_node_u64 *lttng_ht_add_replace_u64(struct lttng_ht *ht,
                struct lttng_ht_node_u64 *node)
 {
@@ -467,7 +447,6 @@ struct lttng_ht_node_u64 *lttng_ht_add_replace_u64(struct lttng_ht *ht,
 /*
  * Delete node from hashtable.
  */
 /*
  * Delete node from hashtable.
  */
-LTTNG_HIDDEN
 int lttng_ht_del(struct lttng_ht *ht, struct lttng_ht_iter *iter)
 {
        int ret;
 int lttng_ht_del(struct lttng_ht *ht, struct lttng_ht_iter *iter)
 {
        int ret;
@@ -486,7 +465,6 @@ int lttng_ht_del(struct lttng_ht *ht, struct lttng_ht_iter *iter)
 /*
  * Get first node in the hashtable.
  */
 /*
  * Get first node in the hashtable.
  */
-LTTNG_HIDDEN
 void lttng_ht_get_first(struct lttng_ht *ht, struct lttng_ht_iter *iter)
 {
        LTTNG_ASSERT(ht);
 void lttng_ht_get_first(struct lttng_ht *ht, struct lttng_ht_iter *iter)
 {
        LTTNG_ASSERT(ht);
@@ -499,7 +477,6 @@ void lttng_ht_get_first(struct lttng_ht *ht, struct lttng_ht_iter *iter)
 /*
  * Get next node in the hashtable.
  */
 /*
  * Get next node in the hashtable.
  */
-LTTNG_HIDDEN
 void lttng_ht_get_next(struct lttng_ht *ht, struct lttng_ht_iter *iter)
 {
        LTTNG_ASSERT(ht);
 void lttng_ht_get_next(struct lttng_ht *ht, struct lttng_ht_iter *iter)
 {
        LTTNG_ASSERT(ht);
@@ -512,7 +489,6 @@ void lttng_ht_get_next(struct lttng_ht *ht, struct lttng_ht_iter *iter)
 /*
  * Return the number of nodes in the hashtable.
  */
 /*
  * Return the number of nodes in the hashtable.
  */
-LTTNG_HIDDEN
 unsigned long lttng_ht_get_count(struct lttng_ht *ht)
 {
        long scb, sca;
 unsigned long lttng_ht_get_count(struct lttng_ht *ht)
 {
        long scb, sca;
@@ -532,7 +508,6 @@ unsigned long lttng_ht_get_count(struct lttng_ht *ht)
 /*
  * Return lttng ht string node from iterator.
  */
 /*
  * Return lttng ht string node from iterator.
  */
-LTTNG_HIDDEN
 struct lttng_ht_node_str *lttng_ht_iter_get_node_str(
                struct lttng_ht_iter *iter)
 {
 struct lttng_ht_node_str *lttng_ht_iter_get_node_str(
                struct lttng_ht_iter *iter)
 {
@@ -549,7 +524,6 @@ struct lttng_ht_node_str *lttng_ht_iter_get_node_str(
 /*
  * Return lttng ht unsigned long node from iterator.
  */
 /*
  * Return lttng ht unsigned long node from iterator.
  */
-LTTNG_HIDDEN
 struct lttng_ht_node_ulong *lttng_ht_iter_get_node_ulong(
                struct lttng_ht_iter *iter)
 {
 struct lttng_ht_node_ulong *lttng_ht_iter_get_node_ulong(
                struct lttng_ht_iter *iter)
 {
@@ -566,7 +540,6 @@ struct lttng_ht_node_ulong *lttng_ht_iter_get_node_ulong(
 /*
  * Return lttng ht unsigned long node from iterator.
  */
 /*
  * Return lttng ht unsigned long node from iterator.
  */
-LTTNG_HIDDEN
 struct lttng_ht_node_u64 *lttng_ht_iter_get_node_u64(
                struct lttng_ht_iter *iter)
 {
 struct lttng_ht_node_u64 *lttng_ht_iter_get_node_u64(
                struct lttng_ht_iter *iter)
 {
@@ -583,7 +556,6 @@ struct lttng_ht_node_u64 *lttng_ht_iter_get_node_u64(
 /*
  * Return lttng ht stream and index id node from iterator.
  */
 /*
  * Return lttng ht stream and index id node from iterator.
  */
-LTTNG_HIDDEN
 struct lttng_ht_node_two_u64 *lttng_ht_iter_get_node_two_u64(
                struct lttng_ht_iter *iter)
 {
 struct lttng_ht_node_two_u64 *lttng_ht_iter_get_node_two_u64(
                struct lttng_ht_iter *iter)
 {
This page took 0.02633 seconds and 4 git commands to generate.