[DEV/API] change .h in .hpp
This commit is contained in:
parent
4e3bcee633
commit
904f76b9b7
@ -3,8 +3,8 @@
|
|||||||
* @copyright 2011, Edouard DUPIN, all right reserved
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||||
* @license APACHE v2.0 (see license file)
|
* @license APACHE v2.0 (see license file)
|
||||||
*/
|
*/
|
||||||
#include <etk/types.h>
|
#include <etk/types.hpp>
|
||||||
#include <algue/base64.h>
|
#include <algue/base64.hpp>
|
||||||
|
|
||||||
static const std::string base64Elements = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
static const std::string base64Elements = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.hpp>
|
||||||
|
|
||||||
namespace algue {
|
namespace algue {
|
||||||
namespace base64 {
|
namespace base64 {
|
@ -4,7 +4,7 @@
|
|||||||
* @license APACHE v2.0 (see license file)
|
* @license APACHE v2.0 (see license file)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <algue/debug.h>
|
#include <algue/debug.hpp>
|
||||||
|
|
||||||
int32_t algue::getLogId() {
|
int32_t algue::getLogId() {
|
||||||
static int32_t g_val = elog::registerInstance("algue");
|
static int32_t g_val = elog::registerInstance("algue");
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <elog/log.h>
|
#include <elog/log.hpp>
|
||||||
|
|
||||||
namespace algue {
|
namespace algue {
|
||||||
int32_t getLogId();
|
int32_t getLogId();
|
@ -3,8 +3,8 @@
|
|||||||
* @copyright 2011, Edouard DUPIN, all right reserved
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||||
* @license APACHE v2.0 (see license file)
|
* @license APACHE v2.0 (see license file)
|
||||||
*/
|
*/
|
||||||
#include <etk/types.h>
|
#include <etk/types.hpp>
|
||||||
#include <algue/md5.h>
|
#include <algue/md5.hpp>
|
||||||
#include <openssl/md5.h>
|
#include <openssl/md5.h>
|
||||||
|
|
||||||
std::vector<uint8_t> algue::md5::encode(const uint8_t* _data, int32_t _len) {
|
std::vector<uint8_t> algue::md5::encode(const uint8_t* _data, int32_t _len) {
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.hp>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Basic Algue library namespace
|
* @brief Basic Algue library namespace
|
@ -3,8 +3,8 @@
|
|||||||
* @copyright 2011, Edouard DUPIN, all right reserved
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||||
* @license APACHE v2.0 (see license file)
|
* @license APACHE v2.0 (see license file)
|
||||||
*/
|
*/
|
||||||
#include <etk/types.h>
|
#include <etk/types.hpp>
|
||||||
#include <algue/sha1.h>
|
#include <algue/sha1.hpp>
|
||||||
#include <openssl/sha.h>
|
#include <openssl/sha.h>
|
||||||
|
|
||||||
std::vector<uint8_t> algue::sha1::encode(const uint8_t* _data, int32_t _len) {
|
std::vector<uint8_t> algue::sha1::encode(const uint8_t* _data, int32_t _len) {
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.hpp>
|
||||||
|
|
||||||
namespace algue {
|
namespace algue {
|
||||||
namespace sha1 {
|
namespace sha1 {
|
@ -3,8 +3,8 @@
|
|||||||
* @copyright 2011, Edouard DUPIN, all right reserved
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||||
* @license APACHE v2.0 (see license file)
|
* @license APACHE v2.0 (see license file)
|
||||||
*/
|
*/
|
||||||
#include <etk/types.h>
|
#include <etk/types.hpp>
|
||||||
#include <algue/sha512.h>
|
#include <algue/sha512.hpp>
|
||||||
#include <openssl/sha.h>
|
#include <openssl/sha.h>
|
||||||
|
|
||||||
std::vector<uint8_t> algue::sha512::encode(const uint8_t* _data, int32_t _len) {
|
std::vector<uint8_t> algue::sha512::encode(const uint8_t* _data, int32_t _len) {
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <etk/types.h>
|
#include <etk/types.hpp>
|
||||||
|
|
||||||
namespace algue {
|
namespace algue {
|
||||||
namespace sha512 {
|
namespace sha512 {
|
@ -36,10 +36,10 @@ def create(target, module_name):
|
|||||||
'algue/md5.cpp'
|
'algue/md5.cpp'
|
||||||
])
|
])
|
||||||
my_module.add_header_file([
|
my_module.add_header_file([
|
||||||
'algue/base64.h',
|
'algue/base64.hpp',
|
||||||
'algue/sha1.h',
|
'algue/sha1.hpp',
|
||||||
'algue/sha512.h',
|
'algue/sha512.hpp',
|
||||||
'algue/md5.h',
|
'algue/md5.hpp',
|
||||||
])
|
])
|
||||||
my_module.add_path(tools.get_current_path(__file__))
|
my_module.add_path(tools.get_current_path(__file__))
|
||||||
return my_module
|
return my_module
|
||||||
|
Loading…
x
Reference in New Issue
Block a user