blob: 085b92faaae7cb3c279741b822ffa7578c46c1c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include <stdio.h>
#include <time.h>
#include "config.h"
#define LEN(X) (sizeof(X)/sizeof(*X))
typedef struct {
char filename[64];
char title[128];
time_t creat, mod;
char link[CLEN];
} Document;
typedef struct {
const char name[16];
void (*export)(Document **, int);
Document **usedby;
int nusedby;
} Plugin;
int cat(const char *, FILE *);
|