[Freeassociation-devel] Why does icalfileset_safe_saves exist in icalss.h?

crass at berlios.de crass at berlios.de
Tue Feb 23 12:50:12 PST 2010


To follow up on the original email.  I've found a multitude of
functions which have declarations, but no definition.  They are listed
below.  What do you think of #ifdef'ing them out with the
_UNDEFINED_FUNCTION macro?  I suspect they exist as a "to be done",
which case I think my proposal is reasonable.

========================================================
_icalerror_set_errno(icalerrorenum);
icalattachtype_add_reference(struct icalattachtype* v);
icalattachtype_get_binary(struct icalattachtype* v);
icalattachtype_set_binary(struct icalattachtype* v, char* binary,
				int owns);
icalattachtype_get_url(struct icalattachtype* v);
icalattachtype_set_url(struct icalattachtype* v, char* url);
icalattachtype_free(struct icalattachtype* v);
icalattachtype_get_base64(struct icalattachtype* v);
icalattachtype_new(void);
icalattachtype_set_base64(struct icalattachtype* v, char* base64,
				int owns);
icalclassify_class_to_string(icalproperty_xlicclass c);
icalfileset_new_from_cluster(const char* path, icalcluster *cluster);
icalgauge_as_sql(icalcomponent* gauge);
icalgauge_new_clone(icalgauge* g, icalcomponent* comp);
icallangbind_get_component(icalcomponent *c, const char* comp);
icallangbind_get_parameter(icalproperty *p, const char* parameter);
icallangbind_get_property(icalcomponent *c, int n, const char* prop);
icallangbind_get_property_val(icalproperty* p);
icalmessage_new_cancel_all(icalcomponent* c,
					    const char* user,
					    const char* msg);
icalmessage_new_cancel_event(icalcomponent* c,
					    const char* user,
					    const char* msg);
icalmessage_new_cancel_instance(icalcomponent* c,
					    const char* user,
					    const char* msg);
icalmime_as_mime_string(char* icalcomponent);
icalparameter_is_valid(icalparameter* parameter);
icalparser_parse_value(icalvalue_kind kind, 
				   const char* str, icalcomponent**
errors); icalrecur_iterator_decrement_count(icalrecur_iterator*);
icalrestriction_is_parameter_allowed(icalproperty_kind property,
                                       icalparameter_kind parameter);
icalset_clear_select(icalset* set);
icalspanlist_make_free_list(icalspanlist* sl);
icalspanlist_make_busy_list(icalspanlist* sl);
icalspanlist_next_busy_time(icalspanlist* sl,
                                    struct icaltimetype t);
icaltime_compare_with_zone(const struct icaltimetype a,
        const struct icaltimetype b);
icaltime_days_in_year (const int year);
icaltime_from_string_with_zone(const char* str,
					const icaltimezone *zone);
icaltime_from_week_number(const int week_number,
					const int year);
icaltime_is_floating(const struct icaltimetype t);
icaltimezonetype_free(struct icaltimezonetype tzt);
========================================================

On Tue, 23 Feb 2010 12:00:56 -0600
<crass at berlios.de> wrote:

> Per the subject line, I see no usage of this variable.  Its declared
> as an external, yet never used anywhere (nor allocated).  Is this for
> backwards compatibility?  Its messing with the automatic swig
> generation of the python interface, so if its not needed, removing it
> would make things easier.
> 
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Freeassociation-devel mailing list
> Freeassociation-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freeassociation-devel




More information about the libical-devel mailing list