/*
- * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
+ * Copyright (C) 2011 EfficiOS Inc.
*
* SPDX-License-Identifier: GPL-2.0-only
*
#include <lttng/lttng-export.h>
#include <urcu/rculfhash.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
LTTNG_EXPORT extern unsigned long lttng_ht_seed;
typedef unsigned long (*hash_fct_type)(const void *_key, unsigned long seed);
};
/* Hashtable new and destroy */
-struct lttng_ht *lttng_ht_new(unsigned long size, int type);
+struct lttng_ht *lttng_ht_new(unsigned long size, enum lttng_ht_type type);
void lttng_ht_destroy(struct lttng_ht *ht);
/* Specialized node init and free functions */
struct lttng_ht_node_two_u64 *lttng_ht_iter_get_node_two_u64(
struct lttng_ht_iter *iter);
-#ifdef __cplusplus
-}
-#endif
-
#endif /* _LTT_HT_H */