File: strparse.h

package info (click to toggle)
audacity 0.98-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,896 kB
  • ctags: 4,089
  • sloc: cpp: 26,099; ansic: 4,961; sh: 2,465; makefile: 156; perl: 23
file content (16 lines) | stat: -rw-r--r-- 348 bytes parent folder | download
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);