/* * Copyright (C) 2020, Red Hat, Inc * * 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 Street, Fifth Floor, * Boston, MA 02110-1301, USA. * * Author: Carlos Garnacho */ #ifndef TRACKER_SERIALIZER_H #define TRACKER_SERIALIZER_H #include #include #define TRACKER_TYPE_SERIALIZER (tracker_serializer_get_type()) G_DECLARE_DERIVABLE_TYPE (TrackerSerializer, tracker_serializer, TRACKER, SERIALIZER, GInputStream) GInputStream * tracker_serializer_new (TrackerSparqlCursor *cursor, TrackerNamespaceManager *namespaces, TrackerSerializerFormat format); TrackerSparqlCursor * tracker_serializer_get_cursor (TrackerSerializer *serializer); TrackerNamespaceManager * tracker_serializer_get_namespaces (TrackerSerializer *serializer); #endif /* TRACKER_SERIALIZER_H */