1 /* 2 * Copyright (C) 2019 Red Hat Inc. 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Lesser General Public 6 * License as published by the Free Software Foundation; either 7 * version 2.1 of the License, or (at your option) any later version. 8 * 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Lesser General Public License for more details. 13 * 14 * You should have received a copy of the GNU Lesser General Public 15 * License along with this library; if not, write to the 16 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * Boston, MA 02110-1301, USA. 18 * 19 * Author: Carlos Garnacho <carlosg@gnome.org> 20 */ 21 22 #ifndef __TRACKER_NOTIFIER_PRIVATE_H__ 23 #define __TRACKER_NOTIFIER_PRIVATE_H__ 24 25 #include "tracker-notifier.h" 26 27 typedef struct _TrackerNotifierEventCache TrackerNotifierEventCache; 28 29 TrackerNotifierEventCache * _tracker_notifier_event_cache_new (TrackerNotifier *notifier, 30 const gchar *graph); 31 void _tracker_notifier_event_cache_free (TrackerNotifierEventCache *event_cache); 32 33 gpointer _tracker_notifier_get_connection (TrackerNotifier *notifier); 34 35 void 36 _tracker_notifier_event_cache_push_event (TrackerNotifierEventCache *cache, 37 gint64 id, 38 TrackerNotifierEventType event_type); 39 40 void _tracker_notifier_event_cache_flush_events (TrackerNotifierEventCache *cache); 41 42 #endif /* __TRACKER_NOTIFIER_PRIVATE_H__ */ 43