File: NewsRC.h

package info (click to toggle)
postman 2.0-9
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 8,036 kB
  • ctags: 3,078
  • sloc: cpp: 31,131; ansic: 1,948; sh: 787; makefile: 285
file content (54 lines) | stat: -rw-r--r-- 1,544 bytes parent folder | download | duplicates (3)
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
/*
NewsRC.h

Modifications of Mark Crispin original
*/

#ifndef __NEWSRC_H
#define __NEWSRC_H

#include <ctype.h>
#include <stdio.h>
#include <c-client.h>

#include "Utils.h"


/*
 * Program:     Newsrc manipulation routines
 *
 * Authhor:     Mark Crispin
 *              Networks and Distributed Computing
 *              Computing & Communications
 *              University of Washington
 *              Administration Building, AG-44
 *              Seattle, WA  98195
 *              Internet: MRC@CAC.Washington.EDU
 *
 * Date:        12 September 1994
 * Last Edited: 24 October 2000
 * 
 * The IMAP toolkit provided in this Distribution is
 * Copyright 2000 University of Washington.
 * The full text of our legal notices is contained in the file called
 * CPYRIGHT, included with this Distribution.
 */


/* Function prototypes */

long Newsrc_error (char *fmt,char *text,long errflg);
long Newsrc_write_error (char *name,FILE *f1,FILE *f2);
FILE *Newsrc_create (MAILSTREAM *stream,int notify);
long Newsrc_newstate (FILE *f,char *group,char state,char *nl);
long Newsrc_newmessages (FILE *f,MAILSTREAM *stream,char *nl);
void Newsrc_lsub (MAILSTREAM *stream,char *pattern);
long Newsrc_update (MAILSTREAM *stream,char *group,char state);
long Newsrc_read (char *group,MAILSTREAM *stream);
long Newsrc_write (const char *group, MAILSTREAM *stream);
char *Newsrc_state (MAILSTREAM *stream,char *group);
void Newsrc_check_uid (char *state,unsigned long uid,unsigned long *recent,
                       unsigned long *unseen);

#endif