Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Examples

errorlist.c

Go to the documentation of this file.
00001 /*
00002   This file is part of FreeSDP
00003   Copyright (C) 2001, 2002 Federico Montesino Pouzols <fedemp@suidzer0.org>
00004 
00005   FreeSDP is free software; you can redistribute it and/or modify it
00006   under the terms of the GNU General Public License as published by
00007   the Free Software Foundation; either version 2 of the License, or
00008   (at your option) any later version.
00009 
00010   This program is distributed in the hope that it will be useful,
00011   but WITHOUT ANY WARRANTY; without even the implied warranty of
00012   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013   GNU General Public License for more details.
00014 
00015   You should have received a copy of the GNU General Public License
00016   along with this program; if not, write to the Free Software
00017   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
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

Generated on Sun Jan 18 21:12:43 2004 for FreeSDP by doxygen 1.3.4