FreeRDP
winpr.h File Reference
#include <winpr/platform.h>

Macros

#define WINPR_API
 
#define WINPR_ATTR_MALLOC(deallocator, ptrindex)
 
#define WINPR_ATTR_FORMAT_ARG(pos, args)
 
#define WINPR_FORMAT_ARG   _Printf_format_string_
 
#define WINPR_DEPRECATED(obj)   obj
 
#define WINPR_DEPRECATED_VAR(text, obj)   obj
 
#define WINPR_NORETURN(obj)   obj
 
#define WINPR_LOCAL
 
#define WINPR_TLS   __thread
 
#define INLINE   inline
 
#define WINPR_ALIGN64
 
#define WINPR_UNUSED(x)   (void)(x)
 
#define WINPR_CAST_CONST_PTR_AWAY(ptr, dstType)   (dstType) ptr
 
#define WINPR_FUNC_PTR_CAST(ptr, dstType)   (dstType)(uintptr_t) ptr
 

Functions

WINPR_API void winpr_get_version (int *major, int *minor, int *revision)
 
WINPR_API const char * winpr_get_version_string (void)
 
WINPR_API const char * winpr_get_build_revision (void)
 
WINPR_API const char * winpr_get_build_config (void)
 

Macro Definition Documentation

◆ INLINE

#define INLINE   inline

◆ WINPR_ALIGN64

#define WINPR_ALIGN64

◆ WINPR_API

#define WINPR_API

WinPR: Windows Portable Runtime

Copyright 2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

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.

◆ WINPR_ATTR_FORMAT_ARG

#define WINPR_ATTR_FORMAT_ARG (   pos,
  args 
)

◆ WINPR_ATTR_MALLOC

#define WINPR_ATTR_MALLOC (   deallocator,
  ptrindex 
)

◆ WINPR_CAST_CONST_PTR_AWAY

#define WINPR_CAST_CONST_PTR_AWAY (   ptr,
  dstType 
)    (dstType) ptr

◆ WINPR_DEPRECATED

#define WINPR_DEPRECATED (   obj)    obj

◆ WINPR_DEPRECATED_VAR

#define WINPR_DEPRECATED_VAR (   text,
  obj 
)    obj

◆ WINPR_FORMAT_ARG

#define WINPR_FORMAT_ARG   _Printf_format_string_

◆ WINPR_FUNC_PTR_CAST

#define WINPR_FUNC_PTR_CAST (   ptr,
  dstType 
)    (dstType)(uintptr_t) ptr

◆ WINPR_LOCAL

#define WINPR_LOCAL

◆ WINPR_NORETURN

#define WINPR_NORETURN (   obj )    obj

◆ WINPR_TLS

#define WINPR_TLS   __thread

◆ WINPR_UNUSED

#define WINPR_UNUSED (   x)    (void)(x)

Function Documentation

◆ winpr_get_build_config()

WINPR_API const char* winpr_get_build_config ( void  )
Here is the caller graph for this function:

◆ winpr_get_build_revision()

WINPR_API const char* winpr_get_build_revision ( void  )
Here is the caller graph for this function:

◆ winpr_get_version()

WINPR_API void winpr_get_version ( int *  major,
int *  minor,
int *  revision 
)

WinPR: Windows Portable Runtime Debugging Utils

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.

Here is the caller graph for this function:

◆ winpr_get_version_string()

WINPR_API const char* winpr_get_version_string ( void  )
Here is the caller graph for this function: