json-c: lh_entry Struct Reference

json-c 0.17

- Main Page
- Related Pages
- Data Structures
- Files

- Data Structures
- Data Fields

Data Fields
lh_entry Struct Reference

## Data Fields
const void * | k
int | k_is_constant
const void * | v
struct lh_entry * | next
struct lh_entry * | prev

## Detailed Description

An entry in the hash table. Outside of linkhash.c, treat this as opaque.

## Field Documentation

const void* lh_entry::k

The key.

Deprecated:
  Use lh_entry_k() instead of accessing this directly.

Referenced by lh_entry_k().

int lh_entry::k_is_constant

A flag for users of linkhash to know whether or not they need to free k.

Deprecated:
  use lh_entry_k_is_constant() instead.

Referenced by lh_entry_k_is_constant().

struct lh_entry* lh_entry::next

The next entry.

Deprecated:
  Use lh_entry_next() instead of accessing this directly.

Referenced by lh_entry_next().

struct lh_entry* lh_entry::prev

The previous entry.

Deprecated:
  Use lh_entry_prev() instead of accessing this directly.

Referenced by lh_entry_prev().

const void* lh_entry::v

The value.

Deprecated:
  Use lh_entry_v() instead of accessing this directly.

Referenced by lh_entry_set_val(), and lh_entry_v().

The documentation for this struct was generated from the following file:

- linkhash.h