[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-1.1-wjdb/lib/snap_svc_reg_table.h File Reference

#include <snap_svc.h>

Include dependency graph for snap_svc_reg_table.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  snap_svc_rec

Defines

#define DEF_SVC_TAB_SZ   100

Functions

int snap_svc_table_init ()
int snap_svc_table_fini ()
int snap_svc_table_add (char *, snapsvc_func_proto, int, int)
void * snap_svc_table_find (char *)

Define Documentation

#define DEF_SVC_TAB_SZ   100
 

Definition at line 12 of file snap_svc_reg_table.h.

Referenced by snap_svc_table_init().


Function Documentation

int snap_svc_table_add char *   ,
snapsvc_func_proto   ,
int   ,
int   
 

Definition at line 42 of file snap_svc_reg_table.c.

References d_printf(), ht_insert(), snap_svc_rec::nargs, snap_svc_rec::nret, snap_svc_table_init(), snap_svc_table_initialized, snap_svc_rec::snapsvc_func, and snapsvc_func_proto.

Referenced by snap_svc_registerlib().

void* snap_svc_table_find char *   
 

Definition at line 37 of file snap_svc_reg_table.c.

References ht_lookup().

int snap_svc_table_fini  
 

Definition at line 92 of file snap_svc_reg_table.c.

References snap_svc_table_initialized.

int snap_svc_table_init  
 

Definition at line 75 of file snap_svc_reg_table.c.

References d_printf(), DEF_SVC_TAB_SZ, ht_create(), mystrcmp(), and snap_svc_table_initialized.

Referenced by snap_svc_table_add().