File: parse.h

package info (click to toggle)
fdclone 3.01b-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 4,772 kB
  • ctags: 8,674
  • sloc: ansic: 100,552; makefile: 4,497; sh: 1,480; sed: 224
file content (51 lines) | stat: -rw-r--r-- 1,713 bytes parent folder | download | duplicates (3)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
 *	parse.h
 *
 *	definitions & function prototype declarations for "parse.c"
 */

#include "depend.h"

#if	defined (FD) && (FD < 2) && !defined (OLDPARSE)
#define	OLDPARSE
#endif

extern char *skipspace __P_((CONST char *));
extern char *Xsscanf __P_((CONST char *, CONST char *, ...));
extern int Xatoi __P_((CONST char *));
#if	defined (FD) && !defined (DEP_ORIGSHELL)
extern char *strtkchr __P_((CONST char *, int, int));
extern int getargs __P_((CONST char *, char ***));
extern char *gettoken __P_((CONST char *));
extern char *getenvval __P_((int *, char *CONST []));
extern char *evalcomstr __P_((CONST char *, CONST char *));
#endif
extern char *evalpaths __P_((CONST char *, int));
#if	MSDOS && defined (FD) && !defined (DEP_ORIGSHELL)
#define	killmeta(s)		Xstrdup(s)
#else
extern char *killmeta __P_((CONST char *));
#endif
#if	defined (FD) && !defined (DEP_ORIGSHELL)
extern VOID adjustpath __P_((VOID_A));
#endif
#ifdef	FD
extern char *includepath __P_((CONST char *, CONST char *));
#endif
#if	defined (OLDPARSE) && !defined (_NOARCHIVE)
extern char *getrange __P_((CONST char *, int, u_char *, u_char *, u_char *));
#endif
extern int getprintable __P_((char *, ALLOC_T, CONST char *, ALLOC_T, int *));
extern int evalprompt __P_((char **, CONST char *));
#if	defined (FD) && !defined (_NOARCHIVE)
extern char *getext __P_((CONST char *, u_char *));
extern int extcmp __P_((CONST char *, int, CONST char *, int, int));
#endif
#ifdef	FD
extern int getkeycode __P_((CONST char *, int));
#endif
extern CONST char *getkeysym __P_((int, int));
extern char *decodestr __P_((CONST char *, u_char *, int));
#if	defined (FD) && !defined (_NOKEYMAP)
extern char *encodestr __P_((CONST char *, int));
#endif