File: pcp.h

package info (click to toggle)
courier 0.60.0-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 52,288 kB
  • ctags: 12,677
  • sloc: ansic: 165,348; cpp: 24,820; sh: 16,410; perl: 6,839; makefile: 3,621; yacc: 289; sed: 16
file content (87 lines) | stat: -rw-r--r-- 2,177 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#ifndef	sqwebmail_pcp_h
#define	sqwebmail_pcp_h

/*
** $Id: pcp.h,v 1.3 2001/12/07 12:54:59 mrsam Exp $
*/

#include	"config.h"

struct PCP;

extern void sqpcp_init();	/* CGI startup */
extern void sqpcp_close();	/* CGI cleanup */

extern void sqpcp_login(const char *, const char *);	/* Login */

extern int sqpcp_loggedin();	/* Return non-zero if logged in */

int sqpcp_has_calendar();	/* Non zero if calendaring is enabled */
int sqpcp_has_groupware();	/* Non zero if groupware is enabled */

void sqpcp_summary();		/* Print summary in folders.html */

struct PCP *sqpcp_calendar();

void sqpcp_newevent();	/* Event update procedure */

void sqpcp_eventstart();	/* Begin displaying event information */
void sqpcp_eventfrom();		/* Display From: header */
void sqpcp_eventtimes();	/* Display event times */
void sqpcp_eventparticipants();	/* Display event participants */
void sqpcp_eventtext();		/* Display event text */
void sqpcp_eventattach();	/* Attachment list */
void sqpcp_eventend();		/* End displaying event information */

/* Attachment stuff */

void sqpcp_deleteattach();
void sqpcp_uploadattach();
void sqpcp_attachpubkey();
void sqpcp_attachprivkey();

void sqpcp_preview();		/* Preview event */
void sqpcp_save();		/* Save event */
void sqpcp_postpone();		/* Postpone event */

/* Daily calendar */

void sqpcp_todays_date();
void sqpcp_todays_date_verbose();
void sqpcp_daily_view();
void sqpcp_prevday();
void sqpcp_nextday();
void sqpcp_weeklylink();
void sqpcp_monthlylink();

/* Weekly calendar */

void sqpcp_show_cal_week();
void sqpcp_show_cal_nextweek();
void sqpcp_show_cal_prevweek();
void sqpcp_displayweek();

/* Monthly calendar */

void sqpcp_show_cal_month();
void sqpcp_show_cal_nextmonth();
void sqpcp_show_cal_prevmonth();
void sqpcp_displaymonth();

/* Display event */

void sqpcp_displayeventinit();
void sqpcp_displayevent();
void sqpcp_eventbacklink();
void sqpcp_eventeditlink();

int sqpcp_eventedit();

void sqpcp_eventcanceluncancellink();
void sqpcp_eventcanceluncancelimage();
void sqpcp_eventcanceluncanceltext();
void sqpcp_eventdeletelink();
void sqpcp_deleteeventinit();
void sqpcp_dodelete();
void sqpcp_eventacl();
#endif