File: hostname.yo

package info (click to toggle)
bobcat 1.18.1-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 3,920 kB
  • ctags: 575
  • sloc: makefile: 12,973; cpp: 6,284; perl: 401; ansic: 68; sh: 52
file content (57 lines) | stat: -rw-r--r-- 1,961 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
includefile(header.inc)

COMMENT(manpage, section, releasedate, archive, short name)
manpage(FBB::Hostname)(3bobcat)(_CurYrs_)(libbobcat1-dev__CurVers_-x.tar.gz)
                    (Host Info)

manpagename(FBB::Hostname)(Contains name/address info about a host)

manpagesynopsis()
    bf(#include <bobcat/hostname>)nl()
    Linking option: tt(-lbobcat) 

manpagedescription()
    bf(FBB::Hostname) objects inherit from tt(Hostent), and offers information
about a host, like bf(Hostent). Apart from being initialized by a hostname or
host address, they can also be initialized by a bf(FBB::InetAddress)
object. Most of the functionality of an bf(FBB::Hostname) object is available
through its parent-class bf(FBB::Hostent).

includefile(namespace.inc)

manpagesection(INHERITS FROM)
    bf(FBB::Hostent)

manpagesection(CONSTRUCTORS)
    itemization(
    itb(Hostname())
        The default constructor initializes an empty bf(FBB::Hostname) object.
    itb(Hostname((std::string const &host) throw(Errno)))
        This constructor initializes an bf(FBB::Hostname) object from a string
representing the name or dotted decimal address of a host. An bf(FBB::Errno)
object is thrown if the hostname information could not be retrieved.
    itb(Hostname(InetAddress const &inetAddress) throw(Errno)))
        This constructor initializes an bf(FBB::Hostname) object from an
bf(InetAddress) object. An bf(FBB::Errno)
object is thrown if the hostname information could not be retrieved.
    itb(Hostname(Hostname const &other)) 
        The copy constructor is available.
    )

manpagesection(MEMBER FUNCTIONS)
     All members of bf(FBB::Hostent) are available, as bf(FBB::Hostname)
inherits from this class. There are no additional members.

manpagesection(EXAMPLE)
    To do

manpagefiles()
    em(bobcat/hostname) - defines the class interface

manpageseealso()
    bf(bobcat)(7), bf(hostent)(3bobcat)

manpagebugs()
    None Reported.

includefile(trailer.inc)