diff options
Diffstat (limited to 'articles.c')
-rw-r--r-- | articles.c | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -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; +} |