| 1 |
/*************************************************************************** |
/* SPDX-License-Identifier: GPL-3.0-or-later */ |
| 2 |
article_post.h - description |
/* |
| 3 |
------------------- |
* article_post |
| 4 |
copyright : (C) 2004-2025 by Leaflet |
* - user interactive feature to post / modify / reply article |
| 5 |
email : leaflet@leafok.com |
* |
| 6 |
***************************************************************************/ |
* Copyright (C) 2004-2025 Leaflet <leaflet@leafok.com> |
| 7 |
|
*/ |
|
/*************************************************************************** |
|
|
* * |
|
|
* This program is free software; you can redistribute it and/or modify * |
|
|
* it under the terms of the GNU General Public License as published by * |
|
|
* the Free Software Foundation; either version 3 of the License, or * |
|
|
* (at your option) any later version. * |
|
|
* * |
|
|
***************************************************************************/ |
|
| 8 |
|
|
| 9 |
#ifndef _ARTICLE_POST_H_ |
#ifndef _ARTICLE_POST_H_ |
| 10 |
#define _ARTICLE_POST_H_ |
#define _ARTICLE_POST_H_ |
| 11 |
|
|
| 12 |
#include "section_list.h" |
#include "section_list.h" |
| 13 |
|
|
| 14 |
extern int article_post(SECTION_LIST *p_section); |
extern int article_post(const SECTION_LIST *p_section, ARTICLE *p_article_new); |
| 15 |
extern int article_modify(SECTION_LIST *p_section, ARTICLE *p_article); |
extern int article_modify(const SECTION_LIST *p_section, const ARTICLE *p_article, ARTICLE *p_article_new); |
| 16 |
extern int article_reply(SECTION_LIST *p_section, ARTICLE *p_article); |
extern int article_reply(const SECTION_LIST *p_section, const ARTICLE *p_article, ARTICLE *p_article_new); |
| 17 |
|
|
| 18 |
#endif //_ARTICLE_POST_H_ |
#endif //_ARTICLE_POST_H_ |