Back to index

courier  0.68.2
pcp.h
Go to the documentation of this file.
00001 #ifndef       sqwebmail_pcp_h
00002 #define       sqwebmail_pcp_h
00003 
00004 /*
00005 */
00006 
00007 #include      "config.h"
00008 
00009 struct PCP;
00010 
00011 extern void sqpcp_init();   /* CGI startup */
00012 extern void sqpcp_close();  /* CGI cleanup */
00013 
00014 extern void sqpcp_login(const char *, const char *);    /* Login */
00015 
00016 extern int sqpcp_loggedin();       /* Return non-zero if logged in */
00017 
00018 int sqpcp_has_calendar();   /* Non zero if calendaring is enabled */
00019 int sqpcp_has_groupware();  /* Non zero if groupware is enabled */
00020 
00021 void sqpcp_summary();              /* Print summary in folders.html */
00022 
00023 struct PCP *sqpcp_calendar();
00024 
00025 void sqpcp_newevent();      /* Event update procedure */
00026 
00027 void sqpcp_eventstart();    /* Begin displaying event information */
00028 void sqpcp_eventfrom();            /* Display From: header */
00029 void sqpcp_eventtimes();    /* Display event times */
00030 void sqpcp_eventparticipants();    /* Display event participants */
00031 void sqpcp_eventtext();            /* Display event text */
00032 void sqpcp_eventattach();   /* Attachment list */
00033 void sqpcp_eventend();             /* End displaying event information */
00034 
00035 /* Attachment stuff */
00036 
00037 void sqpcp_deleteattach();
00038 void sqpcp_uploadattach();
00039 void sqpcp_attachpubkey();
00040 void sqpcp_attachprivkey();
00041 
00042 void sqpcp_preview();              /* Preview event */
00043 void sqpcp_save();          /* Save event */
00044 void sqpcp_postpone();             /* Postpone event */
00045 
00046 /* Daily calendar */
00047 
00048 void sqpcp_todays_date();
00049 void sqpcp_todays_date_verbose();
00050 void sqpcp_daily_view();
00051 void sqpcp_prevday();
00052 void sqpcp_nextday();
00053 void sqpcp_weeklylink();
00054 void sqpcp_monthlylink();
00055 
00056 /* Weekly calendar */
00057 
00058 void sqpcp_show_cal_week();
00059 void sqpcp_show_cal_nextweek();
00060 void sqpcp_show_cal_prevweek();
00061 void sqpcp_displayweek();
00062 
00063 /* Monthly calendar */
00064 
00065 void sqpcp_show_cal_month();
00066 void sqpcp_show_cal_nextmonth();
00067 void sqpcp_show_cal_prevmonth();
00068 void sqpcp_displaymonth();
00069 
00070 /* Display event */
00071 
00072 void sqpcp_displayeventinit();
00073 void sqpcp_displayevent();
00074 void sqpcp_eventbacklink();
00075 void sqpcp_eventeditlink();
00076 
00077 int sqpcp_eventedit();
00078 
00079 void sqpcp_eventcanceluncancellink();
00080 void sqpcp_eventcanceluncancelimage();
00081 void sqpcp_eventcanceluncanceltext();
00082 void sqpcp_eventdeletelink();
00083 void sqpcp_deleteeventinit();
00084 void sqpcp_dodelete();
00085 void sqpcp_eventacl();
00086 #endif