Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

dns-sd.h File Reference

#include <libgnomevfsmm/enums.h>
#include <glibmm.h>
#include <libgnomevfs/gnome-vfs-dns-sd.h>

Go to the source code of this file.

Namespaces

namespace  Gnome
namespace  Gnome::Vfs
namespace  Gnome::Vfs::DnsSd

Classes

class  Gnome::Vfs::DnsSd::Service

Typedefs

typedef GnomeVFSDNSSDBrowseHandle BrowseHandle
typedef GnomeVFSDNSSDResolveHandle ResolveHandle
typedef sigc::slot< void,
BrowseHandle *, GnomeVFSDNSSDServiceStatus,
const Service & > 
BrowseSlot
 For instance, void on_browse(BrowseHandle* handle, GnomeVFSDNSSDServiceStatus status, const Service& service);.
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);.
typedef Glib::ListHandle<
Service > 
ListHandleServices
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<Service> Gnome::Vfs::DnsSd::ListHandleServices
 

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* browse const Glib::ustring &  domain,
const Glib::ustring &  type,
const BrowseSlot slot
 

void browse_sync const Glib::ustring &  domain,
const Glib::ustring &  type,
int  timeout_msec,
std::list< Service > &  services
 

void cancel_resolve ResolveHandle handle  ) 
 

ListHandleStrings get_default_browse_domains  ) 
 

ListHandleStrings list_browse_domains_sync const Glib::ustring &  domain,
int  timeout_msec
 

ResolveHandle* resolve const Glib::ustring &  name,
const Glib::ustring &  type,
const Glib::ustring &  domain,
int  timeout,
const ResolveSlot slot
 

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
 

void stop_browse BrowseHandle handle  ) 
 


Generated on Mon Mar 7 11:19:50 2005 for libgnomevfsmm by  doxygen 1.3.9.1