summaryrefslogtreecommitdiff
path: root/articles.c
diff options
context:
space:
mode:
Diffstat (limited to 'articles.c')
-rw-r--r--articles.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/articles.c b/articles.c
index b3553c0..c071bf1 100644
--- a/articles.c
+++ b/articles.c
@@ -98,3 +98,31 @@ int bbs_article( term_screen *ts, const char *fname )
return ret;
}
+
+int bbs_article_list( term_screen *ts, const char *dir_name )
+{
+ int ret=-1;
+ int max_x=-1, max_y=-1;
+
+ if ( ts->mode == SCREEN_MODE_80x24 )
+ {
+ max_x = 80;
+ max_y = 24;
+ } else
+ {
+ printf("Unknown mode\n");
+ max_x = 80;
+ max_y = 24;
+ }
+
+ bbs_log_article_list( NULL );
+
+ if ( dir_name != NULL )
+ {
+ //should have some bugs be carefull
+
+ ret = 0;
+ }
+
+ return ret;
+}