"Fossies" - the Fresh Open Source Software Archive

Member "passgen-1.2.0/src/passgen.h" (18 Jun 2011, 586 Bytes) of package /linux/privat/old/passgen-1.2.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "passgen.h" see the Fossies "Dox" file reference documentation.

    1 /*  Author:     V. Alex Brennen (vab@mit.edu)   */
    2 /*  Copyright:      None                */
    3 /*  License:        Public Domain           */
    4 /*  Created:        2006.09.15          */
    5 /*  Last Updated:   2011.06.18          */
    6 
    7 #include <stdio.h>
    8 #include <stdlib.h>
    9 #include <string.h>
   10 #include <ctype.h>
   11 
   12 #include "passgen_conf.h"
   13 #include "passgen_datastructures.h"
   14 
   15 
   16 /* The potential password types as static flags */
   17 #define D_DEFAULT   0
   18 #define D_ALPHA_NUMERIC 1
   19 #define D_ALPHA_ONLY    2
   20 #define D_NUMERIC_ONLY  3
   21 
   22 
   23 /* Function prototypes */
   24 int map_data_to_chars(struct passgen_config *);
   25 int print_help(void);
   26 int invalid_argument(void);
   27