[BACK]Return to tcfslib.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / tcfs

Annotation of src/usr.bin/tcfs/tcfslib.h, Revision 1.1

1.1     ! provos      1: /*
        !             2:  *     Transparent Cryptographic File System (TCFS) for NetBSD
        !             3:  *     Author and mantainer:   Luigi Catuogno [luicat@tcfs.unisa.it]
        !             4:  *
        !             5:  *     references:             http://tcfs.dia.unisa.it
        !             6:  *                             tcfs-bsd@tcfs.unisa.it
        !             7:  */
        !             8:
        !             9: /*
        !            10:  *     Base utility set v0.1
        !            11:  *
        !            12:  *       $Source: /usr/src/tcfs-utils_0.1/include/RCS/tcfslib.h,v $
        !            13:  *        $State: Exp $
        !            14:  *     $Revision: 1.1 $
        !            15:  *       $Author: luicat $
        !            16:  *         $Date: 2000/01/14 13:45:28 $
        !            17:  *
        !            18:  */
        !            19:
        !            20: /* RCS_HEADER_ENDS_HERE */
        !            21:
        !            22:
        !            23:
        !            24: #include <unistd.h>
        !            25: #include "tcfsdefines.h"
        !            26: #include "tcfspwdb.h"
        !            27:
        !            28: extern int tcfspwdbr_new (tcfspwdb **p);
        !            29: extern int tcfspwdbr_edit (tcfspwdb **p, int i, ...);
        !            30: extern int tcfspwdbr_read (tcfspwdb *p, int i, ...);
        !            31: extern void tcfspwdbr_dispose (tcfspwdb *p);
        !            32: extern int tcfsgpwdbr_new (tcfsgpwdb **p);
        !            33: extern int tcfsgpwdbr_edit (tcfsgpwdb **p, int i, ...);
        !            34: extern int tcfsgpwdbr_read (tcfsgpwdb *p, int i, ...);
        !            35: extern void tcfsgpwdbr_dispose (tcfsgpwdb *p);
        !            36: extern int tcfs_chgpwd (char *u, char *o, char *p);
        !            37: extern int tcfs_group_chgpwd (char *u, gid_t gid, char *o, char *p);
        !            38: extern int tcfs_chgpassword (char *u, char *o, char *p);
        !            39: extern int tcfs_decrypt_key (char *u, char *pwd, unsigned char *t, unsigned char *tk, unsigned int flag);
        !            40: extern int tcfs_encrypt_key (char *u, char *pw, unsigned char *key, unsigned char *ek, unsigned int flag);
        !            41: extern char *tcfs_decode (char *t, int *l);
        !            42: extern char *tcfs_encode (char *t, int l);
        !            43: extern char *gentcfskey (void);
        !            44:
        !            45: