1/* RCS common definitions and data structures */
2
3#define RCSBASE "$Id$"
4
5/* Copyright 1982, 1988, 1989 Walter Tichy
6 Copyright 1990, 1991, 1992, 1993, 1994, 1995 Paul Eggert
7 Distributed under license by the Free Software Foundation, Inc.
8
9This file is part of RCS.
10
11RCS is free software; you can redistribute it and/or modify
--- 409 unchanged lines hidden (view full) ---
421#define IDH "Id"
422#define LOCKER "Locker"
423#define LOG "Log"
424#define NAME "Name"
425#define RCSFILE "RCSfile"
426#define REVISION "Revision"
427#define SOURCE "Source"
428#define STATE "State"
429#define FREEBSD "FreeBSD"
430#define keylength 8 /* max length of any of the above keywords */
431
432enum markers { Nomatch, Author, Date, Header, Id,
433 Locker, Log, Name, RCSfile, Revision, Source, State, FreeBSD };
434 /* This must be in the same order as rcskeys.c's Keyword[] array. */
435
436#define DELNUMFORM "\n\n%s\n%s\n"
437/* used by putdtext and scanlogtext */
438
439#define EMPTYLOG "*** empty log message ***" /* used by ci and rlog */
440
441/* main program */
--- 54 unchanged lines hidden (view full) ---
496extern char const *RCSname;
497extern char const *suffixes;
498extern int fdlock;
499extern struct stat RCSstat;
500RILE *rcsreadopen P((struct buf*,struct stat*,int));
501char *bufenlarge P((struct buf*,char const**));
502char const *basefilename P((char const*));
503char const *getfullRCSname P((void));
504char const *maketemp P((int));
505char const *rcssuffix P((char const*));
506int pairnames P((int,char**,RILE*(*)P((struct buf*,struct stat*,int)),int,int));
507struct cbuf bufremember P((struct buf*,size_t));
508void bufalloc P((struct buf*,size_t));
509void bufautoend P((struct buf*));
510void bufrealloc P((struct buf*,size_t));
511void bufscat P((struct buf*,char const*));
--- 14 unchanged lines hidden (view full) ---
526void putdftext P((struct hshentry const*,RILE*,FILE*,int));
527
528/* rcskeep */
529extern int prevkeys;
530extern struct buf prevauthor, prevdate, prevname, prevrev, prevstate;
531int getoldkeys P((RILE*));
532
533/* rcskeys */
534extern char const *const Keyword[];
535enum markers trymatch P((char const*));
536
537/* rcslex */
538extern FILE *foutptr;
539extern FILE *frewrite;
540extern RILE *finptr;
541extern char const *NextString;
542extern enum tokens nexttok;
543extern int hshenter;
--- 214 unchanged lines hidden ---
2
3#define RCSBASE "$Id$"
4
5/* Copyright 1982, 1988, 1989 Walter Tichy
6 Copyright 1990, 1991, 1992, 1993, 1994, 1995 Paul Eggert
7 Distributed under license by the Free Software Foundation, Inc.
8
9This file is part of RCS.
10
11RCS is free software; you can redistribute it and/or modify
--- 409 unchanged lines hidden (view full) ---
421#define IDH "Id"
422#define LOCKER "Locker"
423#define LOG "Log"
424#define NAME "Name"
425#define RCSFILE "RCSfile"
426#define REVISION "Revision"
427#define SOURCE "Source"
428#define STATE "State"
429#define FREEBSD "FreeBSD"
430#define keylength 8 /* max length of any of the above keywords */
431
432enum markers { Nomatch, Author, Date, Header, Id,
433 Locker, Log, Name, RCSfile, Revision, Source, State, FreeBSD };
434 /* This must be in the same order as rcskeys.c's Keyword[] array. */
435
436#define DELNUMFORM "\n\n%s\n%s\n"
437/* used by putdtext and scanlogtext */
438
439#define EMPTYLOG "*** empty log message ***" /* used by ci and rlog */
440
441/* main program */
--- 54 unchanged lines hidden (view full) ---
496extern char const *RCSname;
497extern char const *suffixes;
498extern int fdlock;
499extern struct stat RCSstat;
500RILE *rcsreadopen P((struct buf*,struct stat*,int));
501char *bufenlarge P((struct buf*,char const**));
502char const *basefilename P((char const*));
503char const *getfullRCSname P((void));
504char const *maketemp P((int));
505char const *rcssuffix P((char const*));
506int pairnames P((int,char**,RILE*(*)P((struct buf*,struct stat*,int)),int,int));
507struct cbuf bufremember P((struct buf*,size_t));
508void bufalloc P((struct buf*,size_t));
509void bufautoend P((struct buf*));
510void bufrealloc P((struct buf*,size_t));
511void bufscat P((struct buf*,char const*));
--- 14 unchanged lines hidden (view full) ---
526void putdftext P((struct hshentry const*,RILE*,FILE*,int));
527
528/* rcskeep */
529extern int prevkeys;
530extern struct buf prevauthor, prevdate, prevname, prevrev, prevstate;
531int getoldkeys P((RILE*));
532
533/* rcskeys */
534extern char const *const Keyword[];
535enum markers trymatch P((char const*));
536
537/* rcslex */
538extern FILE *foutptr;
539extern FILE *frewrite;
540extern RILE *finptr;
541extern char const *NextString;
542extern enum tokens nexttok;
543extern int hshenter;
--- 214 unchanged lines hidden ---