File: word.h

package info (click to toggle)
saods9 3.0.3-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 86,868 kB
  • ctags: 82,021
  • sloc: ansic: 663,637; tcl: 111,403; cpp: 52,727; sh: 27,784; makefile: 6,177; asm: 3,355; lex: 2,890; ada: 1,637; pascal: 1,621; xml: 1,221; yacc: 883; f90: 84; perl: 82; python: 33; fortran: 17; ruby: 13; sed: 12; php: 11
file content (59 lines) | stat: -rw-r--r-- 1,224 bytes parent folder | download | duplicates (19)
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
52
53
54
55
56
57
58
59
/*
 *	Copyright (c) 1999-2003 Smithsonian Astrophysical Observatory
 */

/*
 *
 * word.h -- declarations for word parsing
 *
 */

#ifndef	__word_h
#define	__word_h

#if HAVE_CONFIG_H
#include <conf.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#if HAVE_MALLOC_H
#include <malloc.h>
#endif
#if HAVE_STDLIB_H
#include <stdlib.h>
#endif
#include <prsetup.h>
#include <xalloc.h>

/* defines the types of callback procedure we use */
typedef char *(*MacroCB)(
#ifdef ANSI_FUNC
    char *buf,
    void *client_data
#endif
);

_PRbeg

int word _PRx((char *lbuf, char *tbuf, int *lptr));
int newdtable _PRx((char *s));
int freedtable _PRx((void));
void newdelim _PRx((char *s));
void freedelim _PRx((char *s));
int lastdelim _PRx((void));
int tmatch _PRx((char *string, char *xtemplate));
int keyword _PRx((char *ibuf, char *key, char *obuf, int maxlen));
char *macro _PRx((char *icmd, char **keyword, char **value, int nkey,
		  MacroCB client_callback, void *client_data));
void cluc _PRx((char *s));
void culc _PRx((char *s));
int nowhite _PRx((char *c, char *cr));
void nocr _PRx((char *s));
int istrue _PRx((char *s));
int isfalse _PRx((char *s));
unsigned long strtoul16 _PRx((char *s, char **t));

_PRend

#endif