[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

Go to the documentation of this file.
00001 /* snap2snmp connection library */
00002 /* (c) Willem de Bruijn, 2002   */
00003 /* snaplibrary headerfile   */
00004 
00005 #ifndef SNAP_LIB_H
00006 #define SNAP_LIB_H 1
00007 
00008 #include <stdio.h>
00009 #include <unistd.h>
00010 #include <sys/types.h>
00011 #include <sys/time.h>
00012 
00013 
00014 int init_snap(int, char**);         /* initialize the snap interpreter in the same thread*/
00015 
00016 /* direct handling */
00017 int snap_receive();
00018 
00019 /* delayed handling */
00020 int add_snap_handler(fd_set*);
00021 int isset_snap_handler(fd_set*);
00022 void clear_snap_handler(fd_set*);
00023 int handle_snap_request();
00024 
00025 #endif /* SNAP_LIB_H */