summaryrefslogtreecommitdiff
path: root/src/timeline.h
blob: 296bbe8f47baa1ef35644f05e9ec15f664366302 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __TIMELINE_H
#define __TIMELINE_H

#include "status.h"

struct timeline {
    struct status **statuses;
    size_t size;
};

struct timeline *timeline_from_json(const char *);
void timeline_free(struct timeline *);
struct timeline *get_timeline(const char *max_id, const char *since_id, const char *min_id,
        int limit);

#endif