📄 artsrch.h
字号:
/* $Id: artsrch.h,v 3.0 1992/02/01 03:09:32 davison Trn $ *//* This software is Copyright 1991 by Stan Barber. * * Permission is hereby granted to copy, reproduce, redistribute or otherwise * use this software as long as: there is no monetary profit gained * specifically from the use or reproduction of this software, it is not * sold, rented, traded or otherwise marketed, and this copyright notice is * included prominently in any copy made. * * The author make no claims as to the fitness or correctness of this software * for any use whatsoever, and it is provided as is. Any use of this software * is at the user's own risk. */#ifndef NBRA#include "search.h"#endif#ifdef ARTSEARCH#define SRCH_ABORT 0#define SRCH_INTR 1#define SRCH_FOUND 2#define SRCH_NOTFOUND 3#define SRCH_DONE 4#define SRCH_SUBJDONE 5#define SRCH_ERROR 6#endifEXT char *lastpat INIT(nullstr); /* last search pattern */#ifdef ARTSEARCHEXT COMPEX sub_compex; /* last compiled subject search */EXT COMPEX art_compex; /* last compiled normal search */# ifdef CONDSUBEXT COMPEX *bra_compex INIT(&(art_compex)); /* current compex with brackets */# endifEXT char art_howmuch; /* search just the subjects */EXT bool art_doread; /* search read articles? */#endifvoid artsrch_init _((void));#ifdef ARTSEARCHint art_search _((char*, int, int));bool wanted _((COMPEX*, ART_NUM, char_int)); /* return TRUE if current article matches pattern */#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -