Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

shevek_avahi(3) [debian man page]

shevek::avahi(3)					     Library Functions Manual						  shevek::avahi(3)

NAME
shevek::avahi - Serve and browse the local network using avahi. SYNOPSIS
#include <avahi.hh> Inherits shevek::refbase. Classes class browser Class for browsing other hosts. Public Member Functions void publish (Glib::ustring const &protocol, int port) Publish a service on a port. Glib::RefPtr< browser > create_browser (Glib::ustring const &protocol) Create a browser and populate it with a list of available hosts for the requested protocol. ~avahi () Unpublish all ports and free all structures associated with the object. Static Public Member Functions static Glib::RefPtr< avahi > create (Glib::ustring const &name=Glib::ustring()) Create an avahi object for serving and/or browsing. Detailed Description Serve and browse the local network using avahi. Easy to use interface for serving and browsing avahi-supporting hosts. Note that it is not as configurable as using libavahi directly. Member Function Documentation Glib::RefPtr< avahi::browser > shevek::avahi::create_browser (Glib::ustring const &protocol) [inline] Create a browser and populate it with a list of available hosts for the requested protocol. The browser must not contain a leading underscore, and must not contain the protocol specification. The actual requested port is _NAME._tcp. It is not possible to browse udp with this class. void shevek::avahi::publish (Glib::ustring const &protocol, intport) Publish a service on a port. The protocol is the name of the protocol, without leading underscore and without protocol specification. The published port is _NAME._tcp. It is not possible to publish over udp with this class. Note that you must separately set up a server to listen on the port. Author Generated automatically by Doxygen for libshevek from the source code. libshevek Fri May 11 2012 shevek::avahi(3)

Check Out this Related Man Page

shevek::args::option(3) 				     Library Functions Manual					   shevek::args::option(3)

NAME
shevek::args::option - Define an option which can be given to the program. SYNOPSIS
#include <args.hh> Public Types typedef sigc::slot1< void, bool > callback0 Callback for options without an argument. typedef sigc::slot2< void, bool, Glib::ustring const & > callback1" Callback for options with an argument. Public Member Functions option (char shortopt, Glib::ustring const &longopt, Glib::ustring const &help_line, callback0 handle, bool *used=NULL) Option has no argument and calls a function. option (char shortopt, Glib::ustring const &longopt, Glib::ustring const &help_line, bool have_default, callback1 handle, Glib::ustring default_val=Glib::ustring(), bool *used=NULL) Option has mandatory argument and calls a function. option (char shortopt, Glib::ustring const &longopt, Glib::ustring const &help_line, callback0 handle0, callback1 handle1, bool *used=NULL) Option has optional argument and calls respective function. option (char shortopt, Glib::ustring const &longopt, Glib::ustring const &help_line, bool &var, bool value, bool *used=NULL) Set the value of a boolean variable. option (char shortopt, Glib::ustring const &longopt, Glib::ustring const &help_line, bool have_default, Glib::ustring &var, bool *used=NULL) Set the value of a string variable (utf-8). option (char shortopt, Glib::ustring const &longopt, Glib::ustring const &help_line, bool have_default, std::string &var, bool *used=NULL) Set the value of a string variable. option (char shortopt, Glib::ustring const &longopt, Glib::ustring const &help_line, bool have_default, unsigned long &var, bool *used=NULL) Set the value of an integer variable. option (char shortopt, Glib::ustring const &longopt, Glib::ustring const &help_line, bool have_default, long &var, bool *used=NULL) Set the value of an integer variable. option (char shortopt, Glib::ustring const &longopt, Glib::ustring const &help_line, bool have_default, unsigned &var, bool *used=NULL) Set the value of an integer variable. option (char shortopt, Glib::ustring const &longopt, Glib::ustring const &help_line, bool have_default, int &var, bool *used=NULL) Set the value of an integer variable. option (char shortopt, Glib::ustring const &longopt, Glib::ustring const &help_line, bool have_default, unsigned short &var, bool *used=NULL) Set the value of an integer variable. option (char shortopt, Glib::ustring const &longopt, Glib::ustring const &help_line, bool have_default, short &var, bool *used=NULL) Set the value of an integer variable. option (char shortopt, Glib::ustring const &longopt, Glib::ustring const &help_line, bool have_default, float &var, bool *used=NULL) Set the value of a floating point variable. option (char shortopt, Glib::ustring const &longopt, Glib::ustring const &help_line, bool have_default, double &var, bool *used=NULL) Set the value of a floating point variable. template<typename _T > option (char shortopt, Glib::ustring const &longopt, Glib::ustring const &help_line, std::list< _T > &list) Friends class args Detailed Description Define an option which can be given to the program. Constructor &; Destructor Documentation template<typename _T > shevek::args::option::option (charshortopt, Glib::ustring const &longopt, Glib::ustring const &help_line, std::list< _T > &list) Fill a list of variables. An item is appended to the list for each time the option is specified. Author Generated automatically by Doxygen for libshevek from the source code. libshevek Fri May 11 2012 shevek::args::option(3)
Man Page