# 2.11BSD#431 - /usr/src/new/rn/artsrch.h

##### Variables

    art_howmuch       X
    lastpat           X

##### Macros

    SRCH_ABORT        X
    SRCH_DONE         X
    SRCH_ERROR        X
    SRCH_FOUND        X
    SRCH_INTR         X
    SRCH_NOTFOUND     X
    SRCH_SUBJDONE     X

       1: /* $Header: artsrch.h,v 4.3 85/05/01 11:35:55 lwall Exp $
       2:  *
       3:  * $Log:	artsrch.h,v $
       4:  * Revision 4.3  85/05/01  11:35:55  lwall
       5:  * Baseline for release with 4.3bsd.
       6:  *
       7:  */
       8:
       9: #ifndef NBRA
      10: #include "search.h"
      11: #endif
      12:
      13: #ifdef ARTSEARCH
      14:
      15: #define SRCH_ABORT 0
      16: #define SRCH_INTR 1
      17: #define SRCH_FOUND 2
      18: #define SRCH_NOTFOUND 3
      19: #define SRCH_DONE 4
      20: #define SRCH_SUBJDONE 5
      21: #define SRCH_ERROR 6
      22: #endif
      23:
      24: EXT char *lastpat INIT(nullstr);    /* last search pattern */
      25: #ifdef ARTSEARCH
      26:     EXT COMPEX sub_compex;      /* last compiled subject search */
      27:     EXT COMPEX art_compex;      /* last compiled normal search */
      28: #   ifdef CONDSUB
      29:     EXT COMPEX *bra_compex INIT(&art_compex);
      30:                     /* current compex with brackets */
      31: #   endif
      32:     EXT char art_howmuch;       /* search just the subjects */
      33:     EXT bool art_doread;        /* search read articles? */
      34: #endif
      35:
      36: void    artsrch_init();
      37: #ifdef ARTSEARCH
      38:     int     art_search();
      39:     bool    wanted();   /* return TRUE if current article matches pattern */
      40: #endif

#### Defined variables

art_howmuch defined in line 32; used 4 times

- in /usr/src/new/rn/artsrch.c line 69, 103
- in /usr/src/new/rn/intrp.c line 389-391(2)

lastpat defined in line 24; used 4 times

- in /usr/src/new/rn/artsrch.c line 75-77(3)
- in /usr/src/new/rn/intrp.c line 382

#### Defined macros

SRCH_ABORT defined in line 15; used 3 times

- in /usr/src/new/rn/artsrch.c line 62, 137, 162

SRCH_DONE defined in line 19; used 2 times

- in /usr/src/new/rn/artsrch.c line 101, 125

SRCH_ERROR defined in line 21; used 1 times

- in /usr/src/new/rn/artsrch.c line 185

SRCH_FOUND defined in line 17; used 1 times

- in /usr/src/new/rn/artsrch.c line 238

SRCH_INTR defined in line 16; used 2 times

- in /usr/src/new/rn/artsrch.c line 214, 232

SRCH_NOTFOUND defined in line 18; used 1 times

- in /usr/src/new/rn/artsrch.c line 52

SRCH_SUBJDONE defined in line 20; used 1 times

- in /usr/src/new/rn/artsrch.c line 114

#### Usage of this include

artsrch.h used 6 times

- in /usr/src/new/rn/artsrch.c line 23
- in /usr/src/new/rn/cheat.c line 17
- in /usr/src/new/rn/init.c line 35
- in /usr/src/new/rn/intrp.c line 30
- in /usr/src/new/rn/kfile.c line 22
- in /usr/src/new/rn/ng.c line 33

Last modified: 1987-03-16 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 675 |