File: strparse.h

package info (click to toggle)
audacity 1.2.4b-2.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 24,136 kB
  • ctags: 20,445
  • sloc: ansic: 139,567; cpp: 55,998; sh: 24,963; lisp: 3,772; makefile: 1,683; python: 272
file content (16 lines) | stat: -rw-r--r-- 332 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// strparse.h -- header for String_parse class

class String_parse {
public:
    char string[256];
    int pos;
    void init(char *s) {
        strcpy(string, s);
        pos = 0;
    }
    void skip_space();
    char peek();
    void get_nonspace_quoted(char *field);
};

void string_escape(char *result, char *str, char *quote);