/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp.h | 117 SLPHandle hSLP, /* operation SLPHandle */ 128 SLPHandle hSLP, /* operation SLPHandle */ 140 SLPHandle hSLP, /* operation SLPHandle */ 153 SLPHandle hSLP, /* operation SLPHandle */ 170 SLPHandle hSLP /* handle to be closed */ 179 SLPHandle hSLP, /* operation SLPHandle */ 196 SLPHandle hSLP, /* operation SLPHandle */ 207 SLPHandle hSLP, /* operation SLPHandle */ 221 SLPHandle hSLP, /* operation SLPHandle */ 234 SLPHandle hSLP, /* operation SLPHandle */ [all …]
|
H A D | SLPReg.c | 136 SLPError SLPReg(SLPHandle hSLP, const char *pcSrvURL, in SLPReg() argument 145 if (!hSLP || !pcSrvURL || !*pcSrvURL || !pcSrvType || in SLPReg() 160 if ((err = slp_start_call(hSLP)) != SLP_OK) in SLPReg() 165 hSLP, pcSrvURL, usLifetime, pcSrvType, in SLPReg() 168 slp_end_call(hSLP); in SLPReg() 172 if ((err = reg_common(hSLP, msg, pvUser, callback)) == SLP_OK && in SLPReg() 178 hSLP, pcSrvURL, usLifetime, in SLPReg() 325 SLPError SLPDereg(SLPHandle hSLP, const char *pURL, in SLPDereg() argument 331 if (!hSLP || !pURL || !*pURL || !callback) { in SLPDereg() 344 if ((err = slp_start_call(hSLP)) != SLP_OK) in SLPDereg() [all …]
|
H A D | SLPUtils.c | 62 SLPError SLPFindScopes(SLPHandle hSLP, char **ppcScopes) { in SLPFindScopes() argument 68 if (!hSLP || !ppcScopes) { in SLPFindScopes() 93 ((slp_handle_impl_t *)hSLP)->internal_call = SLP_TRUE; in SLPFindScopes() 96 hSLP, reply, collate_scopes, in SLPFindScopes() 100 hSLP, NULL, collate_scopes, in SLPFindScopes() 105 ((slp_handle_impl_t *)hSLP)->internal_call = SLP_FALSE; in SLPFindScopes() 110 (void) SAAdvert_for_scopes(hSLP, &stree); in SLPFindScopes() 214 static SLPError SAAdvert_for_scopes(SLPHandle hSLP, void **stree) { in SAAdvert_for_scopes() argument 217 slp_handle_impl_t *hp = (slp_handle_impl_t *)hSLP; in SAAdvert_for_scopes() 255 err = slp_ua_common(hSLP, "", in SAAdvert_for_scopes() [all …]
|
H A D | SLPFindSrvTypes.c | 38 SLPError SLPFindSrvTypes(SLPHandle hSLP, const char *pcNamingAuthority, in SLPFindSrvTypes() argument 43 if (!hSLP || !pcNamingAuthority || !pcScopeList || in SLPFindSrvTypes() 53 if ((err = slp_start_call(hSLP)) != SLP_OK) in SLPFindSrvTypes() 57 err = slp_packSrvTypeRqst(hSLP, pcNamingAuthority); in SLPFindSrvTypes() 60 err = slp_ua_common(hSLP, pcScopeList, in SLPFindSrvTypes() 65 slp_end_call(hSLP); in SLPFindSrvTypes()
|
H A D | SLPFindAttrs.c | 50 SLPError SLPFindAttrs(SLPHandle hSLP, const char *pcURL, const char *pcScope, in SLPFindAttrs() argument 62 if (!hSLP || !pcURL || !pcScope || (!*pcScope && !isSpecial) || in SLPFindAttrs() 73 if ((err = slp_start_call(hSLP)) != SLP_OK) in SLPFindAttrs() 79 err = slp_packSrvRqst(pcURL, "", hSLP); in SLPFindAttrs() 80 ((slp_handle_impl_t *)hSLP)->force_multicast = SLP_TRUE; in SLPFindAttrs() 83 err = slp_packSrvRqst(pcURL, "", hSLP); in SLPFindAttrs() 84 ((slp_handle_impl_t *)hSLP)->force_multicast = SLP_TRUE; in SLPFindAttrs() 89 err = slp_packAttrRqst(hSLP, pcURL, pcAttrIds); in SLPFindAttrs() 93 err = slp_ua_common(hSLP, pcScope, in SLPFindAttrs() 97 slp_end_call(hSLP); in SLPFindAttrs()
|
H A D | SLPOpen.c | 108 void SLPClose(SLPHandle hSLP) { in SLPClose() argument 109 slp_handle_impl_t *hp = (slp_handle_impl_t *)hSLP; in SLPClose() 111 if (!hSLP) { in SLPClose()
|
H A D | SLPFindSrvs.c | 54 SLPError SLPFindSrvs(SLPHandle hSLP, const char *pcServiceType, in SLPFindSrvs() argument 58 slp_handle_impl_t *hp = (slp_handle_impl_t *)hSLP; in SLPFindSrvs() 66 if (!hSLP || !pcServiceType || !pcScope || (!*pcScope && !isSpecial) || in SLPFindSrvs() 77 if ((err = slp_start_call(hSLP)) != SLP_OK) in SLPFindSrvs() 95 err = slp_ua_common(hSLP, pcScope, in SLPFindSrvs() 98 slp_end_call(hSLP); in SLPFindSrvs()
|
H A D | slp_ua_common.c | 48 SLPError slp_ua_common(SLPHandle hSLP, const char *scopes, in slp_ua_common() argument 59 hp = (slp_handle_impl_t *)hSLP; in slp_ua_common()
|