POK(kernelpart)
/home/jaouen/pok_official/pok/trunk/kernel/include/errno.h
Go to the documentation of this file.
00001 /*
00002  *                               POK header
00003  *
00004  * The following file is a part of the POK project. Any modification should
00005  * made according to the POK licence. You CANNOT use this file or a part of
00006  * this file is this part of a file for your own project
00007  *
00008  * For more information on the POK licence, please see our LICENCE FILE
00009  *
00010  * Please follow the coding guidelines described in doc/CODING_GUIDELINES
00011  *
00012  *                                      Copyright (c) 2007-2009 POK team
00013  *
00014  * Created by julien on Thu Jan 15 23:34:13 2009
00015  */
00016 
00017 
00018 #ifndef __POK_ERRNO_H__
00019 #define __POK_ERRNO_H__
00020 
00021 typedef enum
00022 {
00023                 POK_ERRNO_OK                    =   0,
00024                 POK_ERRNO_EINVAL                =   1,
00025 
00026                 POK_ERRNO_UNAVAILABLE           =   2,
00027                 POK_ERRNO_PARAM                                                                 =   3,
00028                 POK_ERRNO_TOOMANY               =   5,
00029                 POK_ERRNO_EPERM                 =   6,
00030                 POK_ERRNO_EXISTS                =   7,
00031 
00032                 POK_ERRNO_ERANGE                =   8,
00033                 POK_ERRNO_EDOM                  =   9,
00034                 POK_ERRNO_HUGE_VAL              =  10,
00035 
00036                 POK_ERRNO_EFAULT                =  11,
00037 
00038                 POK_ERRNO_THREAD                =  49,
00039                 POK_ERRNO_THREADATTR            =  50,
00040 
00041                 POK_ERRNO_TIME                 =  100,
00042 
00043                 POK_ERRNO_PARTITION_ATTR        = 200,
00044 
00045                 POK_ERRNO_PORT                 =  301,
00046                 POK_ERRNO_NOTFOUND             =  302,
00047                 POK_ERRNO_DIRECTION            =  303,
00048                 POK_ERRNO_SIZE                 =  304,
00049                 POK_ERRNO_DISCIPLINE           =  305,
00050                 POK_ERRNO_PORTPART             =  307,
00051                 POK_ERRNO_EMPTY                =  308,
00052                 POK_ERRNO_KIND                 =  309,
00053                 POK_ERRNO_FULL                 =  311,
00054                 POK_ERRNO_READY                =  310,
00055                 POK_ERRNO_TIMEOUT              =  250,
00056                 POK_ERRNO_MODE                 =  251,
00057 
00058                 POK_ERRNO_LOCKOBJ_UNAVAILABLE  =  500,
00059                 POK_ERRNO_LOCKOBJ_NOTREADY     =  501,
00060                 POK_ERRNO_LOCKOBJ_KIND         =  502,
00061                 POK_ERRNO_LOCKOBJ_POLICY       =  503,
00062 
00063                 POK_ERRNO_PARTITION_MODE       =  601,
00064 
00065                 POK_ERRNO_PARTITION            =  401
00066 } pok_ret_t;
00067 
00068 
00069 #endif