diff options
Diffstat (limited to 'src/Net-ICal-Libical/netical.i')
-rw-r--r-- | src/Net-ICal-Libical/netical.i | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/src/Net-ICal-Libical/netical.i b/src/Net-ICal-Libical/netical.i index e211ee88..7c469b8f 100644 --- a/src/Net-ICal-Libical/netical.i +++ b/src/Net-ICal-Libical/netical.i @@ -1,18 +1,9 @@ /*====================================================================== FILE: ical.i - (C) COPYRIGHT 1999 Eric Busboom <eric@civicknowledge.com> + SPDX-FileCopyrightText: 1999 Eric Busboom <eric@civicknowledge.com> - This program is free software; you can redistribute it and/or modify - it under the terms of either: - - The LGPL as published by the Free Software Foundation, version - 2.1, available at: https://www.gnu.org/licenses/lgpl-2.1.html - - Or: - - The Mozilla Public License Version 2.0. You may obtain a copy of - the License at https://www.mozilla.org/MPL/ + SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0 The original author is Eric Busboom @@ -39,7 +30,7 @@ icalcomponent* icalparser_parse_string(char* str); icalcomponent* icalcomponent_new(icalcomponent_kind kind); -icalcomponent* icalcomponent_new_clone(icalcomponent* component); +icalcomponent* icalcomponent_clone(icalcomponent* component); icalcomponent* icalcomponent_new_from_string(char* str); char* icalcomponent_as_ical_string(icalcomponent* component); @@ -119,7 +110,7 @@ typedef enum icalererorstate { ICAL_ERROR_NONFATAL, /* Fatal */ ICAL_ERROR_DEFAULT, /* Use the value of icalerror_errors_are_fatal*/ ICAL_ERROR_UNKNOWN /* Asked state for an unknown error type */ -} icalerrorstate ; +} icalerrorstate; void icalerror_set_error_state( icalerrorenum error, icalerrorstate); icalerrorstate icalerror_get_error_state( icalerrorenum error); @@ -162,7 +153,7 @@ icalcomponent* icallangbind_get_next_component(icalcomponent *c, /* Returns a string that can be evaluated in perl or python to - generated a hash that holds the property's name, value and + generate a hash that holds the property's name, value and parameters. Sep is the hash separation string, "=>" for perl and ":" for python */ const char* icallangbind_property_eval_string(icalproperty* prop, const char* sep); |