aboutsummaryrefslogtreecommitdiff
path: root/src/track_remove_parser.h
blob: 1783cc874655352c2fab91c59acc9dac62cf04b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef TRACK_REMOVE_PARSER_H
#define TRACK_REMOVE_PARSER_H

#include "buffer.h"

typedef struct {
    int start;
    int end;
} Range;

/*
    |ranges| should be initialized before calling this.
    Returns 0 on success.
*/
int track_remove_parser_parse(const char *str, size_t size, Buffer /*Range*/ *ranges);

#endif