//This program is free software: you can redistribute it and/or modify it under the terms #of the GNU General Public License as published by the Free Software Foundation, either #version 3 of the License, or (at your option) any later version. //This program is distributed in the hope that it will be useful, but WITHOUT ANY #WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A #PARTICULAR PURPOSE. See the GNU General Public License for more details. //You should have received a copy of the GNU General Public License along with this #program. If not, see #ifndef CRYPT_H #define CRYPT_H /* crypt.h */ /* file name pointer structure */ struct fnames { struct fnames *next; char name[13]; } ; /* Possible delete modes for an input file */ #define DELETE_ALL_NORMAL 1 #define DELETE_NORMAL 2 #define DELETE_ALL_DOD 3 #define DELETE_DOD 4 /* Pipe commitments */ #define PIPE_UNUSED 0 #define PIPE_FOR_COMMAND 1 #define PIPE_USED 4 /* key types for communication with crypt_key() */ #define KEY_FILE 1 #define KEY_IMMEDIATE 2 /* Select encryption / decryption */ #define ENCRYPTION_SELECT 0 #define DECRYPTION_SELECT 1 /* functions in the main crypt.c module */ //void parseline ( char * ); //void nextline( int, char ** ); //void delet( int, char * ); //int give_help( int, char ** ); //void usage( void ); //void copyright( void ); /* functions in the specific encryption module */ //char **crypt_help( void ); //int crypt_key( int, char * ); //int crypt_select( int ); //int crypt_file( char *, char * ); //void crypt_key_erase( void ); #endif // CRYPT_H