File: misc.h

package info (click to toggle)
elvis 2.2.0-10
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 6,632 kB
  • ctags: 18,477
  • sloc: ansic: 94,727; sh: 1,357; makefile: 425
file content (22 lines) | stat: -rw-r--r-- 831 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* misc.h */
/* Copyright 1995 by Steve Kirkendall */

extern CHAR	empty[];
extern CHAR	blanks[80];
extern char	**arglist;
extern int	argnext;
BEGIN_EXTERNC
#ifdef DEBUG_ALLOC
# define buildCHAR(ref,ch)	_buildCHAR(__FILE__, __LINE__, (ref), (ch))
# define buildstr(ref,str)	_buildstr(__FILE__, __LINE__, (ref), (str))
extern int	_buildCHAR P_((char *file, int line, CHAR **refstr, _CHAR_ ch));
extern int	_buildstr P_((char *file, int line, CHAR **refstr, char *add));
#else
extern int	buildCHAR P_((CHAR **refstr, _CHAR_ ch));
extern int	buildstr P_((CHAR **refstr, char *add));
#endif
extern MARK	wordatcursor P_((MARK cursor, ELVBOOL apostrophe));
extern CHAR	*addquotes P_((CHAR *chars, CHAR *str));
extern CHAR	*removequotes P_((CHAR *chars, CHAR *str));
extern int	CHARncasecmp P_((CHAR *s1, CHAR *s2, int len));
END_EXTERNC