You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
578 B
C++
19 lines
578 B
C++
2 years ago
|
// This file is under GNU General Public License 3.0
|
||
|
// see LICENSE.txt
|
||
|
|
||
|
#ifndef LIBPEPADAPTER_STATUS_TO_STRING_HH
|
||
|
#define LIBPEPADAPTER_STATUS_TO_STRING_HH
|
||
5 years ago
|
|
||
|
#include <pEp/pEpEngine.h>
|
||
4 years ago
|
#include <pEp/status_to_string.h>
|
||
5 years ago
|
#include <string>
|
||
|
|
||
2 years ago
|
namespace pEp {
|
||
4 years ago
|
// creates a textual string (returned by pep_status_to_string() ) and the numerical status value.
|
||
5 years ago
|
// in pEpEngine.h positive values are in hex value, negatives in decimal. So we follow this.
|
||
|
std::string status_to_string(PEP_STATUS status);
|
||
2 years ago
|
|
||
5 years ago
|
} // end of namespace pEp
|
||
2 years ago
|
|
||
|
#endif // LIBPEPADAPTER_STATUS_TO_STRING_HH
|