123456789101112131415161718 |
- #ifndef CMS_POST_H
- #define CMS_POST_H
-
- #include "cms_err.h"
-
- typedef struct cms_post
- {
- char* _str;
- char* title;
- char* slug;
- char* html;
- } cms_post;
-
- cms_post* cms_post_create();
-
- cms_err* cms_post_parse(cms_post* post, char* str, char* slugstr);
-
- #endif
|