imapext-2007

view src/c-client/env.h @ 0:ada5e610ab86

imap-2007e
author yuuji@gentei.org
date Mon, 14 Sep 2009 15:17:45 +0900
parents
children
line source
1 /* ========================================================================
2 * Copyright 1988-2008 University of Washington
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 *
11 * ========================================================================
12 */
14 /*
15 * Program: Environment routines
16 *
17 * Author: Mark Crispin
18 * UW Technology
19 * University of Washington
20 * Seattle, WA 98195
21 * Internet: MRC@Washington.EDU
22 *
23 * Date: 1 August 1988
24 * Last Edited: 13 February 2008
25 */
27 /* Function prototypes */
29 long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
30 long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim);
31 void *env_parameters (long function,void *value);
32 void rfc822_date (char *date);
33 void rfc822_timezone (char *s,void *t);
34 void internal_date (char *date);
35 long server_input_wait (long seconds);
36 void server_init (char *server,char *service,char *sasl,
37 void *clkint,void *kodint,void *hupint,void *trmint,
38 void *staint);
39 long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]);
40 long authserver_login (char *user,char *authuser,int argc,char *argv[]);
41 long anonymous_login (int argc,char *argv[]);
42 char *mylocalhost (void);
43 char *myhomedir (void);
44 char *mailboxfile (char *dst,char *name);
45 MAILSTREAM *default_proto (long type);

UW-IMAP'd extensions by yuuji