citadel
About: Citadel is an advanced messaging and collaboration system for groupware and BBS applications (preferred OS: Linux).
  Fossies Dox: citadel.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Loading...
Searching...
No Matches
serv_nntp.h
Go to the documentation of this file.
1//
2// Header file for NNTP server module
3//
4// Copyright (c) 2014 by the citadel.org team
5//
6// This program is open source software; you can redistribute it and/or modify
7// it under the terms of the GNU General Public License version 3.
8//
9// This program is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13//
14
15
16// data returned by a message list fetch
19 long *msgnums;
20};
21
22
23// data passed by the LIST commands to its helper function
27};
28
29
30//
31// data passed between nntp_listgroup() and nntp_listgroup_backend()
32//
34 long lo;
35 long hi;
36};
37
38
39typedef struct _citnntp { // Information about the current session
42
43
44//
45// Various output formats for the LIST commands
46//
47enum {
54};
55
56
57int wildmat(const char *text, const char *p);
58
int wildmat(const char *text, const char *p)
Definition: wildmat.c:166
@ NNTP_LIST_NEWSGROUPS
Definition: serv_nntp.h:52
@ NNTP_LIST_OVERVIEW_FMT
Definition: serv_nntp.h:53
@ NNTP_LIST_DISTRIB_PATS
Definition: serv_nntp.h:50
@ NNTP_LIST_ACTIVE_TIMES
Definition: serv_nntp.h:49
@ NNTP_LIST_ACTIVE
Definition: serv_nntp.h:48
@ NNTP_LIST_HEADERS
Definition: serv_nntp.h:51
struct _citnntp citnntp
long current_article_number
Definition: serv_nntp.h:40
char * wildmat_pattern
Definition: serv_nntp.h:26
long * msgnums
Definition: serv_nntp.h:19
int num_msgs
Definition: serv_nntp.h:18