portable_endian.h (n2n-3.0) | : | portable_endian.h (n2n-3.1.1) | ||
---|---|---|---|---|
/** | ||||
* (C) 2007-22 - ntop.org and contributors | ||||
* | ||||
* This program is free software; you can redistribute it and/or modify | ||||
* it under the terms of the GNU General Public License as published by | ||||
* the Free Software Foundation; either version 3 of the License, or | ||||
* (at your option) any later version. | ||||
* | ||||
* This program is distributed in the hope that it will be useful, | ||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||||
* GNU General Public License for more details. | ||||
* | ||||
* You should have received a copy of the GNU General Public License | ||||
* along with this program; if not see see <http://www.gnu.org/licenses/> | ||||
* | ||||
*/ | ||||
// taken from | // taken from | |||
// https://raw.githubusercontent.com/pyca/bcrypt/master/src/_csrc/portable_endia n.h | // https://raw.githubusercontent.com/pyca/bcrypt/master/src/_csrc/portable_endia n.h | |||
// as of June 11, 2020 | // as of June 11, 2020 | |||
// "License": Public Domain | // "License": Public Domain | |||
// I, Mathias Panzenböck, place this file hereby into the public domain. Use it at your own risk for whatever you like. | // I, Mathias Panzenböck, place this file hereby into the public domain. Use it at your own risk for whatever you like. | |||
// In case there are jurisdictions that don't support putting things in the publ ic domain you can also consider it to | // In case there are jurisdictions that don't support putting things in the publ ic domain you can also consider it to | |||
// be "dual licensed" under the BSD, MIT and Apache licenses, if you want to. Th is code is trivial anyway. Consider it | // be "dual licensed" under the BSD, MIT and Apache licenses, if you want to. Th is code is trivial anyway. Consider it | |||
// an example on how to get the endian conversion functions on different platfor ms. | // an example on how to get the endian conversion functions on different platfor ms. | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 18 lines changed or added |