summaryrefslogtreecommitdiff
path: root/src/timeline.h
blob: f31f6185b1aa267f1032cca069e1a5f84831d966 (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(char *);
void timeline_free(struct timeline *);
int lod_timeline(const char *max_id, const char *since_id, const char *min_id,
        int limit);

#endif