aboutsummaryrefslogtreecommitdiff
path: root/later.h
blob: 6fd665df5874da530844a81ba48d4fd134fd1ae9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef __LATER_H__
#define __LATER_H__

#include <stdbool.h>

typedef struct LaterItem LaterItem_t;

struct LaterItem {
    char* directory;
    char* path;
    char* command;
};

typedef struct LaterFile LaterFile_t;

struct LaterFile {
    char* filename;
    FILE* file;
    LaterItem_t** items;
    int size;
    int capacity;
    bool loaded;
    bool modified;
};

#endif