Solstice X.25 9.2 Developer's Guide

8.16 setpadent--Open and Rewind the PAD Hosts Database

Synopsis
#include <netx25/x25_proto.h>
 #include <netx25/xnetdb.h>

    void setpadent(
       int stayopen
    );
Description

setpadent opens and rewinds the PAD Hosts Database.

Arguments

The parameters are:

Table 8-17 setpadent parameters

Parameter 

Description 

stayopen

If this is set to 0, the PAD Hosts Database is closed after each getpadent call. Otherwise, the PAD Hosts Database is not closed.