X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fwebcit.h;h=43ecb0f78cc4f51efd355d6a4d1d0a9c1639bf3b;hb=08c16cd4d6d989d6511d187f41113040cfeda14b;hp=65f2d11dc63f965685c8d9866ed306246fe5248b;hpb=672ba402eab62d1d1aa000eaf7e2e714c0f5f546;p=citadel.git diff --git a/webcit/webcit.h b/webcit/webcit.h index 65f2d11dc..43ecb0f78 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -260,11 +260,16 @@ typedef struct _disp_cal { icalproperty_status Status; } disp_cal; -typedef struct _IcalEnumMap { +typedef struct _IcalKindEnumMap { const char *Name; long NameLen; icalproperty_kind map; -} IcalEnumMap; +} IcalKindEnumMap; +typedef struct _IcalMethodEnumMap { + const char *Name; + long NameLen; + icalproperty_method map; +} IcalMethodEnumMap; /* * Address book entry (keep it short and sweet, it's just a quickie lookup @@ -294,7 +299,7 @@ typedef struct _addrbookent { #define DATEFMT_BRIEF 1 #define DATEFMT_RAWDATE 2 #define DATEFMT_LOCALEDATE 3 -void webcit_fmt_date(char *buf, size_t siz, time_t thetime, int Format); +long webcit_fmt_date(char *buf, size_t siz, time_t thetime, int Format); typedef enum _RESTDispatchID { @@ -677,7 +682,6 @@ void output_html(const char *, int, int, StrBuf *, StrBuf *); ssize_t write(int fd, const void *buf, size_t count); void cal_process_attachment(wc_mime_attachment *Mime); -void address_book_popup(void); void begin_ajax_response(void); void end_ajax_response(void); @@ -761,3 +765,5 @@ struct bltr { struct bltr blogview_learn_thread_references(long msgnum); void tmplput_blog_permalink(StrBuf *Target, WCTemplputParams *TP); void display_summary_page(void); + +HashList *GetValidDomainNames(StrBuf *Target, WCTemplputParams *TP);