temporary commit while I update master
[alpine.git] / pith / news.h
blob602cad017cb9265248aa8c03c46ca00ab6da9bce
1 /*
2 * $Id: news.h 761 2007-10-23 22:35:18Z hubert@u.washington.edu $
4 * ========================================================================
5 * Copyright 2013-2017 Eduardo Chappa
6 * Copyright 2006 University of Washington
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * ========================================================================
17 #ifndef PITH_NEWS_INCLUDED
18 #define PITH_NEWS_INCLUDED
21 #include "../pith/conftype.h"
25 * Useful macro to test if current folder is a bboard type (meaning
26 * netnews for now) collection...
28 #define IS_NEWS(S) ((S) ? ns_test((S)->mailbox, "news") : 0)
31 /* exported protoypes */
32 int ns_test(char *, char *);
33 int news_in_folders(struct variable *);
34 int news_grouper(char *, char **, char **, char **, void (*)(void));
35 void free_newsgrp_cache(void);
38 #endif /* PITH_NEWS_INCLUDED */