Re: DNS-SD support in gnome-vfs
- From: Murray Cumming <murrayc murrayc com>
- To: Alexander Larsson <alexl redhat com>
- Cc: gnome-vfs-list <gnome-vfs-list gnome org>
- Subject: Re: DNS-SD support in gnome-vfs
- Date: Fri, 16 Jul 2004 20:56:26 +0200
Also, in GnomeVFSDNSSDResolveCallback:
- Is text_raw ASCII or UTF-8?
- Is text_raw_len the count of bytes, or the count of characters?
On Fri, 2004-07-02 at 09:48 +0200, Alexander Larsson wrote:
> On Thu, 2004-07-01 at 16:45, Murray Cumming wrote:
> > I have a question about one of the new functions:
> >
> > GnomeVFSResult
> > gnome_vfs_dns_sd_resolve (GnomeVFSDNSSDResolveHandle **handle,
> > const char *name,
> > const char *type,
> > const char *domain,
> > int timeout,
> > GnomeVFSDNSSDResolveCallback callback,
> > gpointer callback_data,
> > GDestroyNotify callback_data_destroy_func);
> >
> > This function allocates a new GnomeVFSDNSSDResolveHandle, which is assigned
> > to handle and also sent as a parameter to the callback. But shouldn't there
> > be some function to free it afterwards?
> >
> > test-dns-sd.c does not seem to free it at all:
> > http://cvs.gnome.org/viewcvs/gnome-vfs/test/test-dns-sd.c?view=markup
>
> Its automatically freed after the callback is called or after you cancel
> it with gnome_vfs_dns_sd_cancel_resolve(). Basically its used as a
> reference to the ongoing job so that you can cancel it.
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Alexander Larsson Red Hat, Inc
> alexl redhat com alla lysator liu se
> He's a jaded native American rock star from the 'hood. She's a cynical blonde
> single mother with the power to bend men's minds. They fight crime!
>
> _______________________________________________
> gnome-vfs-list mailing list
> gnome-vfs-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-vfs-list
>
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]