File: addng.h

package info (click to toggle)
trn4 4.0-test77-18
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid, trixie
  • size: 4,016 kB
  • sloc: ansic: 48,332; sh: 6,795; tcl: 1,696; yacc: 662; perl: 108; makefile: 26
file content (34 lines) | stat: -rw-r--r-- 755 bytes parent folder | download | duplicates (11)
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
/* addng.h
 */
/* This software is copyrighted as detailed in the LICENSE file. */


struct addgroup {
    ADDGROUP* next;
    ADDGROUP* prev;
    DATASRC* datasrc;
    ART_NUM toread;	/* number of articles to be read (for sorting) */
    NG_NUM num;		/* a possible sort order for this group */
    char flags;
    char name[1];
};

#define AGF_SEL		0x01
#define AGF_DEL		0x02
#define AGF_DELSEL	0x04
#define AGF_INCLUDED	0x10

#define AGF_EXCLUDED	0x20

EXT ADDGROUP* first_addgroup;
EXT ADDGROUP* last_addgroup;

EXT ADDGROUP* sel_page_gp;
EXT ADDGROUP* sel_next_gp;

/* DON'T EDIT BELOW THIS LINE OR YOUR CHANGES WILL BE LOST! */

void addng_init _((void));
bool find_new_groups _((void));
bool scanactive _((bool_int));
void sort_addgroups _((void));