diff options
Diffstat (limited to 'libical/src/libical/icalderivedparameter.c.in')
-rw-r--r-- | libical/src/libical/icalderivedparameter.c.in | 44 |
1 files changed, 19 insertions, 25 deletions
diff --git a/libical/src/libical/icalderivedparameter.c.in b/libical/src/libical/icalderivedparameter.c.in index 4af6e95c0e..b41587e0de 100644 --- a/libical/src/libical/icalderivedparameter.c.in +++ b/libical/src/libical/icalderivedparameter.c.in @@ -3,7 +3,7 @@ FILE: icalderivedparameters.{c,h} CREATOR: eric 09 May 1999 - $Id: icalderivedparameter.c.in,v 1.1 2001/04/17 17:23:17 jpr Exp $ + $Id: icalderivedparameter.c.in,v 1.2 2003/09/11 22:04:19 hansp Exp $ $Locker: $ @@ -55,8 +55,25 @@ struct icalparameter_kind_map { }; -extern struct icalparameter_kind_map parameter_map[]; +/* This map associates the enumerations for the VALUE parameter with + the kinds of VALUEs. */ + +struct icalparameter_value_kind_map { + icalparameter_value value; + icalvalue_kind kind; +}; +/* This map associates the parameter enumerations with a specific parameter and the string representation of the enumeration */ + +struct icalparameter_map { + icalparameter_kind kind; + int enumeration; + const char* str; +}; + + + +<insert_code_here> const char* icalparameter_kind_to_string(icalparameter_kind kind) { @@ -94,16 +111,6 @@ icalparameter_kind icalparameter_string_to_kind(const char* string) return ICAL_NO_PARAMETER; } -/* This map associates the enumerations for the VALUE parameter with - the kinds of VALUEs. */ - -struct icalparameter_value_kind_map { - icalparameter_value value; - icalvalue_kind kind; -}; - -extern struct icalparameter_value_kind_map value_kind_map[]; - icalvalue_kind icalparameter_value_to_value_kind(icalparameter_value value) { @@ -120,18 +127,6 @@ icalvalue_kind icalparameter_value_to_value_kind(icalparameter_value value) } -/* This map associates the parameter enumerations with a specific parameter and the string representation of the enumeration */ - -struct icalparameter_map { - icalparameter_kind kind; - int enumeration; - const char* str; -}; - - -extern struct icalparameter_map icalparameter_map[]; - - const char* icalparameter_enum_to_string(int e) { int i; @@ -208,4 +203,3 @@ icalparameter* icalparameter_new_from_value_string(icalparameter_kind kind,const -/* Everything below this line is machine generated. Do not edit. */ |