yapet/main.cc File Reference

The file holding the main() function. More...

Go to the source code of this file.

Functions

int main (int argc, char **argv)
void set_rlimit ()
void show_copyright ()
void show_help (char *prgname)
void show_version ()

Variables

const char COPYRIGHT []


Detailed Description

Holds the main() function. It does also process command line arguments and initialize curses.

Definition in file main.cc.


Function Documentation

int main ( int  argc,
char **  argv 
)

void set_rlimit (  ) 

Definition at line 103 of file main.cc.

Referenced by main().

void show_copyright (  ) 

Definition at line 140 of file main.cc.

References COPYRIGHT.

Referenced by main().

void show_help ( char *  prgname  ) 

Definition at line 144 of file main.cc.

References show_version().

Referenced by main().

void show_version (  ) 

Definition at line 136 of file main.cc.

Referenced by main(), and show_help().


Variable Documentation

const char COPYRIGHT[]

Initial value:

 "YAPET -- Yet Another Password Encryption Tool\n" \
    "Copyright (C) 2008  Rafael Ostertag\n"             \
    "\n"                                \
    "This program is free software: you can redistribute it and/or modify\n" \
    "it under the terms of the GNU General Public License as published by\n" \
    "the Free Software Foundation, either version 3 of the License, or\n" \
    "(at your option) any later version.\n"             \
    "\n"                                \
    "This program is distributed in the hope that it will be useful,\n" \
    "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"  \
    "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n"   \
    "GNU General Public License for more details.\n"            \
    "\n"                                \
    "You should have received a copy of the GNU General Public License\n" \
    "along with this program.  If not, see <http://www.gnu.org/licenses/>.\n"

Definition at line 86 of file main.cc.

Referenced by show_copyright().


Generated on Sun Jul 20 13:01:39 2008 for YAPET by  doxygen 1.5.6