1 #ifndef	sqwebmail_pcp_h
2 #define	sqwebmail_pcp_h
3 
4 /*
5 */
6 
7 #include	"config.h"
8 
9 struct PCP;
10 
11 extern void sqpcp_init();	/* CGI startup */
12 extern void sqpcp_close();	/* CGI cleanup */
13 
14 extern void sqpcp_login(const char *, const char *);	/* Login */
15 
16 extern int sqpcp_loggedin();	/* Return non-zero if logged in */
17 
18 int sqpcp_has_calendar();	/* Non zero if calendaring is enabled */
19 int sqpcp_has_groupware();	/* Non zero if groupware is enabled */
20 
21 void sqpcp_summary();		/* Print summary in folders.html */
22 
23 struct PCP *sqpcp_calendar();
24 
25 void sqpcp_newevent();	/* Event update procedure */
26 
27 void sqpcp_eventstart();	/* Begin displaying event information */
28 void sqpcp_eventfrom();		/* Display From: header */
29 void sqpcp_eventtimes();	/* Display event times */
30 void sqpcp_eventparticipants();	/* Display event participants */
31 void sqpcp_eventtext();		/* Display event text */
32 void sqpcp_eventattach();	/* Attachment list */
33 void sqpcp_eventend();		/* End displaying event information */
34 
35 /* Attachment stuff */
36 
37 void sqpcp_deleteattach();
38 void sqpcp_uploadattach();
39 void sqpcp_attachpubkey();
40 void sqpcp_attachprivkey();
41 
42 void sqpcp_preview();		/* Preview event */
43 void sqpcp_save();		/* Save event */
44 void sqpcp_postpone();		/* Postpone event */
45 
46 /* Daily calendar */
47 
48 void sqpcp_todays_date();
49 void sqpcp_todays_date_verbose();
50 void sqpcp_daily_view();
51 void sqpcp_prevday();
52 void sqpcp_nextday();
53 void sqpcp_weeklylink();
54 void sqpcp_monthlylink();
55 
56 /* Weekly calendar */
57 
58 void sqpcp_show_cal_week();
59 void sqpcp_show_cal_nextweek();
60 void sqpcp_show_cal_prevweek();
61 void sqpcp_displayweek();
62 
63 /* Monthly calendar */
64 
65 void sqpcp_show_cal_month();
66 void sqpcp_show_cal_nextmonth();
67 void sqpcp_show_cal_prevmonth();
68 void sqpcp_displaymonth();
69 
70 /* Display event */
71 
72 void sqpcp_displayeventinit();
73 void sqpcp_displayevent();
74 void sqpcp_eventbacklink();
75 void sqpcp_eventeditlink();
76 
77 int sqpcp_eventedit();
78 
79 void sqpcp_eventcanceluncancellink();
80 void sqpcp_eventcanceluncancelimage();
81 void sqpcp_eventcanceluncanceltext();
82 void sqpcp_eventdeletelink();
83 void sqpcp_deleteeventinit();
84 void sqpcp_dodelete();
85 void sqpcp_eventacl();
86 #endif
87