Lines Matching refs:char
85 int cbc_crypt(char *key, char *buf, size_t len, uint_t mode, char *ivec);
86 int ecb_crypt(char *key, char *buf, size_t len, uint_t mode);
89 void des_setparity(char *p);
90 int __des_crypt(char *buf, unsigned len, struct desparams *desp);
95 int _des_crypt(char *buf, unsigned len, struct desparams *desp);
131 void __gen_dhkeys(char *public, char *secret, char *pass);
134 int getpublickey(const char *netname, char *pkey);
135 int __getpublickey_cached(char *netname, char *pkey, int *from_cache);
136 void __getpublickey_flush(const char *netname);
137 int getsecretkey(const char *netname, char *skey, const char *passwd);
140 int xencrypt(char *secret, char *passwd);
141 int xdecrypt(char *secret, char *passwd);
142 int passwd2des(char *pw, char *key);
157 int netdir_options(struct netconfig *tp, int option, int fd, char *par);
158 struct netbuf *uaddr2taddr(struct netconfig *tp, char *addr);
159 char *taddr2uaddr(struct netconfig *tp, struct netbuf *addr);
161 char *netdir_sperror(void);
162 void netdir_perror(char *s);
172 struct netconfig *getnetconfigent(const char *netid);
177 char *nc_sperror(void);
178 void nc_perror(const char *string);
187 nis_name nis_domain_of(char *s);
188 nis_name nis_leaf_of_r(const nis_name s, char *buf, size_t bufsize);
189 nis_name nis_leaf_of(char *s);
190 nis_name nis_name_of(char *s);
195 nis_object *nis_read_obj(char *f);
196 int nis_write_obj(char *f, nis_object *o);
199 * char *nis_old_data(char *s);
200 * char *nis_data(char *s);
241 char *t_alloc(int, int, int);
253 void t_error(const char *);
256 int t_free(char *, int);
274 int t_open(const char *, int, struct t_info *);
280 int t_rcv(int, char *, unsigned, int *);
298 int t_snd(int, char *, unsigned, int);
310 char *t_strerror(int);
355 char *_xti_alloc(int, int, int);
359 int _xti_error(char *);
360 int _xti_free(char *, int);
366 int _xti_open(char *, int, struct t_info *);
368 int _xti_rcv(int, char *, unsigned int, int *);
378 int _xti_snd(int, char *, unsigned int, int);
379 int _xti_xns5_snd(int, char *, unsigned int, int);
386 char *_xti_strerror(int);
398 struct hostent *_uncached_gethostbyname_r(const char *nam,
400 char *buffer, int buflen, int *h_errnop);
401 struct hostent *_uncached_gethostbyaddr_r(const char *addr, int length,
403 char *buffer, int buflen, int *h_errnop);
404 struct hostent *gethostbyname_r(const char *nam, struct hostent *result,
405 char *buffer, int buflen, int *h_errnop);
406 struct hostent *gethostbyaddr_r(const char *addr, int length, int type,
408 char *buffer, int buflen, int *h_errnop);
411 struct hostent *gethostbyname(const char *nam);
418 struct hostent *gethostent_r(struct hostent *result, char *buffer, int buflen,
425 struct hostent *getipnodebyname(const char *name, int af, int flags,
429 struct rpcent *getrpcbyname(const char *nam);
434 struct rpcent *getrpcbyname_r(const char *name, struct rpcent *result,
435 char *buffer, int buflen);
437 char *buffer, int buflen);
440 struct rpcent *getrpcent_r(struct rpcent *result, char *buffer, int buflen);
443 boolean_t inet_matchaddr(const void *, const char *);
446 const char *inet_ntop(int af, const void *src, char *dst, socklen_t size);
449 int inet_pton(int af, const char *src, void *dst);
460 struct hostent *_switch_gethostbyname_r(const char *name,
462 char *buffer, int buflen, int *h_errnop);
463 struct hostent *_switch_gethostbyaddr_r(const char *addr, int len, int type,
465 char *buffer, int buflen, int *h_errnop);
466 int str2servent(const char *instr, int lenstr, void *ent,
467 char *buffer, int buflen);
471 int __inet_uaddr_is_local(void *p, struct netconfig *nc, char *uaddr);
474 char *__inet_get_uaddr(void *p, struct netconfig *nc, int n);
475 char *__inet_get_networka(void *p, int n);
484 AUTH *authdes_seccreate(const char *servername, uint_t win,
485 const char *timehost, const des_block *ckey);
491 AUTH *authsys_create(const char *machname, uid_t uid, gid_t gid, int len,
510 int waittime, const char *netclass);
514 const char *netclass);
524 CLIENT *clnt_create_vers(const char *hostname, rpcprog_t prog,
526 rpcvers_t vers_high, const char *nettype);
527 CLIENT *clnt_create_vers_timed(const char *hostname, rpcprog_t prog,
529 rpcvers_t vers_high, const char *nettype,
531 CLIENT *clnt_create(const char *hostname, rpcprog_t prog, rpcvers_t vers,
532 const char *nettype);
533 CLIENT *clnt_create_timed(const char *hostname, rpcprog_t prog, rpcvers_t vers,
534 const char *netclass, const struct timeval *tp);
535 CLIENT *clnt_tp_create(const char *hostname, rpcprog_t prog, rpcvers_t vers,
537 CLIENT *clnt_tp_create_timed(const char *hostname, rpcprog_t prog,
545 char *clnt_sperror(const CLIENT *cl, const char *s);
546 void clnt_perror(const CLIENT *cl, const char *s);
548 char *clnt_spcreateerror(const char *s);
549 void clnt_pcreateerror(const char *s);
550 const char *clnt_sperrno(const enum clnt_stat stat);
556 enum clnt_stat rpc_call(const char *host, rpcprog_t prognum, rpcvers_t versnum,
557 rpcproc_t procnum, xdrproc_t inproc, const char *in,
558 xdrproc_t outproc, char *out, const char *netclass);
565 int getdomainname(char *name, int namelen);
566 int setdomainname(char *domain, int len);
569 int gethostname(char *hname, int hlen);
572 char *inet_ntoa_r(struct in_addr in, char b[]);
573 char *inet_ntoa(struct in_addr in);
574 in_addr_t inet_addr(const char *cp);
578 int key_setsecret(const char *secretkey);
580 int key_encryptsession_pk(const char *remotename, netobj *remotekey,
582 int key_decryptsession_pk(const char *remotename, netobj *remotekey,
585 int key_encryptsession(const char *remotename, des_block *deskey);
586 int key_decryptsession(const char *remotename, des_block *deskey);
589 int key_get_conv(char *pkey, des_block *deskey);
590 int key_call(ulong_t proc, xdrproc_t xdr_arg, char *arg, xdrproc_t xdr_rslt,
591 char *rslt);
612 int getnetname(char *name);
613 int __getnetnamebyuid(char *name, uid_t uid);
614 int user2netname(char *netname, const uid_t uid, const char *domain);
615 int host2netname(char *netname, const char *host, const char *domain);
618 int netname2user(const char *netname, uid_t *uidp, gid_t *gidp,
620 int netname2host(const char *netname, char *hostname, int hostlen);
651 struct netconfig *__rpc_getconfip(char *nettype);
652 void *__rpc_setconf(char *nettype);
688 ushort_t getrpcport(char *host, rpcprog_t prognum, rpcvers_t versnum, rpcprot_t proto);
689 int callrpc(char *host, rpcprog_t prognum, rpcvers_t versnum, rpcproc_t procnum,
690 xdrproc_t inproc, char *in, xdrproc_t outproc, char *out);
692 char *(*progname)(), xdrproc_t inproc, xdrproc_t outproc);
696 AUTH *authdes_create(char *servername, uint_t window,
709 const char *host);
710 rpcblist *rpcb_getmaps(const struct netconfig *nconf, const char *host);
711 enum clnt_stat rpcb_rmtcall(const struct netconfig *nconf, const char *host,
716 bool_t rpcb_gettime(const char *host, time_t *timep);
717 char *rpcb_taddr2uaddr(struct netconfig *nconf, struct netbuf *taddr);
718 struct netbuf *rpcb_uaddr2taddr(struct netconfig *nconf, char *uaddr);
742 int __rpc_get_default_domain(char **domain);
745 AUTH *rpc_gss_seccreate(CLIENT *clnt, char *principal, char *mechanism,
746 rpc_gss_service_t service_type, char *qop,
749 bool_t rpc_gss_set_defaults(AUTH *auth, rpc_gss_service_t service, char *qop);
750 bool_t rpc_gss_get_principal_name(rpc_gss_principal_t *principal, char
751 *mechanism, char *user_name, char *node, char *secdomain);
752 char **rpc_gss_get_mechanisms(void);
753 char **rpc_gss_get_mech_info(char *mechanism, rpc_gss_service_t *service);
755 bool_t rpc_gss_is_installed(char *mechanism);
756 bool_t rpc_gss_set_svc_name(char *principal, char *mechanism, uint_t req_time,
761 bool_t rpc_gss_mech_to_oid(char *mech, rpc_gss_OID *oid);
762 bool_t rpc_gss_qop_to_num(char *qop, char *mech, u_int *num);
768 int rtime_tli(char *host, struct timeval *timep, struct timeval *timeout);
815 const char *nettype);
833 char *(*progname)(), xdrproc_t inproc, xdrproc_t outproc,
834 const char *nettype);
854 void xdr_free(xdrproc_t proc, char *objp);
862 bool_t xdr_char(XDR *xdrs, char *cp);
867 bool_t xdr_bytes(XDR *xdrs, char **cpp, uint_t *sizep, uint_t maxsize);
869 bool_t xdr_union(XDR *xdrs, enum_t *dscmp, char *unp,
871 bool_t xdr_string(XDR *xdrs, char **cpp, uint_t maxsize);
877 bool_t xdr_wrapstring(XDR *xdrs, char **cpp);
882 bool_t xdr_vector(XDR *xdrs, char *basep, uint_t nelem, uint_t elemsize,
904 bool_t xdr_pointer(XDR *xdrs, char **objpp, uint_t obj_size, xdrproc_t xdr_obj);
936 bool_t svc_freeargs(SVCXPRT *xprt, xdrproc_t xargs, char *argsp);
937 bool_t svc_getargs(SVCXPRT *xprt, xdrproc_t xargs, char *argsp);
949 int check_version(int ver, char *fname);
952 int doconfig(int fd, char *script, long rflag);
959 int dbminit(char *file);
967 datum makdatum(char *buf, int n);
972 int yp_all(char *domain, char *map, struct ypall_callback *callback);
973 int __yp_all_rsvdport(char *domain, char *map, struct ypall_callback *callback);
990 char *ypbind_domainname;
995 char *ypsetdom_domain;
1010 char *dom_domain;
1020 int __yp_dobind(char *domain, struct dom_binding **binding);
1022 void yp_unbind(char *domain);
1023 int __yp_add_binding(char *domain, char *addr);
1024 int yp_bind(char *domain);
1025 int yp_get_default_domain(char **domain);
1026 int usingypmap(char **ddn, char *map);
1030 int yp_first(char *domain, char *map, char **key, int *keylen,
1031 char **val, int *vallen);
1032 int yp_next(char *domain, char *map, char *inkey, int inkeylen,
1033 char **outkey, int *outkeylen, char **val, int *vallen);
1036 int yp_master(char *domain, char *map, char **master);
1037 int __yp_master_rsvdport(char *domain, char *map, char **master);
1040 int yp_match(char *domain, char *map, char *key, int keylen,
1041 char **val, int *vallen);
1042 int yp_match_rsvdport(char *domain, char *map, char *key, int keylen,
1043 char **val, int *vallen);
1047 int yp_order(char *domain, char *map, unsigned long *order);
1050 CLIENT *__yp_clnt_create_rsvdport(const char *hostname,
1052 const char *nettype,
1056 int yp_update(char *domain, char *map, unsigned op,
1057 char *key, int keylen, char *data, int datalen);
1061 bool xdr_ypdomain_wrap_string(XDR *xdrs, char **ppstring);
1062 bool xdr_ypmap_wrap_string(XDR *xdrs, char **ppstring);
1067 bool xdr_ypowner_wrap_string(XDR *xdrs, char **ppstring);
1078 char *yperr_string(int code);
1092 char *__nis_keyalg2authtype(keylen_t keylen, algtype_t algtype,
1093 char *authtype, size_t authtype_len);
1096 char *_strtok_escape(char *string, char *sepset, char **lasts);