/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp-internal.h | 145 } slp_handle_impl_t; typedef 147 extern SLPError slp_start_call(slp_handle_impl_t *); 148 extern void slp_end_call(slp_handle_impl_t *); 149 extern void slp_cleanup_handle(slp_handle_impl_t *); 153 typedef SLPBoolean SLPMsgReplyCB(slp_handle_impl_t *, char *, void (*)(), 160 slp_handle_impl_t *); 164 extern SLPBoolean slp_unpackSrvReply(slp_handle_impl_t *, char *, 172 extern SLPBoolean slp_UnpackAttrReply(slp_handle_impl_t *, char *, 176 extern SLPError slp_SAAdvert(slp_handle_impl_t *, void *); 184 extern SLPError slp_new_target_list(slp_handle_impl_t *hp, const char *, [all …]
|
H A D | slp_net_utils.h | 35 extern SLPError slp_broadcast_addrs(slp_handle_impl_t *, struct in_addr *, 37 extern SLPBoolean slp_on_subnet(slp_handle_impl_t *, struct in_addr); 38 extern SLPBoolean slp_on_localhost(slp_handle_impl_t *, struct in_addr);
|
H A D | slp_ua_common.c | 37 slp_handle_impl_t *hp; 46 static SLPError check_message_fit(slp_handle_impl_t *, slp_target_list_t *); 51 slp_handle_impl_t *hp; in slp_ua_common() 59 hp = (slp_handle_impl_t *)hSLP; in slp_ua_common() 123 slp_handle_impl_t *hp; in consumer() 235 static SLPError check_message_fit(slp_handle_impl_t *hp, in check_message_fit()
|
H A D | SLPOpen.c | 37 slp_handle_impl_t *hp; in SLPOpen() 96 void slp_cleanup_handle(slp_handle_impl_t *hp) { in slp_cleanup_handle() 109 slp_handle_impl_t *hp = (slp_handle_impl_t *)hSLP; in SLPClose()
|
H A D | SLPFindSrvs.c | 47 static SLPBoolean unpackDAAdvert_srv(slp_handle_impl_t *, char *, 50 static SLPBoolean unpackSAAdvert_srv(slp_handle_impl_t *, char *, 58 slp_handle_impl_t *hp = (slp_handle_impl_t *)hSLP; in SLPFindSrvs() 103 SLPBoolean slp_unpackSrvReply(slp_handle_impl_t *hp, char *reply, in slp_unpackSrvReply() 221 static SLPBoolean unpackDAAdvert_srv(slp_handle_impl_t *hp, char *reply, in unpackDAAdvert_srv() 279 static SLPBoolean unpackSAAdvert_srv(slp_handle_impl_t *hp, char *reply, in unpackSAAdvert_srv() 327 slp_handle_impl_t *hp) { in slp_packSrvRqst() 518 slp_handle_impl_t *h; in process_surl_node() 525 h = (slp_handle_impl_t *)caller->handle; in process_surl_node()
|
H A D | slp_net.c | 69 slp_handle_impl_t *hp; 87 static SLPError make_header(slp_handle_impl_t *, char *, const char *); 90 static SLPError make_mc_target(slp_handle_impl_t *, 93 static SLPError make_bc_target(slp_handle_impl_t *, struct in_addr *, 98 static void mc_recvmsg(struct pollfd *, nfds_t, slp_handle_impl_t *, 103 static void tcp_handoff(slp_handle_impl_t *, const char *, 125 void slp_uc_tcp_send(slp_handle_impl_t *hp, slp_target_t *target, in slp_uc_tcp_send() 173 void slp_tcp_wait(slp_handle_impl_t *hp) { in slp_tcp_wait() 189 void slp_uc_udp_send(slp_handle_impl_t *hp, slp_target_t *target, in slp_uc_udp_send() 332 void slp_mc_send(slp_handle_impl_t *hp, const char *scopes) { in slp_mc_send() [all …]
|
H A D | SLPReg.c | 87 slp_handle_impl_t *hp; 117 static SLPError enqueue_reg(slp_handle_impl_t *, struct reg_msg *, 119 static SLPError reg_impl(slp_handle_impl_t *, struct reg_msg *, 123 static SLPError reg_common(slp_handle_impl_t *, struct reg_msg *, 126 static SLPError packSrvReg(slp_handle_impl_t *, const char *, 129 static SLPError packSrvDereg(slp_handle_impl_t *, const char *, 189 static SLPError packSrvReg(slp_handle_impl_t *hp, const char *url, in packSrvReg() 399 static SLPError packSrvDereg(slp_handle_impl_t *hp, const char *url, in packSrvDereg() 505 static SLPError reg_common(slp_handle_impl_t *hp, struct reg_msg *msg, in reg_common() 528 static SLPError enqueue_reg(slp_handle_impl_t *hp, struct reg_msg *msg, in enqueue_reg() [all …]
|
H A D | SLPFindAttrs.c | 35 static SLPError slp_packAttrRqst(slp_handle_impl_t *, const char *, 43 static SLPBoolean unpackDAAdvert_attr(slp_handle_impl_t *, char *, 46 static SLPBoolean unpackSAAdvert_attr(slp_handle_impl_t *, char *, 80 ((slp_handle_impl_t *)hSLP)->force_multicast = SLP_TRUE; in SLPFindAttrs() 84 ((slp_handle_impl_t *)hSLP)->force_multicast = SLP_TRUE; in SLPFindAttrs() 102 SLPBoolean slp_UnpackAttrReply(slp_handle_impl_t *hp, char *reply, in slp_UnpackAttrReply() 193 static SLPBoolean unpackDAAdvert_attr(slp_handle_impl_t *hp, char *reply, in unpackDAAdvert_attr() 250 static SLPBoolean unpackSAAdvert_attr(slp_handle_impl_t *hp, char *reply, in unpackSAAdvert_attr() 297 static SLPError slp_packAttrRqst(slp_handle_impl_t *hp, const char *url, in slp_packAttrRqst()
|
H A D | SLPFindSrvTypes.c | 30 static SLPBoolean UnpackSrvTypesReply(slp_handle_impl_t *, char *, 33 static SLPError slp_packSrvTypeRqst(slp_handle_impl_t *, const char *); 70 static SLPBoolean UnpackSrvTypesReply(slp_handle_impl_t *hp, char *reply, in UnpackSrvTypesReply() 132 static SLPError slp_packSrvTypeRqst(slp_handle_impl_t *hp, const char *na) { in slp_packSrvTypeRqst()
|
H A D | SLPUtils.c | 53 static SLPBoolean unpackSAAdvert_scope(slp_handle_impl_t *, char *, 93 ((slp_handle_impl_t *)hSLP)->internal_call = SLP_TRUE; in SLPFindScopes() 105 ((slp_handle_impl_t *)hSLP)->internal_call = SLP_FALSE; in SLPFindScopes() 217 slp_handle_impl_t *hp = (slp_handle_impl_t *)hSLP; in SAAdvert_for_scopes() 278 static SLPBoolean unpackSAAdvert_scope(slp_handle_impl_t *hSLP, char *reply, in unpackSAAdvert_scope()
|
H A D | slp_net_utils.c | 70 SLPError slp_broadcast_addrs(slp_handle_impl_t *hp, struct in_addr *given_ifs, in slp_broadcast_addrs() 140 SLPBoolean slp_on_subnet(slp_handle_impl_t *hp, struct in_addr addr) { in slp_on_subnet() 183 SLPBoolean slp_on_localhost(slp_handle_impl_t *hp, struct in_addr addr) { in slp_on_localhost()
|
H A D | slp_utils.c | 101 SLPError slp_start_call(slp_handle_impl_t *hp) { in slp_start_call() 114 void slp_end_call(slp_handle_impl_t *hp) { in slp_end_call() 354 size_t slp_header_length(slp_handle_impl_t *hp) { in slp_header_length()
|
H A D | SLPGetRefreshInterval.c | 44 slp_handle_impl_t *hp; /* SLP handle for this request */ in SLPGetRefreshInterval()
|
H A D | slp_targets.c | 140 SLPError slp_new_target_list(slp_handle_impl_t *hp, const char *scopes, in slp_new_target_list()
|