DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
API compatibility

SNMP I/O (libsnmpio) interface

The version of libsnmpio supported on UnixWare 7 is the same as that supported on SCO UnixWare 2.1.X, and implements SNMPv1.

The SCO OpenServer version of libsnmpio (included in /OpenServer/lib) is supported on UnixWare 7 for SCO OpenServer binaries only.

The routines found in libsnmpio are documented on the snmpio_api(3snmp) manual page; xselect is documented on smux_util(3snmp).

The header files for SNMP are found in /usr/include/snmp on SCO OpenServer, and in /usr/include/netmgt on UnixWare 7 and SCO UnixWare 2.1.X.

Name of Interface Legacy compatibility UDK compatibility
Compiled using SCO OpenServer DevSys Compiled using SCO UnixWare 2.1.X SDK Compiled using UnixWare 7 UDK
Library Name Works on UnixWare 7? Library Name Works on UnixWare 7? Library Name Works on SCO OpenServer? Works on SCO UnixWare 2.1.X?
close_up libsnmpio Yes libsnmpio Yes libsnmpio Yes Yes
get_response libsnmpio Yes libsnmpio Yes libsnmpio Yes; notes. Yes
init_trap_endpoint libsnmpio Yes -- -- -- -- --
initialize_io libsnmpio Yes libsnmpio Yes libsnmpio Yes; notes. Yes
make_req_id libsnmpio Yes libsnmpio Yes libsnmpio Yes Yes
send_request libsnmpio Yes libsnmpio Yes libsnmpio Yes; notes. Yes
xselect libsnmpio Yes libsnmpio Yes libsnmpio Yes Yes

``Compatibility Table Legend''

get_response source compatibility notes

This routine is defined on SCO OpenServer as follows:

   int
   get_response(fd, src, in_packet, in_packet_len, timeout);
   int fd;
   struct sockaddr_in *src;
   u_char *in_packet;
   long *in_packet_len;
   int timeout;

It is defined on UnixWare as:

   int get_response(int seconds);

initialize_io source compatibility notes

This routine is defined on SCO OpenServer as follows:

   int
   initialize_io(program_name, name, sin);
   char *program_name;            
   char *name;                    
   struct sockaddr_in *sin;

It is defined on UnixWare as:

   void initialize_io(char program_name, char name);

send_request source compatibility notes

This routine is defined on SCO OpenServer as follows:

   int
   send_request(fd, dst, out_packet, out_packet_len);
   int fd;
   struct sockaddr_in *dst;
   u_char *out_packet;
   long out_packet_len;

It is defined on UnixWare as:

   int send_request(int socket, AuthHeader auth_pointer);

Next topic: SMUX (libsmux) interface
Previous topic: parse_pdu source compatibility notes

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004