A static site generator, written in C
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cms_post.h 258B

123456789101112131415161718
  1. #ifndef CMS_POST_H
  2. #define CMS_POST_H
  3. #include "cms_err.h"
  4. typedef struct cms_post
  5. {
  6. char* _str;
  7. char* title;
  8. char* slug;
  9. char* html;
  10. } cms_post;
  11. cms_post* cms_post_create();
  12. cms_err* cms_post_parse(cms_post* post, char* str, char* slugstr);
  13. #endif