diff options
author | Alexander Larsson <alexl@redhat.com> | 2008-02-22 14:36:54 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2008-02-22 14:36:54 +0000 |
commit | a4621dcfa1ce0343e7ce88fdac5b957ddefea75d (patch) | |
tree | 0378ffdcaffa07b13f4c196e0b55b8ce0ba1e69a /daemon/gvfsbackenddnssd.h | |
parent | 06e0fe76fc9e3308f636bd661cd5af27f60a3e19 (diff) | |
download | gvfs-a4621dcfa1ce0343e7ce88fdac5b957ddefea75d.tar.gz |
Landed initial version of dns-sd backend.
2008-02-22 Alexander Larsson <alexl@redhat.com>
* configure.ac:
* daemon/Makefile.am:
* daemon/dns-sd.mount.in:
* daemon/gvfsbackenddnssd.[ch]:
Landed initial version of dns-sd backend.
svn path=/trunk/; revision=1334
Diffstat (limited to 'daemon/gvfsbackenddnssd.h')
-rw-r--r-- | daemon/gvfsbackenddnssd.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/daemon/gvfsbackenddnssd.h b/daemon/gvfsbackenddnssd.h new file mode 100644 index 00000000..8648fc29 --- /dev/null +++ b/daemon/gvfsbackenddnssd.h @@ -0,0 +1,50 @@ +/* gvfs-backend-dns_sd.h - GIO - GLib Input, Output and Streaming Library + * Original work, Copyright (C) 2003 Red Hat, Inc + * GVFS port, Copyright (c) 2008 Andrew Walton. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with the Gnome Library; see the file COPYING.LIB. If not, + * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + * + * Authors: + * Alexander Larsson <alexl@redhat.com> + */ + +#ifndef __G_VFS_BACKEND_DNS_SD_H__ +#define __G_VFS_BACKEND_DNS_SD_H__ + +#include <gvfsbackend.h> +#include <gmountspec.h> + +G_BEGIN_DECLS + +#define G_VFS_TYPE_BACKEND_DNS_SD (g_vfs_backend_dns_sd_get_type ()) +#define G_VFS_BACKEND_DNS_SD(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_VFS_TYPE_BACKEND_DNS_SD, GVfsBackendDnsSd)) +#define G_VFS_BACKEND_DNS_SD_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_VFS_TYPE_BACKEND_DNS_SD, GVfsBackendDnsSdClass)) +#define G_VFS_IS_BACKEND_DNS_SD(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_VFS_TYPE_BACKEND_DNS_SD)) +#define G_VFS_IS_BACKEND_DNS_SD_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_VFS_TYPE_BACKEND_DNS_SD)) +#define G_VFS_BACKEND_DNS_SD_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_VFS_TYPE_BACKEND_DNS_SD, GVfsBackendDnsSdClass)) + +typedef struct _GVfsBackendDnsSdClass GVfsBackendDnsSdClass; + +struct _GVfsBackendDnsSdClass +{ + GVfsBackendClass parent_class; +}; + +GType g_vfs_backend_dns_sd_get_type (void) G_GNUC_CONST; + +G_END_DECLS + +#endif /* __G_VFS_BACKEND_DNS_SD_H__ */ |