| 1 |
sysadm |
1.1 |
/***************************************************************************
|
| 2 |
|
|
article_post.h - description
|
| 3 |
|
|
-------------------
|
| 4 |
|
|
copyright : (C) 2004-2025 by Leaflet
|
| 5 |
|
|
email : leaflet@leafok.com
|
| 6 |
|
|
***************************************************************************/
|
| 7 |
|
|
|
| 8 |
|
|
/***************************************************************************
|
| 9 |
|
|
* *
|
| 10 |
|
|
* This program is free software; you can redistribute it and/or modify *
|
| 11 |
|
|
* it under the terms of the GNU General Public License as published by *
|
| 12 |
|
|
* the Free Software Foundation; either version 3 of the License, or *
|
| 13 |
|
|
* (at your option) any later version. *
|
| 14 |
|
|
* *
|
| 15 |
|
|
***************************************************************************/
|
| 16 |
|
|
|
| 17 |
|
|
#ifndef _ARTICLE_POST_H_
|
| 18 |
|
|
#define _ARTICLE_POST_H_
|
| 19 |
|
|
|
| 20 |
|
|
#include "section_list.h"
|
| 21 |
|
|
|
| 22 |
|
|
enum article_post_type_t
|
| 23 |
|
|
{
|
| 24 |
|
|
ARTICLE_POST_NEW = 0,
|
| 25 |
|
|
ARTICLE_POST_EDIT = 1,
|
| 26 |
|
|
ARTICLE_POST_REPLY = 2,
|
| 27 |
|
|
};
|
| 28 |
|
|
typedef enum article_post_type_t ARTICLE_POST_TYPE;
|
| 29 |
|
|
|
| 30 |
|
|
extern int article_post(SECTION_LIST *p_section, ARTICLE *p_article, ARTICLE_POST_TYPE type);
|
| 31 |
|
|
|
| 32 |
|
|
#endif //_ARTICLE_POST_H_
|