data_structures
Functions
bst_get.c File Reference
#include "bst.h"
+ Include dependency graph for bst_get.c:

Go to the source code of this file.

Functions

void * bst_get (const t_bst *bst, const void *key)
 Returns the value associated with a specified key. More...
 

Function Documentation

◆ bst_get()

void* bst_get ( const t_bst bst,
const void *  key 
)

Returns the value associated with a specified key.

Parameters
keyThe key to search for
Returns
The value associated with the key, or NULL if the key is not in the tree.

Definition at line 16 of file bst_get.c.