SLPHandle
static SLPBoolean aggregate_attrs(SLPHandle h, const char *attrs_in,
static SLPBoolean foreach_server(SLPHandle hin, const char *u,
SLPHandle h = cfg->h; /* an open handle */
SLPHandle h = NULL;
SLPHandle persrv_h = NULL;
static SLPBoolean foreach_context(SLPHandle h, const char *attrs_in,
SLPHandle h = NULL;
SLPHandle h; /* An open SLPHandle */
cont = cb((SLPHandle) hp, pcAttrList, errCode, cookie);
cont = cb((SLPHandle) hp, attrs, errCode, cookie);
cont = cb((SLPHandle) hp, attrs, SLP_OK, cookie);
SLPError SLPFindAttrs(SLPHandle hSLP, const char *pcURL, const char *pcScope,
cont = cb((SLPHandle) hp, pcSrvTypes, errCode, cookie);
SLPError SLPFindSrvTypes(SLPHandle hSLP, const char *pcNamingAuthority,
(SLPHandle) hp,
cont = cb((SLPHandle)hp, surl, 0, errCode, cookie);
cont = cb((SLPHandle)hp, surl, 0, SLP_OK, cookie);
SLPHandle handle;
static void traverse_surls(SLPHandle, SLPSrvURLCallback, void *, void *);
static void traverse_surls(SLPHandle h, SLPSrvURLCallback cb,
SLPError SLPFindSrvs(SLPHandle hSLP, const char *pcServiceType,
static SLPBoolean refresh_interval_cb(SLPHandle, const char *,
static SLPBoolean refresh_interval_cb(SLPHandle h, const char *attrs,
void SLPClose(SLPHandle hSLP) {
SLPError SLPOpen(const char *pcLang, SLPBoolean isAsync, SLPHandle *phSLP) {
SLPError SLPReg(SLPHandle hSLP, const char *pcSrvURL,
SLPError SLPDereg(SLPHandle hSLP, const char *pURL,
SLPError SLPDelAttrs(SLPHandle hSLP, const char *pURL,
static SLPBoolean saadvert_callback(SLPHandle hp, char *scopes,
static SLPError SAAdvert_for_scopes(SLPHandle hSLP, void **stree) {
static SLPBoolean collate_scopes(SLPHandle h, const char *u,
typedef SLPBoolean SLPScopeCallback(SLPHandle, const char *, SLPError, void *);
static SLPError SAAdvert_for_scopes(SLPHandle, void **);
SLPError SLPFindScopes(SLPHandle hSLP, char **ppcScopes) {
extern SLPError slp_ua_common(SLPHandle, const char *, SLPGenericAppCB, void *,
SLPHandle hSLP, /* operation SLPHandle */
SLPHandle hSLP, /* operation SLPHandle */
SLPHandle hSLP, /* operation SLPHandle */
SLPHandle hSLP, /* operation SLPHandle */
SLPHandle *phSLP /* pointer to resulting handle */
SLPHandle hSLP /* handle to be closed */
SLPHandle hSLP, /* operation SLPHandle */
SLPHandle hSLP, /* operation SLPHandle */
SLPHandle hSLP, /* operation SLPHandle */
SLPHandle hSLP, /* operation SLPHandle */
SLPHandle hSLP, /* operation SLPHandle */
SLPHandle hSLP, /* operation SLPHandle */
SLPHandle hSLP, /* operation SLPHandle */
static SLPBoolean collect_DAs(SLPHandle h, const char *u,
SLPError slp_ua_common(SLPHandle hSLP, const char *scopes,