[libdmapsharing] Another change to libdmapsharing4.spec
- From: W. Michael Petullo <wmpetullo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdmapsharing] Another change to libdmapsharing4.spec
- Date: Wed, 21 Mar 2018 02:52:37 +0000 (UTC)
commit 0b854bbacf47219225bd2d67514cbdccfe5874fc
Author: W. Michael Petullo <mike flyn org>
Date: Tue Mar 20 22:52:25 2018 -0400
Another change to libdmapsharing4.spec
Signed-off-by: W. Michael Petullo <mike flyn org>
distro/libdmapsharing4.spec | 8 +-
libdmapsharing/dmap-share-private.h | 130 +++++++++++++++++++++++++++++++++++
2 files changed, 134 insertions(+), 4 deletions(-)
---
diff --git a/distro/libdmapsharing4.spec b/distro/libdmapsharing4.spec
index d0ec862..6968e39 100644
--- a/distro/libdmapsharing4.spec
+++ b/distro/libdmapsharing4.spec
@@ -51,7 +51,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libdmapsharing-4.0.la
%files
%{_libdir}/libdmapsharing-4.0.so.*
-%{_libdir}/girepository-1.0/
+%dir %{_libdir}/girepository-1.0/
%{_libdir}/girepository-1.0/Dmap-4.0.typelib
%doc AUTHORS ChangeLog README
@@ -62,12 +62,12 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libdmapsharing-4.0.la
%{_includedir}/libdmapsharing-4.0/
%{_libdir}/libdmapsharing-4.0.so
%{_datadir}/gtk-doc/html/libdmapsharing-4.0
-%{_datadir}/gir-1.0/
+%dir %{_datadir}/gir-1.0/
%{_datadir}/gir-1.0/Dmap-4.0.gir
%files vala
-%{_datadir}/vala/
-%{_datadir}/vala/vapi/
+%dir %{_datadir}/vala/
+%dir %{_datadir}/vala/vapi/
%{_datadir}/vala/vapi/libdmapsharing-4.0.vapi
%changelog
diff --git a/libdmapsharing/dmap-share-private.h b/libdmapsharing/dmap-share-private.h
new file mode 100644
index 0000000..5efa034
--- /dev/null
+++ b/libdmapsharing/dmap-share-private.h
@@ -0,0 +1,130 @@
+/* Header for DMAP (e.g., iTunes Music or iPhoto Picture) sharing
+ *
+ * Copyright (C) 2005 Charles Schmidt <cschmidt2 emich edu>
+ *
+ * Modifications Copyright (C) 2008 W. Michael Petullo <mike flyn org>
+ *
+ * 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.1 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 Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+#ifndef _DMAP_SHARE_PRIVATE_H
+#define _DMAP_SHARE_PRIVATE_H
+
+#include <glib-object.h>
+
+#include <libsoup/soup.h>
+#include <libsoup/soup-address.h>
+#include <libsoup/soup-message.h>
+#include <libsoup/soup-uri.h>
+#include <libsoup/soup-server.h>
+
+#include <libdmapsharing/dmap-share.h>
+#include <libdmapsharing/dmap-mdns-publisher.h>
+#include <libdmapsharing/dmap-container-record.h>
+
+G_BEGIN_DECLS
+
+/* Non-virtual methods */
+guint dmap_share_get_auth_method (DmapShare * share);
+
+guint dmap_share_get_revision_number (DmapShare * share);
+
+gboolean dmap_share_get_revision_number_from_query (GHashTable * query,
+ guint * number);
+
+gboolean dmap_share_session_id_validate (DmapShare * share,
+ SoupClientContext * context,
+ SoupMessage * msg,
+ GHashTable * query, guint32 * id);
+
+guint32 dmap_share_session_id_create (DmapShare * share,
+ SoupClientContext * ctx);
+
+void dmap_share_session_id_remove (DmapShare * share,
+ SoupClientContext * ctx, guint32 id);
+
+gboolean dmap_share_client_requested (DmapBits bits, gint field);
+
+gboolean dmap_share_uri_is_local (const char *text_uri);
+
+gboolean dmap_share_soup_auth_filter (SoupAuthDomain * auth_domain,
+ SoupMessage * msg, gpointer user_data);
+
+void dmap_share_message_set_from_dmap_structure (DmapShare * share,
+ SoupMessage * message,
+ GNode * structure);
+
+DmapBits dmap_share_parse_meta (GHashTable * query,
+ struct DmapMetaDataMap *mdm);
+
+DmapBits dmap_share_parse_meta_str (const char *attrs,
+ struct DmapMetaDataMap *mdm);
+
+void dmap_share_add_playlist_to_mlcl (gpointer id,
+ DmapContainerRecord * record,
+ gpointer mb);
+
+GSList *dmap_share_build_filter (gchar * filterstr);
+
+/* Virtual methods (libsoup callbacks with default implementation): */
+void dmap_share_content_codes (DmapShare * share,
+ SoupServer * server,
+ SoupMessage * message,
+ const char *path,
+ GHashTable * query,
+ SoupClientContext * context);
+
+void dmap_share_login (DmapShare * share,
+ SoupServer * server,
+ SoupMessage * message,
+ const char *path,
+ GHashTable * query, SoupClientContext * context);
+
+void dmap_share_logout (DmapShare * share,
+ SoupServer * server,
+ SoupMessage * message,
+ const char *path,
+ GHashTable * query, SoupClientContext * context);
+
+void dmap_share_update (DmapShare * share,
+ SoupServer * server,
+ SoupMessage * message,
+ const char *path,
+ GHashTable * query, SoupClientContext * context);
+
+void dmap_share_databases (DmapShare * share,
+ SoupServer * server,
+ SoupMessage * message,
+ const char *path,
+ GHashTable * query, SoupClientContext * context);
+
+void dmap_share_ctrl_int (DmapShare * share,
+ SoupServer * server,
+ SoupMessage * message,
+ const char *path,
+ GHashTable * query, SoupClientContext * context);
+
+/* Virtual methods: MDNS callbacks */
+void dmap_share_published (DmapShare * share,
+ DmapMdnsPublisher * publisher, const char *name);
+
+void dmap_share_name_collision (DmapShare * share,
+ DmapMdnsPublisher * publisher,
+ const char *name);
+
+#endif /* _DMAP_SHARE_PRIVATE_H */
+
+G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]