Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

SHReturnCodes.h

Go to the documentation of this file.
00001 #ifndef MN_SH_RETURN_CODES_H 00002 #define MN_SH_RETURN_CODES_H 00003 00004 #include "mnstream.h" 00005 00006 namespace SH 00007 { 00008 00013 enum ReturnCode 00014 { 00015 SH_OK = 0, 00016 00017 SH_FATAL_ERROR_INVALID, 00018 SH_CANT_OPEN_FILE, 00019 SH_ALREADY_INITIALIZED, 00020 SH_NOT_INITIALIZED, 00021 SH_NOT_CONNECTED, 00022 SH_ALREADY_CONNECTED, 00023 SH_MISSING, 00024 SH_INVALID_CONTENT_TYPE, 00025 SH_UNSUPPORTED_CONTENT_TYPE, 00026 SH_NO_DATA, 00027 SH_NO_TIMER, 00028 SH_ACTIVE, 00029 SH_SYSCALL_ERROR, // look at errno for a more specific problem 00030 SH_UNSUPPORTED_SOURCE_UNIT, // file source need pull(bytes) 00031 SH_OUT_OF_MEMORY, // some malloc returned NULL 00032 SH_EOF, 00033 SH_STOP_POS, //specified stop position in file is reached 00034 SH_FORK_FAILED, 00035 00036 // These return codes can be mapped from and to 00037 // stream_event_t values in the RTP utils 00038 SH_ENCODE_EV_EOF, 00039 SH_ENCODE_EV_ERROR, 00040 SH_ENCODE_EV_TIME, 00041 SH_ENCODE_EV_NOT_LENGTH, 00042 SH_ENCODE_EV_RT, 00043 00044 SH_LOW_WATERMARK, 00045 SH_HIGH_WATERMARK, 00046 00047 SH_RTP_LC_INCOMPLETE = 995, 00048 SH_RTP_LC_NO = 996, 00049 SH_RTP_LC_YES = 997, 00050 SH_RTP_LIVE_SESSION_OVER = 998, 00051 SH_RTP_LC_COMPLETE = 999 00052 }; 00053 00054 typedef ReturnCode SH_RC; 00055 00056 ostream& operator<<( ostream& ostr, ReturnCode rc ); 00057 00059 00060 }; // namespace SH 00061 00062 #endif /* MN_SH_RETURN_CODES_H */ 00063

Generated on Sun Mar 6 13:35:50 2005 for Komssys by doxygen 1.3.8