llextendedstatus.h

Go to the documentation of this file.
00001 
00033 #ifndef LL_LLEXTENDEDSTATUS_H
00034 #define LL_LLEXTENDEDSTATUS_H
00035 
00036 
00037 typedef S32 LLExtStat;
00038 
00039 
00040 // Status provider groups - Top bits indicate which status type it is
00041 // Zero is common status code (next section)
00042 const LLExtStat LL_EXSTAT_CURL_RESULT   = 1L<<30; // serviced by curl - use 1L if we really implement the below
00043 const LLExtStat LL_EXSTAT_RES_RESULT    = 2L<<30; // serviced by resident copy
00044 const LLExtStat LL_EXSTAT_VFS_RESULT    = 3L<<30; // serviced by vfs
00045 
00046 
00047 // Common Status Codes
00048 //
00049 const LLExtStat LL_EXSTAT_NONE                          = 0x00000; // No extra info here - sorry!
00050 const LLExtStat LL_EXSTAT_NULL_UUID                     = 0x10001; // null asset ID
00051 const LLExtStat LL_EXSTAT_NO_UPSTREAM           = 0x10002; // attempt to upload without a valid upstream method/provider
00052 const LLExtStat LL_EXSTAT_REQUEST_DROPPED       = 0x10003; // request was dropped unserviced
00053 const LLExtStat LL_EXSTAT_NONEXISTENT_FILE      = 0x10004; // trying to upload a file that doesn't exist
00054 const LLExtStat LL_EXSTAT_BLOCKED_FILE          = 0x10005; // trying to upload a file that we can't open
00055 
00056 
00057 // curl status codes:
00058 //
00059 // Mask off LL_EXSTAT_CURL_RESULT for original result and
00060 // see: libraries/include/curl/curl.h
00061 
00062 
00063 // Memory-Resident status codes:
00064 // None at present
00065 
00066 
00067 // VFS status codes:
00068 const LLExtStat LL_EXSTAT_VFS_CACHED    = LL_EXSTAT_VFS_RESULT | 0x0001;
00069 const LLExtStat LL_EXSTAT_VFS_CORRUPT   = LL_EXSTAT_VFS_RESULT | 0x0002;
00070 
00071 
00072 #endif // LL_LLEXTENDEDSTATUS_H

Generated on Thu Jul 1 06:08:29 2010 for Second Life Viewer by  doxygen 1.4.7