Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

llt.c File Reference

#include "llt.h"

Functions

void aw_llt_destroy (aw_llt_t *llt)
 Destroy pool, free up resources.

void * aw_llt_getobj (byte_t *key, aw_llt_t *llt)
 Get an object from the list that matches key string, remove from table.

aw_llt_t * aw_llt_make (void)
 Create an empty pool.
Returns:
Da pool, NULL on failure.


int32_t aw_llt_putobj (byte_t *key, void *obj, aw_llt_t *llt)
 Put an object into the list that associated with key string.


Function Documentation

void aw_llt_destroy (  aw_llt_t *  llt  ) 
 

Destroy pool, free up resources.

aw_llt_destroy

Parameters:
llt The pool to destroy

void* aw_llt_getobj (  byte_t *  key,
aw_llt_t *  llt
) 
 

Get an object from the list that matches key string, remove from table.

aw_llt_getobj

Parameters:
key The key to use to lookup the obj
llt The pool
Returns:
A pointer to stored obj or NULL

aw_llt_t* aw_llt_make (  void   ) 
 

Create an empty pool.

Returns:
Da pool, NULL on failure.

aw_llt_make

int32_t aw_llt_putobj (  byte_t *  key,
void *  obj,
aw_llt_t *  llt
) 
 

Put an object into the list that associated with key string.

aw_llt_putobj

Parameters:
key The key to use to lookup the obj
obj A pointer to stored obj
llt The pool
Returns:
Non-zero on error.

Aware 0.11.1 Copyright (C) 1998-2005 Russell Leighton (russ@elegant-software.com)