2 * File: buf.h $XConsortium: buf.h /main/3 1995/10/26 16:07:20 rswiston $
4 * (c) Copyright 1993, 1994 Hewlett-Packard Company
5 * (c) Copyright 1993, 1994 International Business Machines Corp.
6 * (c) Copyright 1993, 1994 Sun Microsystems, Inc.
7 * (c) Copyright 1993, 1994 Novell, Inc.
9 #include <codelibs/boolean.h>
11 #include <codelibs/privbuf.h>
18 typedef unsigned char Quote;
30 privbuf_charbuf flags;
34 void expand(_SHXcomponents&, char* const, char*, int);
36 _SHXbuf() {reset(TRUE, FALSE);}
37 void reset(boolean glob, boolean completion);
38 void append(int const ch, char flag = 0);
39 void append(char const *cp, char flag = 0);
40 int ntokens() {return vec.size();}
41 boolean new_token() {return _new_token;}
42 Quote quote() {return _quote;}