[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/libsnap.h File Reference

#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/time.h>

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


Defines

#define SNAP_LIB_H   1

Functions

int init_snap (int, char **)
int snap_receive ()
int add_snap_handler (fd_set *)
int isset_snap_handler (fd_set *)
void clear_snap_handler (fd_set *)
int handle_snap_request ()

Define Documentation

#define SNAP_LIB_H   1
 

Definition at line 6 of file libsnap.h.


Function Documentation

int add_snap_handler fd_set *   
 

Definition at line 181 of file libsnap.c.

References ethsock, and rawiprecvsock.

void clear_snap_handler fd_set *   
 

Definition at line 194 of file libsnap.c.

References rawiprecvsock.

int handle_snap_request  
 

Definition at line 202 of file libsnap.c.

References d_printf_timed(), rawiprecvsock, snap_interp_packet(), and snap_recv_pkt().

int init_snap int   ,
char **   
 

Definition at line 370 of file libsnap.c.

References cmdline_args::argc, cmdline_args::argv, and snap().

Referenced by main().

int isset_snap_handler fd_set *   
 

Definition at line 188 of file libsnap.c.

References rawiprecvsock.

int snap_receive