shortcode/shortcodes.h

25 lines
348 B
C
Raw Normal View History

2023-07-12 19:09:17 +00:00
#ifndef SHORTCODES_H
#define SHORTCODES_H
2023-07-12 19:22:54 +00:00
struct chunk
{
int start, len;
};
typedef struct chunk chunk;
struct shortcode
{
int start;
int len;
chunk name;
chunk data;
char matching;
chunk argnames[100];
chunk argvals[100];
int argcount;
};
typedef struct shortcode shortcode;
shortcode *parse(char *);
2023-07-12 19:09:17 +00:00
#endif