Main Page   Modules   Data Structures   File List   Data Fields   Globals  

lors_opts.h

Go to the documentation of this file.
00001 #ifndef __LORS_OPTS_H__
00002 #define __LORS_OPTS_H__
00003 
00004 #define HAS_OPTION(x,y)  ((x) & (y))
00005 
00006 /* getdepotpool */
00007 #define LORS_CHECKDEPOTS            0x00000001
00008 #define LORS_SERVER_AND_LIST        0x00000002
00009 #define LORS_DEPOTSTATUS            0x00000004
00010 /* subext */
00011 #define LORS_RETURN_ON_ANY_ERROR    0x00000008
00012 #define LORS_RETRY_UNTIL_TIMEOUT    0x00000010
00013 
00014 /* download */
00015 #define LORS_RECOVER                0x00000020
00016 #define LORS_WRITE_AT_ONCE          0x00000040
00017 /* copy*/
00018 #define LORS_COPY                   0x00000040
00019 #define LORS_MCOPY                  0x00000080
00020 #define LORS_BALANCE                0x00000100
00021 
00022 /* trim */
00023 /* which */
00024 #define LORS_TRIM_ALL               0x00000200
00025 #define LORS_TRIM_DEAD              0x00000400
00026 /* how */
00027 #define LORS_TRIM_DECR              0x00000800
00028 #define LORS_TRIM_KILL              0x00001000
00029 #define LORS_TRIM_NOKILL            0x00002000
00030 
00031 /* list */
00032 #define LORS_LIST_LOGICAL           0x00004000
00033 #define LORS_LIST_PHYSICAL          0x00008000
00034 #define LORS_LIST_HUMAN             0x00010000
00035 
00036 /* refresh */
00037 #define LORS_REFRESH_MAX            0x00020000
00038 #define LORS_REFRESH_EXTEND_BY      0x00040000
00039 #define LORS_REFRESH_EXTEND_TO      0x00080000
00040 #define LORS_REFRESH_ABSOLUTE       0x00100000
00041 #define LORS_
00042 
00043 /* mapping query */
00044 #define LORS_QUERY_ALL              0x00200000
00045 #define LORS_QUERY_LIVE             0x00400000
00046 #define LORS_QUERY_DEAD             0x00800000
00047 #define LORS_QUERY_REMOVE           0x01000000
00048 #define LORS_
00049 
00050 /* depot sort metric */
00051 #define SORT_BY_PROXIMITY           0x02000000
00052 #define SORT_BY_BANDWIDTH           0x04000000
00053 
00054 #define LORS_FREE_MAPPINGS          0x08000000
00055 
00056 /* set trim IBP caps */
00057 #define LORS_READ_CAP               0x00000001
00058 #define LORS_WRITE_CAP              0x00000002
00059 #define LORS_MANAGE_CAP             0x00000004
00060 
00061 #endif