[RFC] Add getHostname convenience function to kdelibs? (was: Re: [PATCH] Make the default sending domain configurable)

Thiago Macieira thiagom at wanadoo.fr
Sat Apr 20 20:49:30 BST 2002


Malte Starostik wrote
>What about instead of a bool argument something like this:
>enum HostNameType { FQDN = 0, Short = 1, FallbackToLocalhost = 2 }; and have
> a default of FQDN? Ehm, and maybe a better naming for Fallback... :)

Since Marc Mutz complained it was so complicated, I decided I would make even 
more so :-)

Ok, so I added the options suggested. Here goes another patch.

PS: I'm just jotting down code. I haven't tested it.

-- 
  Thiago Macieira - UFOT Registry number: 1001
 thiagom at mail.com
   ICQ UIN: 1967141  PGP: 0x8F2978D5 and 0xEA9037A5 (PGP 2.x)
     Registered Linux user #65028
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kextsock-gethostname.diff
Type: text/x-diff
Size: 3382 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20020420/c7178944/attachment.diff>


More information about the kde-core-devel mailing list