Debian Codegraph @

xpa/word.h

raw symbols SCIP
1 /*
2 * Copyright (c) 1999-2003 Smithsonian Astrophysical Observatory
3 */
4
5 /*
6 *
7 * word.h -- declarations for word parsing
8 *
9 */
10
11 #ifndef __word_h
12 #define __word_h
13
14 #if HAVE_CONFIG_H
15 #include <conf.h>
16 #endif
17 #ifdef HAVE_STRING_H
18 #include <string.h>
19 #endif
20 #if HAVE_MALLOC_H
21 #include <malloc.h>
22 #endif
23 #if HAVE_STDLIB_H
24 #include <stdlib.h>
25 #endif
26 #include <prsetup.h>
27 #include <xalloc.h>
28
29 /* defines the types of callback procedure we use */
30 typedef char *(*MacroCB)(
31 #ifdef ANSI_FUNC
32 char *buf,
33 void *client_data
34 #endif
35 );
36
37 _PRbeg
38
39 int word _PRx((char *lbuf, char *tbuf, int *lptr));
40 int newdtable _PRx((char *s));
41 int freedtable _PRx((void));
42 void newdelim _PRx((char *s));
43 void freedelim _PRx((char *s));
44 int lastdelim _PRx((void));
45 int tmatch _PRx((char *string, char *xtemplate));
46 int keyword _PRx((char *ibuf, char *key, char *obuf, int maxlen));
47 char *macro _PRx((char *icmd, char **keyword, char **value, int nkey,
48 MacroCB client_callback, void *client_data));
49 void cluc _PRx((char *s));
50 void culc _PRx((char *s));
51 int nowhite _PRx((char *c, char *cr));
52 void nocr _PRx((char *s));
53 int istrue _PRx((char *s));
54 int isfalse _PRx((char *s));
55 unsigned long strtoul16 _PRx((char *s, char **t));
56
57 _PRend
58
59 #endif