svc_unregister man page on DigitalUNIX
[printable version]
rpc_soc(3scl) rpc_soc(3scl)
NAME
rpc_soc, authunix_create, authunix_create_default, callrpc, clnt_broad‐
cast, clntraw_create, clnttcp_create, clntudp_bufcreate, clntudp_cre‐
ate, get_myaddress, pmap_getmaps, pmap_getport, pmap_rmtcall, pmap_set,
pmap_unset, registerrpc, svc_getreq, svc_register, svc_unregister,
svcfd_create, svcraw_create, svctcp_create, svcudp_bufcreate,
svcudp_create, xdr_authunix_parms - obsolete library routines for RPC
LIBRARY
SCL RPC library (librpc.so)
SYNOPSIS
#define PORTMAP #include <rpc/rpc.h> #include <netconfig.h>
The following table lists the sockets-based routines provided in SCL
RPC, together with information on the replacement TI-RPC routines.
AUTH * authunix_create(char *host, int uid, int gid, int grouplen,
int gidlistp);
Superseded by authsys_create() (see rpc_clnt_auth(3scl))
AUTH * authunix_create_default(void)
Superseded by authsys_create_default() (see rpc_clnt_auth(3scl))
int callrpc(char *host, u_long prognum, u_long versnum,
u_long procnum, xdrproc_t inproc, char *in, xdrproc_t outproc,
char *out);
Superseded by rpc_call() (see rpc_clnt_calls(3scl))
enum clnt_stat clnt_broadcast(u_long prognum, u_long versnum,
u_long procnum, xdrproc_t inproc, resultproc_t eachresult);
Superseded by rpc_broadcast() (see rpc_clnt_calls(3scl))
CLIENT * clntudp_create(struct sockaddr_in *addr, u_long prognum,
u_long versnum, struct timeval wait, int *fdp);
Superseded by clnt_create(), clnt_tli_create() or clnt_dg_cre‐
ate()
(see rpc_clnt_create(3scl))
CLIENT * clntraw_create(u_long prognum, u_long versnum);
Superseded by clnt_raw_create() (see rpc_clnt_create(3scl))
CLIENT * clnttcp_create(struct sockaddr_in *addr, u_long prognum,
u_long versnum, int *fdp, unsigned int *sendsz,
unsigned int *recvsz);
Superseded by clnt_create(), clnt_tli_create() or clnt_vc_cre‐
ate()
(see rpc_clnt_create(3scl))
CLIENT * clntudp_bufcreate(struct sockaddr_in *addr, u_long prognum,
u_long versnum, struct timeval wait, int *fdp,
unsigned int sendsz, unsigned int recvsz);
Superseded by clnt_tli_create() or clnt_dg_create()
(see rpc_clnt_create(3scl))
void get_myaddress(struct sockaddr_in *addr);
Superseded by netdir_getbyname() (see netdir(3scl))
struct pmaplist *pmap_getmaps(struct sockaddr_in *addr);
Superseded by rpcb_getmaps() (see rpcbind(3scl))
unsigned short pmap_getport(struct sockaddr_in *addr, u_long prognum,
u_long versnum, unsigned int protocol);
Superseded by rpcb_getaddr() (see rpcbind(3scl))
enum clnt_stat pmap_rmtcall(struct sockaddr_in *addr, u_long prognum,
u_long versnum, u_long procnum, char *in, xdrproc_t inproc,
char *out, xdrproc_t outproc,
struct timeval tout, unsigned int *portp);
Superseded by rpcb_rmtcall() (see rpcbind(3scl))
bool_t pmap_set(u_long prognum, u_long versnum,
unsigned int protocol, unsigned short port);
Superseded by rpcb_set() (see rpcbind(3scl))
bool_t pmap_unset(u_long prognum, u_long versnum);
Superseded by rpcb_unset() (see rpcbind(3scl))
int registerrpc(u_long prognum, u_long versnum,
u_long procnum, char *(*procname)(), xdrproc_t inproc,
xdrproc_t outproc);
Superseded by rpc_reg() (see rpc_svc_reg(3scl))
void svc_getreq(int rdfs);
Superseded by svc_getreqset() (see rpc_svc_calls(3scl))
int svc_register(SVCXPRT *xprt, u_long prognum, u_long versnum,
void (*dispatch)(), unsigned int protocol);
Superseded by svc_reg() (see rpc_svc_reg(3scl))
void svc_unregister(u_long prognum, u_long versnum);
Superseded by svc_unreg() (see rpc_svc_reg(3scl))
SVCXPRT *svcfd_create(int fd, unsigned int sendssz, unsigned int
recvsz);
Superseded by svc_fd_create() (see rpc_svc_create(3scl))
SVCXPRT * svcraw_create(void);
Superseded by svc_raw_create() (see rpc_svc_create(3scl))
SVCXPRT * svctcp_create(int fd, unsigned int sendsz, unsigned int
recvsz);
Superseded by svc_create(), svc_tli_create() or svc_vc_create()
(see rpc_svc_create(3scl))
SVCXPRT * svcudp_bufcreate(int fd, unsigned int sendsz,
unsigned int recvsz);
Superseded by svc_tli_create() or svc_dg_create()
(see rpc_svc_create(3scl))
SVCXPRT * svcudp_create(int fd);
Superseded by svc_create(), svc_tli_create() or svc_dg_create()
(see rpc_svc_create(3scl))
bool_t xdr_authunix_parms(XDR *xdrs, struct authunix_parms *aupp);
Superseded by xdr_authsys_parms() (see rpc_xdr(3scl))
DESCRIPTION
Refer to the Solaris rpc_soc(3N) man pages for a description of how
these functions should be used.
SCL IMPLEMENTATION NOTES
These routines are provided inside SCL RPC, but are based on the sock‐
ets API, and are therefore rendered obsolete by new TI-RPC based APIs.
The routines described on this page are provided as part of the ONC API
that ships as part of the Tru64 UNIX distribution, and so programs that
use APIs exclusively from this man page will work without having to use
SCL.
Programmers wishing to use the SCL implementation of these routines
should define the PORTMAP macro before including <rpc/rpc.h> so that
the correct function declarations for the old interfaces are included.
RELATED INFORMATION
Overviews: rpc(3), scl_intro(3scl), scl_rpc(3scl)
Files: scl_error_log(4scl)
Functions: netdir(3scl), rpcbind(3scl), rpc_clnt_auth(3scl),
rpc_clnt_calls(3scl), rpc_clnt_create(3scl), rpc_svc_calls(3scl),
rpc_svc_create(3scl), rpc_xdr(3scl)
Utilities: rpcbind(8scl), rpcinfo(8scl)
Solaris man pages: rpc_soc(3N), keyserv(1M), rpcbind(1M), rpcinfo(1M),
rpc(3N), rpc_clnt_auth(3N), rpc_clnt_calls(3N), rpc_clnt_create(3N),
rpc_svc_calls(3N), rpc_svc_create(3N), rpc_svc_err(3N),
rpc_svc_reg(3N), rpcbind(3N), secure_rpc(3N)
Manual: Solaris Compatibility Library User's Guide
rpc_soc(3scl)
[top]
List of man pages available for DigitalUNIX
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|