00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00027 #ifndef FSDP_ERRORLIST_C
00028 #define FSDP_ERRORLIST_C
00029
00030 #include <freesdp/common.h>
00031
00032 const char *fsdp_error_t_s[]={
00033 "No error",
00034 "Illegal character detected",
00035 "Missing version item",
00036 "Invalid version item",
00037 "Owner item not present",
00038 "Parse error in owner item",
00039 "Session name not present",
00040 "Empty session name item",
00041 "Syntax error in connection item",
00042 "Unrecognized address type in connection item",
00043 "Unrecognized network type in connection item",
00044 "Parse error in bandwith item",
00045 "No time period for the session",
00046 "Parse error in time item",
00047 "Parse error in repeat time item",
00048 "Parse error in timezone item",
00049 "Unknown encryption method",
00050 "Syntax error in an attribute item",
00051 "Syntax error in an rtpmap attribute item",
00052 "Unknown session type in a session-level attribute",
00053 "Parse error in media item",
00054 "Unknown media type in media item",
00055 "Unknown media transport",
00056 "Unknown extra lines in description item",
00057 "Unknown line found",
00058 "No connection information provided",
00059 "Description item does not fit in MAXSIZE",
00060 "Internal error",
00061 "Invalid function parameters",
00062 "Buffer overflow"
00063 };
00064
00065
00066 const char * fsdp_strerror(fsdp_error_t err_no){
00067 return(fsdp_error_t_s[err_no]);
00068 }
00069
00070 #endif