tin  2.6.1
About: TIN is a threaded NNTP and spool based UseNet newsreader.
  Fossies Dox: tin-2.6.1.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

main.c File Reference
#include "tin.h"
#include "tcurses.h"
#include "version.h"
Include dependency graph for main.c:

Go to the source code of this file.

Macros

#define OPTIONS   "46aAcdD:f:g:G:hHI:lm:M:nNop:qQrRs:SuvVwxXzZ"
 

Functions

static void create_mail_save_dirs (void)
 
static void read_cmd_line_options (int argc, char *argv[])
 
static void show_intro_page (void)
 
static void update_index_files (void)
 
static void usage (char *theProgname)
 
int main (int argc, char *argv[])
 
int read_cmd_line_groups (void)
 
void giveup (void)
 

Variables

signed long int read_newsrc_lines = -1
 
static char ** cmdargs
 
static int num_cmdargs
 
static int max_cmdargs
 
static t_bool catchup = 0
 
static t_bool update_index = 0
 
static t_bool check_any_unread = 0
 
static t_bool mail_news = 0
 
static t_bool save_news = 0
 
static t_bool start_any_unread = 0
 

Macro Definition Documentation

◆ OPTIONS

#define OPTIONS   "46aAcdD:f:g:G:hHI:lm:M:nNop:qQrRs:SuvVwxXzZ"

Definition at line 457 of file main.c.

Function Documentation

◆ create_mail_save_dirs()

static void create_mail_save_dirs ( void  )
static

◆ giveup()

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 79 of file main.c.

◆ read_cmd_line_groups()

◆ read_cmd_line_options()

◆ show_intro_page()

static void show_intro_page ( void  )
static

◆ update_index_files()

◆ usage()

Variable Documentation

◆ catchup

◆ check_any_unread

t_bool check_any_unread = 0
static

Definition at line 59 of file main.c.

Referenced by main(), and read_cmd_line_options().

◆ cmdargs

char** cmdargs
static

Definition at line 53 of file main.c.

Referenced by read_cmd_line_groups(), and read_cmd_line_options().

◆ mail_news

t_bool mail_news = 0
static

Definition at line 60 of file main.c.

Referenced by main(), and read_cmd_line_options().

◆ max_cmdargs

int max_cmdargs
static

Definition at line 55 of file main.c.

Referenced by read_cmd_line_groups(), and read_cmd_line_options().

◆ num_cmdargs

int num_cmdargs
static

Definition at line 54 of file main.c.

Referenced by read_cmd_line_groups(), and read_cmd_line_options().

◆ read_newsrc_lines

signed long int read_newsrc_lines = -1

Definition at line 51 of file main.c.

Referenced by main(), and tin_done().

◆ save_news

t_bool save_news = 0
static

Definition at line 61 of file main.c.

Referenced by main(), and read_cmd_line_options().

◆ start_any_unread

t_bool start_any_unread = 0
static

Definition at line 62 of file main.c.

Referenced by main(), and read_cmd_line_options().

◆ update_index

t_bool update_index = 0
static

Definition at line 58 of file main.c.

Referenced by main(), and read_cmd_line_options().