SlpAgent.cc File Reference

#include <slp.h>
#include <dlfcn.h>
#include "SlpAgent.h"
#include "slp_debug.h"

Functions

const YCPList splitAttrstring (const YCPString &s, const YCPString &c)
const YCPList splitstring (const YCPString &s, const YCPString &c)
char * CallSLPGetPeer (SLPHandle hSLP, const char *pcURL)
SLPBoolean MySLPSrvURLCallback (SLPHandle hslp, const char *srvurl, unsigned short lifetime, SLPError errcode, void *cookie)
SLPBoolean MySLPSrvTypeCallback (SLPHandle hslp, const char *pcSrvTypes, SLPError errcode, void *cookie)
SLPBoolean MyAttrCallback (SLPHandle hslp, const char *attrlist, SLPError errcode, void *cookie)
YCPValue SlpAgentFindAttrs (const char *pcURLOrServiceType, const char *pcScopeList, const char *pcAttrIds)
YCPValue SlpAgentUnicastFindAttrs (const char *pcURLOrServiceType, const char *pcScopeList, const char *pcAttrIds, const char *ip)
YCPValue SlpAgentFindSrvs (const char *pcServiceType)
YCPValue SlpAgentFindSrvTypes (const char *pcNamingAuthority)
const char * getMapValue (const YCPMap map, const string key)
void MySLPRegReport (SLPHandle hslp, SLPError errcode, void *cookie)

Variables

YCPList Result

Function Documentation

char* CallSLPGetPeer ( SLPHandle  hSLP,
const char *  pcURL 
)

const char* getMapValue ( const YCPMap  map,
const string  key 
)

SLPBoolean MyAttrCallback ( SLPHandle  hslp,
const char *  attrlist,
SLPError  errcode,
void *  cookie 
)

void MySLPRegReport ( SLPHandle  hslp,
SLPError  errcode,
void *  cookie 
)

SLPBoolean MySLPSrvTypeCallback ( SLPHandle  hslp,
const char *  pcSrvTypes,
SLPError  errcode,
void *  cookie 
)

SLPBoolean MySLPSrvURLCallback ( SLPHandle  hslp,
const char *  srvurl,
unsigned short  lifetime,
SLPError  errcode,
void *  cookie 
)

YCPValue SlpAgentFindAttrs ( const char *  pcURLOrServiceType,
const char *  pcScopeList,
const char *  pcAttrIds 
)

YCPValue SlpAgentFindSrvs ( const char *  pcServiceType  ) 

YCPValue SlpAgentFindSrvTypes ( const char *  pcNamingAuthority  ) 

YCPValue SlpAgentUnicastFindAttrs ( const char *  pcURLOrServiceType,
const char *  pcScopeList,
const char *  pcAttrIds,
const char *  ip 
)

Perform an unicast query for attributes Comparing to SlpAgentFindAttrs, additional parameter with IP adress needs to be provided.

const YCPList splitAttrstring ( const YCPString s,
const YCPString c 
)

const YCPList splitstring ( const YCPString s,
const YCPString c 
)


Variable Documentation

YCPList Result


Generated on Tue Sep 25 20:28:37 2007 for yast2-slp by  doxygen 1.5.3