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

#include <snap_svc.h>
#include "packet.h"
#include "io.h"

Include dependency graph for snap_svc_conversion.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_htup
struct  snap_hval

Functions

void * snap_svc_convert_stack2returnstruct (packet_t *, value_t *)
int snap_svc_convert_returnstruct2stack (packet_t *, value_t *, struct svc_returnitem *)
int snap_svc_convert_direct2stack (packet_t *, void *, int)
void ** snap_svc_convert_stack2arguments (packet_t *, int)

Function Documentation

int snap_svc_convert_direct2stack packet_t  ,
void *   ,
int   
 

Definition at line 188 of file snap_svc_conversion.c.

References svc_returnitem::data, svc_returnitem::length, svc_returnitem::oid, svc_returnitem::oid_length, snap_svc_convert_returnstruct2stack(), packet_t::sp, SVC_SNMP_TYPE_LONG, SVC_SNMP_TYPE_STRING, and svc_returnitem::type.

int snap_svc_convert_returnstruct2stack packet_t  ,
value_t  ,
struct svc_returnitem  
 

Definition at line 120 of file snap_svc_conversion.c.

References ADDRV, d_printf(), svc_returnitem::data, heap_obj::flag, GET_ADDR_VAL, GET_INT, GET_OFFS, packet_t::heap_min, INTV, heap_obj::len, svc_returnitem::length, heap_obj::s, SET_ADDR, SET_INT, SET_OFFS, SET_TAG, packet_t::sp, packet_t::stack_max, STRV, SVC_SNMP_TYPE_ADDR, SVC_SNMP_TYPE_INT, SVC_SNMP_TYPE_LONG, SVC_SNMP_TYPE_STRING, svc_returnitem::type, and value_t.

Referenced by snap_svc_convert_direct2stack().

void** snap_svc_convert_stack2arguments packet_t  ,
int   
 

Definition at line 220 of file snap_svc_conversion.c.

References d_printf(), snap_svc_convert_stack2returnstruct(), packet_t::sp, and packet_t::stack_min.

void* snap_svc_convert_stack2returnstruct packet_t  ,
value_t  
 

Definition at line 19 of file snap_svc_conversion.c.

References ADDRV, d_printf(), EXCV, FLOATV, GET_INT, GET_OFFS, GET_TAG, packet_t::heap_min, INTV, snap_htup::n, STRV, TUPLEV, snap_htup::vals, and value_t.

Referenced by snap_svc_convert_stack2arguments().