---
name: "shevek_avahi_browser"
section: "3"
platform: "linux"
package: "libshevek-doc"
version: "1.4-1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/shevek_avahi_browser"
---

# shevek\_avahi\_browser(3)

Class for browsing other hosts.

## NAME

shevek::avahi::browser -

Class for browsing other hosts.

## SYNOPSIS

`#include <avahi.hh>`

Inherits **shevek::refbase**.

### Classes

struct **details**\
 *Details about a discovered service. These are internally created and may be examined by the application.*  struct **owner**\
 *Information about a discovered server.*

### Public Types

typedef std::set\< **details** \> **details\_list**\
 *Container class for a list of details.*  typedef std::map\
 \< Glib::ustring, **owner** \> **list**"\
 *Container class for a list of owners.*

### Public Member Functions

**list** const & **get\_list** ()\
 *Access the list of owners.*  sigc::signal1\< void, \
 Glib::ustring const & \> **signal\_changed** ()"\
 *Signal to be notified when the list changes.*  **~browser** ()\
 *The destructor cleans everything up.*

### Static Public Member Functions

static Glib::RefPtr\< **browser** \> **create** (Glib::ustring const &protocol)\
 *Create a browser class without an existing avahi object. Don't use this if you have an avahi object; use* **avahi::create\_browser** *instead.*  static **list** **get\_list\_block** (Glib::ustring const &protocol, Glib::ustring const &name=Glib::ustring())\
 *Synchronously get a list of owners. When using this, the servers are not monitored, so you will not be notified of any changes.*

### Friends

class **avahi**\

### Additional Inherited Members

## Detailed Description

Class for browsing other hosts.

## Author

Generated automatically by Doxygen for libshevek from the source code.
