FreeRDP
errbase.c File Reference
#include <stdio.h>
#include <freerdp/log.h>
#include "errinfo.h"

Macros

#define TAG   FREERDP_TAG("core")
 
#define ERRBASE_DEFINE(_code)   { ERRBASE_##_code , "ERRBASE_" #_code , ERRBASE_##_code##_STRING }
 
#define ERRBASE_SUCCESS_STRING   "Success."
 
#define ERRBASE_NONE_STRING   ""
 

Functions

const char * freerdp_get_error_base_string (UINT32 code)
 
const char * freerdp_get_error_base_name (UINT32 code)
 

Variables

static const ERRINFO ERRBASE_CODES []
 

Macro Definition Documentation

#define ERRBASE_DEFINE (   _code)    { ERRBASE_##_code , "ERRBASE_" #_code , ERRBASE_##_code##_STRING }
#define ERRBASE_NONE_STRING   ""
#define ERRBASE_SUCCESS_STRING   "Success."
#define TAG   FREERDP_TAG("core")

FreeRDP: A Remote Desktop Protocol Implementation Error Base

Copyright 2015 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m Copyright 2015 Thincast Technologies GmbH

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Function Documentation

const char* freerdp_get_error_base_name ( UINT32  code)

Here is the caller graph for this function:

const char* freerdp_get_error_base_string ( UINT32  code)

Here is the caller graph for this function:

Variable Documentation

const ERRINFO ERRBASE_CODES[]
static
Initial value:
=
{
ERRBASE_DEFINE(SUCCESS),
}
#define ERRBASE_DEFINE(_code)
Definition: errbase.c:33