Re: DNS-SD support in gnome-vfs

Thanks. One more thing:
Should we g_free the GHashTable and char*s returned by 

On Fri, 2004-07-16 at 19:03 +0200, Alexander Larsson wrote:
> On Fri, 2004-07-16 at 20:56, Murray Cumming wrote:
> > Also, in GnomeVFSDNSSDResolveCallback:
> > - Is text_raw ASCII or UTF-8?
> > - Is text_raw_len the count of bytes, or the count of characters?
> text_raw it the DNS record in raw form. Its not a c-string, but rather a
> sequence of pascal-like strings. See the DNS-SD RFC for the details. For
> the case of e.g. a c++ binding, consider it an opaque memory area with
> length given in bytes. 
> If you want the text record parsed, use the "text" hashtable.
> Most other strings in the API are UTF-8 though (the DNS-SD RFC defines
> them as such), except type, which needs to be one of the registered
> types on
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>  Alexander Larsson                                            Red Hat, Inc 
>                    alexl redhat com    alla lysator liu se 
> He's a maverick vegetarian sorceror whom everyone believes is mad. She's an 
> elegant French-Canadian lawyer on the trail of a serial killer. They fight 
> crime! 
Murray Cumming
murrayc murrayc com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]