mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-09 09:17:34 +00:00
20 lines
497 B
C
20 lines
497 B
C
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||
|
|
||
|
#ifndef _CPR_LINUX_ERRNO_H_
|
||
|
#define _CPR_LINUX_ERRNO_H_
|
||
|
|
||
|
#include <errno.h>
|
||
|
|
||
|
/*
|
||
|
* Maintain re-entrant nature by wrapping 'errno'
|
||
|
*/
|
||
|
/** @def cpr_errno is used by pSIPCC. MUST be defined by the CPR layer.
|
||
|
*/
|
||
|
#define cpr_errno cprTranslateErrno()
|
||
|
|
||
|
int16_t cprTranslateErrno(void);
|
||
|
|
||
|
#endif
|