summaryrefslogtreecommitdiff
path: root/src/libical/icalperiod.h
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2015-05-05 12:19:26 -0400
committerAllen Winter <allen.winter@kdab.com>2015-05-05 12:19:26 -0400
commitc3460615c86a92f85446afd0bf280bfe1cacefe2 (patch)
treec5b7739b84480704a552ee803df4d4513178e6c4 /src/libical/icalperiod.h
parentdb7ff8902f1a682af577119315ce712567b50f19 (diff)
downloadlibical-git-c3460615c86a92f85446afd0bf280bfe1cacefe2.tar.gz
hide all symbols by default. make symbols visible only as needed.
and other minor cleaning
Diffstat (limited to 'src/libical/icalperiod.h')
-rw-r--r--src/libical/icalperiod.h18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/libical/icalperiod.h b/src/libical/icalperiod.h
index 4a8efd74..a06c49de 100644
--- a/src/libical/icalperiod.h
+++ b/src/libical/icalperiod.h
@@ -1,12 +1,7 @@
-/* -*- Mode: C -*- */
/*======================================================================
FILE: icalperiod.h
CREATOR: eric 26 Jan 2001
-
- $Id: icalperiod.h,v 1.6 2008-01-15 23:17:41 dothebart Exp $
- $Locker: $
-
(C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
http://www.softwarestudio.org
@@ -14,22 +9,21 @@
it under the terms of either:
The LGPL as published by the Free Software Foundation, version
- 2.1, available at: http://www.fsf.org/copyleft/lesser.html
+ 2.1, available at: http://www.gnu.org/licenses/lgpl-2.1.html
- Or:
+ Or:
The Mozilla Public License Version 1.0. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
The Original Code is eric. The Initial Developer of the Original
Code is Eric Busboom
-
-
======================================================================*/
#ifndef ICALPERIOD_H
#define ICALPERIOD_H
+#include "libical_ical_export.h"
#include "icalduration.h"
#include "icaltime.h"
@@ -40,12 +34,12 @@ struct icalperiodtype
struct icaldurationtype duration;
};
-struct icalperiodtype icalperiodtype_from_string (const char* str);
+LIBICAL_ICAL_EXPORT struct icalperiodtype icalperiodtype_from_string (const char* str);
-const char* icalperiodtype_as_ical_string(struct icalperiodtype p);
+LIBICAL_ICAL_EXPORT const char* icalperiodtype_as_ical_string(struct icalperiodtype p);
char* icalperiodtype_as_ical_string_r(struct icalperiodtype p);
-struct icalperiodtype icalperiodtype_null_period(void);
+LIBICAL_ICAL_EXPORT struct icalperiodtype icalperiodtype_null_period(void);
int icalperiodtype_is_null_period(struct icalperiodtype p);