[insert project logo here (125x200px max)]

Navigator

Mailinglists

Please report any errors or ommissions you find to our `Help' mailinglist, or post a message in the Forums.

Copyright and Licensing Information

Snap is (c) Jonathan T. Moore, 1999-2002 and licensed under the GNU General Public License (GPL).

All other parts of Splash are (c) Willem de Bruijn, 2002-2003 and licensed under the BSD Open Source License.

All sourcecode is made publicly available.

Acknowledgement

Splash and the Splash website are hosted by SourceForge.net

SourceForge.net Logo

osi-open source certified logo

Splash - Documentation

SNMP Plus a Lightweight API for SNAP Handling

Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

snap_svc/snap_svc_memmap_hash_list.h File Reference

#include <stdlib.h>

Include dependency graph for snap_svc_memmap_hash_list.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.


Data Structures

struct  l

Defines

#define memalloc(ptr, t, sz)

Typedefs

typedef l list_t

Functions

list_tcons (void *v, list_t *next)
void free_list (list_t *list)
int length_list (list_t *list)

Define Documentation

#define memalloc ptr,
t,
sz   
 

Value:

{ void *_result;                                                \
    _result = (void *)malloc(sz);                                 \
    (ptr) = (t)_result;                                           \
  }

Definition at line 12 of file snap_svc_memmap_hash_list.h.


Typedef Documentation

typedef struct l list_t
 


Function Documentation

list_t* cons void *    v,
list_t   next
 

Definition at line 24 of file snap_list.c.

References memalloc, l::next, and l::v.

Referenced by ht_insert(), and yyparse().

void free_list list_t   list
 

Definition at line 41 of file snap_list.c.

References l::next.

Referenced by yyparse().

int length_list list_t   list
 

Definition at line 54 of file snap_list.c.

References l::next.

Referenced by ht_insert(), and newtup().