File: [local] / src / usr.bin / tcfs / Attic / tcfserrors.h (download)
Revision 1.5, Sat Feb 16 21:27:54 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1 Changes since 1.4: +2 -2 lines
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
/* $OpenBSD: tcfserrors.h,v 1.5 2002/02/16 21:27:54 millert Exp $ */
/*
* Transparent Cryptographic File System (TCFS) for NetBSD
* Author and mantainer: Luigi Catuogno [luicat@tcfs.unisa.it]
*
* references: http://tcfs.dia.unisa.it
* tcfs-bsd@tcfs.unisa.it
*/
/*
* Base utility set v0.1
*/
#ifndef _ERRORS_H
#define _ERRORS_H
enum
{
OK=0, /* Ok, no error */
ER_CUSTOM, /* Custom error message */
ER_UNKOPT, /* Unknown command line option */
ER_AUTH, /* User authentication error */
ER_MEM, /* Out of memory error */
ER_TCFS, /* User is not allowed to use TCFS */
ER_USER, /* User error */
ER_PERM, /* Error calling TCFS_IOC_PERMANENT ioctl */
ER_ENABLE, /* Error calling TCFS_IOC_LOGIN ioctl */
ER_DISABLE, /* Error calling TCFS_IOC_DISABLE ioctl */
ER_COUNT /* Error calling TCFS_IOC_COUNT ioctl */
};
void tcfs_error(int, char *);
#endif