vo_vdpau: implement screenshots
[mplayer.git] / stream / freesdp / errorlist.c
blob1fb6e93851fde6b170ce5641876c24e2b1919e2e
1 /*
2 This file is part of FreeSDP
3 Copyright (C) 2001, 2002 Federico Montesino Pouzols <fedemp@suidzer0.org>
5 FreeSDP is free software; you can redistribute it and/or modify it
6 under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 /**
21 * @file errorlist.c
23 * @short Translation table for error numbers
27 #ifndef FSDP_ERRORLIST_C
28 #define FSDP_ERRORLIST_C
30 #include "common.h"
32 const char *fsdp_error_t_s[] = {
33 "No error",/** FSDPE_OK **/
34 "Illegal character detected",/** FSDPE_ILLEGAL_CHARACTER **/
35 "Missing version item", /** FSDPE_MISSING_VERSION **/
36 "Invalid version item", /** FSDPE_INVALID_VERSION **/
37 "Owner item not present", /** FSDPE_MISSING_OWNER **/
38 "Parse error in owner item", /** FSDPE_INVALID_OWNER **/
39 "Session name not present", /** FSDPE_MISSING_NAME **/
40 "Empty session name item", /** FSDPE_EMPTY_NAME **/
41 "Syntax error in connection item", /** FSDPE_INVALID_CONNECTION **/
42 "Unrecognized address type in connection item", /** FSDPE_INVALID_CONNECTION_ADDRTYPE **/
43 "Unrecognized network type in connection item", /** FSDPE_INVALID_CONNECTION_NETTYPE **/
44 "Parse error in bandwith item", /** FSDPE_INVALID_BANDWIDTH **/
45 "No time period for the session", /** FSDPE_MISSING_TIME **/
46 "Parse error in time item", /** FSDPE_INVALID_TIME **/
47 "Parse error in repeat time item", /** FSDPE_INVALID_REPEAT **/
48 "Parse error in timezone item", /** FSDPE_INVALID_TIMEZONE **/
49 "Unknown encryption method", /** FSDPE_INVALID_ENCRYPTION_METHOD **/
50 "Syntax error in an attribute item", /** FSDPE_INVALID_ATTRIBUTE **/
51 "Syntax error in an rtpmap attribute item", /** FSDPE_INVALID_ATTRIBUTE_RTPMAP **/
52 "Unknown session type in a session-level attribute", /** FSDPE_INVALID_SESSION_TYPE **/
53 "Parse error in media item", /** FSDPE_INVALID_MEDIA **/
54 "Unknown media type in media item", /** FSDPE_UNKNOWN_MEDIA_TYPE **/
55 "Unknown media transport", /** FSDPE_UNKNOWN_MEDIA_TRANSPORT **/
56 "Unknown extra lines in description item", /** FSDPE_OVERFILLED **/
57 "Unknown line found", /** FSDPE_INVALID_LINE **/
58 "No connection information provided", /** FSDPE_MISSING_CONNECTION_INFO **/
59 "Description item does not fit in MAXSIZE", /** FSDPE_INVALID_INDEX **/
60 "Internal error", /** FSDPE_INTERNAL_ERROR **/
61 "Invalid function parameters", /** FSDPE_INVALID_PARAMETER **/
62 "Buffer overflow" /** FSDPE_BUFFER_OVERFLOW **/
66 const char *
67 fsdp_strerror (fsdp_error_t err_no)
69 return (fsdp_error_t_s[err_no]);
72 #endif /* FSDP_ERRORLIST_C */