summaryrefslogtreecommitdiff
path: root/libsoup/soup-date-utils-private.h
diff options
context:
space:
mode:
authorPatrick Griffis <pgriffis@igalia.com>2020-08-28 17:16:15 -0500
committerPatrick Griffis <pgriffis@igalia.com>2020-09-19 15:41:25 -0700
commit4596b4ec4c14a0e473e3fa0c3f41a0107d846cc8 (patch)
treeb99525eaa9f338a52eeab85df16fd78df5219766 /libsoup/soup-date-utils-private.h
parent4217855114d1357eb16c5cf663b2fa09a6e6bd3c (diff)
downloadlibsoup-4596b4ec4c14a0e473e3fa0c3f41a0107d846cc8.tar.gz
Replace SoupDate with GDateTime
Diffstat (limited to 'libsoup/soup-date-utils-private.h')
-rw-r--r--libsoup/soup-date-utils-private.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/libsoup/soup-date-utils-private.h b/libsoup/soup-date-utils-private.h
new file mode 100644
index 00000000..568b11a3
--- /dev/null
+++ b/libsoup/soup-date-utils-private.h
@@ -0,0 +1,30 @@
+/*
+ * Copyright (C) 2020 Igalia, S.L.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library 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
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#pragma once
+
+#include "soup-types.h"
+
+G_BEGIN_DECLS
+
+gboolean soup_date_time_is_past (GDateTime *date);
+
+G_END_DECLS
+
+