/* AUTOMATICALLY GENERATED BY tspec 2.10 API SUBSET: svid3:netconfig.h (VERSION 2.6) */ #ifndef __TDF_SVID3_NETCONFIG_H #define __TDF_SVID3_NETCONFIG_H #ifdef __cplusplus extern "C" { #endif #pragma TenDRA declaration block api__svid3__netconfig begin #ifndef __TDF_SVID3__CONFIG #pragma extend interface "../shared/svid3.api/config.h" #endif /* __TDF_SVID3__CONFIG */ #if __SYSV_REMOTE_SERVICES /* The nc_proto and nc_protofmly fields are wrong in the book */ #pragma token STRUCT TAG netconfig # svid3.netconfig.netconfig #pragma token MEMBER char * : struct netconfig : nc_netid # svid3.netconfig.netconfig.nc_netid #pragma token MEMBER unsigned long : struct netconfig : nc_semantics # svid3.netconfig.netconfig.nc_semantics #pragma token MEMBER unsigned long : struct netconfig : nc_flag # svid3.netconfig.netconfig.nc_flag #pragma token MEMBER char * : struct netconfig : nc_proto # svid3.netconfig.netconfig.nc_proto #pragma token MEMBER char * : struct netconfig : nc_protofmly # svid3.netconfig.netconfig.nc_protofmly #pragma token MEMBER char * : struct netconfig : nc_device # svid3.netconfig.netconfig.nc_device #pragma token MEMBER unsigned long : struct netconfig : nc_nlookups # svid3.netconfig.netconfig.nc_nlookups #pragma token MEMBER char ** : struct netconfig : nc_lookups # svid3.netconfig.netconfig.nc_lookups #pragma token EXP const : int : NC_TPI_COTS # svid3.netconfig.NC_TPI_COTS #pragma token EXP const : int : NC_TPI_COTS_ORD # svid3.netconfig.NC_TPI_COTS_ORD #pragma token EXP const : int : NC_TPI_CLTS # svid3.netconfig.NC_TPI_CLTS #pragma token EXP const : int : NC_VISIBLE # svid3.netconfig.NC_VISIBLE #pragma token EXP const : int : NC_NOFLAG # svid3.netconfig.NC_NOFLAG #pragma token FUNC struct netconfig * (void *) : getnetconfig # svid3.netconfig.getnetconfig #pragma token FUNC void * (void) : setnetconfig # svid3.netconfig.setnetconfig #pragma token FUNC int (void *) : endnetconfig # svid3.netconfig.endnetconfig #pragma token FUNC struct netconfig * (char *) : getnetconfigent # svid3.netconfig.getnetconfigent /* Error in book */ #pragma token FUNC void (struct netconfig *) : freenetconfigent # svid3.netconfig.freenetconfigent #pragma token FUNC struct netconfig * (void *) : getnetpath # svid3.netconfig.getnetpath #pragma token FUNC void * (void) : setnetpath # svid3.netconfig.setnetpath #pragma token FUNC int (void *) : endnetpath # svid3.netconfig.endnetpath #pragma token FUNC void (char *) : nc_perror # svid3.netconfig.nc_perror #endif /* __SYSV_REMOTE_SERVICES */ #if __SYSV_REMOTE_SERVICES #pragma interface TAG netconfig TAG netconfig.nc_netid #pragma interface TAG netconfig.nc_semantics TAG netconfig.nc_flag #pragma interface TAG netconfig.nc_proto TAG netconfig.nc_protofmly #pragma interface TAG netconfig.nc_device TAG netconfig.nc_nlookups #pragma interface TAG netconfig.nc_lookups NC_TPI_COTS NC_TPI_COTS_ORD #pragma interface NC_TPI_CLTS NC_VISIBLE NC_NOFLAG getnetconfig setnetconfig #pragma interface endnetconfig getnetconfigent freenetconfigent getnetpath #pragma interface setnetpath endnetpath nc_perror #endif /* __SYSV_REMOTE_SERVICES */ #pragma TenDRA declaration block end #ifdef __cplusplus } #endif #endif /* __TDF_SVID3_NETCONFIG_H */