libgnomevfsmm  2.26.0
Classes | Typedefs | Functions
Gnome::Vfs::DnsSd Namespace Reference

Classes

class  Service
 

Typedefs

typedef struct GnomeVFSDNSSDBrowseHandle BrowseHandle
 
typedef struct GnomeVFSDNSSDResolveHandle ResolveHandle
 
typedef sigc::slot< void, BrowseHandle *, GnomeVFSDNSSDServiceStatus, const Service & > BrowseSlot
 For instance, void on_browse(BrowseHandle* handle, GnomeVFSDNSSDServiceStatus status, const Service& service);. More...
 
typedef std::map< Glib::ustring, Glib::ustring > ServiceOptions
 
typedef sigc::slot< void, ResolveHandle *, Result, const Service &, const Glib::ustring &, int, const ServiceOptions & > ResolveSlot
 For instance, void on_resolve(ResolveHandle* handle, Result result, const Service& service, const Glib::ustring& host, int port, const ServiceOptions& options, int text_raw_len, const char *text_raw);. More...
 
typedef Glib::ListHandle< ServiceListHandleServices
 
typedef Glib::ListHandle< Glib::ustring > ListHandleStrings
 

Functions

BrowseHandlebrowse (const Glib::ustring &domain, const Glib::ustring &type, const BrowseSlot &slot)
 
void stop_browse (BrowseHandle *handle)
 
ResolveHandleresolve (const Glib::ustring &name, const Glib::ustring &type, const Glib::ustring &domain, int timeout, const ResolveSlot &slot)
 
void cancel_resolve (ResolveHandle *handle)
 
void browse_sync (const Glib::ustring &domain, const Glib::ustring &type, int timeout_msec, std::list< Service > &services)
 
void resolve_sync (const Glib::ustring &name, const Glib::ustring &type, const Glib::ustring &domain, int timeout_msec, Glib::ustring &host, int &port, ServiceOptions &options)
 
ListHandleStrings list_browse_domains_sync (const Glib::ustring &domain, int timeout_msec)
 
ListHandleStrings get_default_browse_domains ()
 

Typedef Documentation

typedef struct GnomeVFSDNSSDBrowseHandle Gnome::Vfs::DnsSd::BrowseHandle
typedef sigc::slot<void, BrowseHandle*, GnomeVFSDNSSDServiceStatus, const Service&> Gnome::Vfs::DnsSd::BrowseSlot

For instance, void on_browse(BrowseHandle* handle, GnomeVFSDNSSDServiceStatus status, const Service& service);.

typedef Glib::ListHandle<Glib::ustring> Gnome::Vfs::DnsSd::ListHandleStrings
typedef struct GnomeVFSDNSSDResolveHandle Gnome::Vfs::DnsSd::ResolveHandle
typedef sigc::slot<void, ResolveHandle*, Result, const Service&, const Glib::ustring&, int, const ServiceOptions&> Gnome::Vfs::DnsSd::ResolveSlot

For instance, void on_resolve(ResolveHandle* handle, Result result, const Service& service, const Glib::ustring& host, int port, const ServiceOptions& options, int text_raw_len, const char *text_raw);.

typedef std::map<Glib::ustring, Glib::ustring> Gnome::Vfs::DnsSd::ServiceOptions

Function Documentation

BrowseHandle* Gnome::Vfs::DnsSd::browse ( const Glib::ustring &  domain,
const Glib::ustring &  type,
const BrowseSlot slot 
)
void Gnome::Vfs::DnsSd::browse_sync ( const Glib::ustring &  domain,
const Glib::ustring &  type,
int  timeout_msec,
std::list< Service > &  services 
)
void Gnome::Vfs::DnsSd::cancel_resolve ( ResolveHandle handle)
ListHandleStrings Gnome::Vfs::DnsSd::get_default_browse_domains ( )
ListHandleStrings Gnome::Vfs::DnsSd::list_browse_domains_sync ( const Glib::ustring &  domain,
int  timeout_msec 
)
ResolveHandle* Gnome::Vfs::DnsSd::resolve ( const Glib::ustring &  name,
const Glib::ustring &  type,
const Glib::ustring &  domain,
int  timeout,
const ResolveSlot slot 
)
void Gnome::Vfs::DnsSd::resolve_sync ( const Glib::ustring &  name,
const Glib::ustring &  type,
const Glib::ustring &  domain,
int  timeout_msec,
Glib::ustring &  host,
int &  port,
ServiceOptions options 
)
void Gnome::Vfs::DnsSd::stop_browse ( BrowseHandle handle)