mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-06-18 04:00:03 +02:00
Adding "EOSIOKEYGEN" prefix to all header guards.
This commit is contained in:
parent
0e9d23086f
commit
04641354ff
10 changed files with 30 additions and 30 deletions
|
|
@ -21,8 +21,8 @@
|
|||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
#ifndef WIF_H
|
||||
#define WIF_H
|
||||
#ifndef EOSIOKEYGEN_WIF_H
|
||||
#define EOSIOKEYGEN_WIF_H
|
||||
|
||||
#include <string>
|
||||
#include "ec/types.h"
|
||||
|
|
@ -37,4 +37,4 @@ void wif_print_key(const struct ec_keypair *key);
|
|||
|
||||
} // namespace eoskeygen
|
||||
|
||||
#endif /* WIF_H */
|
||||
#endif /* EOSIOKEYGEN_WIF_H */
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@
|
|||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
#ifndef BASE58_H
|
||||
#define BASE58_H
|
||||
#ifndef EOSIOKEYGEN_BASE58_H
|
||||
#define EOSIOKEYGEN_BASE58_H
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
|
@ -35,4 +35,4 @@ std::string base58_encode(const unsigned char* pbegin, const unsigned char* pend
|
|||
|
||||
} //namespace eoskeygen
|
||||
|
||||
#endif /* BASE58_H */
|
||||
#endif /* EOSIOKEYGEN_BASE58_H */
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@
|
|||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
#ifndef BENCHMARK_H
|
||||
#define BENCHMARK_H
|
||||
#ifndef EOSIOKEYGEN_BENCHMARK_H
|
||||
#define EOSIOKEYGEN_BENCHMARK_H
|
||||
|
||||
#include <ctime>
|
||||
|
||||
|
|
@ -37,4 +37,4 @@ void benchmark(size_t num_keys, struct benchmark_result* res);
|
|||
|
||||
} // namespace eoskeygen
|
||||
|
||||
#endif /* BENCHMARK_H */
|
||||
#endif /* EOSIOKEYGEN_BENCHMARK_H */
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@
|
|||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
#ifndef CHECKSUM_H
|
||||
#define CHECKSUM_H
|
||||
#ifndef EOSIOKEYGEN_CHECKSUM_H
|
||||
#define EOSIOKEYGEN_CHECKSUM_H
|
||||
|
||||
#include <cstddef>
|
||||
#include <array>
|
||||
|
|
@ -39,4 +39,4 @@ checksum_t checksum_ripemd160(const unsigned char *data, std::size_t len);
|
|||
|
||||
} // namespace eoskeygen
|
||||
|
||||
#endif /* CHECKSUM_H */
|
||||
#endif /* EOSIOKEYGEN_CHECKSUM_H */
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@
|
|||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
#ifndef CONSOLE_H
|
||||
#define CONSOLE_H
|
||||
#ifndef EOSIOKEYGEN_CONSOLE_H
|
||||
#define EOSIOKEYGEN_CONSOLE_H
|
||||
|
||||
#include <ostream>
|
||||
|
||||
|
|
@ -84,4 +84,4 @@ namespace console {
|
|||
|
||||
} // namespace eoskeygen
|
||||
|
||||
#endif /* CONSOLE_H */
|
||||
#endif /* EOSIOKEYGEN_CONSOLE_H */
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@
|
|||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
#ifndef EC_GENERATE_H
|
||||
#define EC_GENERATE_H
|
||||
#ifndef EOSIOKEYGEN_EC_GENERATE_H
|
||||
#define EOSIOKEYGEN_EC_GENERATE_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
|
|
@ -36,4 +36,4 @@ int ec_generate_key(struct ec_keypair *pair);
|
|||
|
||||
} // namespace eoskeygen
|
||||
|
||||
#endif /* EC_GENERATE_H */
|
||||
#endif /* EOSIOKEYGEN_EC_GENERATE_H */
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@
|
|||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
#ifndef EC_TYPES_H
|
||||
#define EC_TYPES_H
|
||||
#ifndef EOSIOKEYGEN_EC_TYPES_H
|
||||
#define EOSIOKEYGEN_EC_TYPES_H
|
||||
|
||||
#include <array>
|
||||
|
||||
|
|
@ -47,4 +47,4 @@ struct ec_keypair {
|
|||
|
||||
} // namespace eoskeygen
|
||||
|
||||
#endif /* EC_TYPES_H */
|
||||
#endif /* EOSIOKEYGEN_EC_TYPES_H */
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@
|
|||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
#ifndef KEY_SEARCH_H
|
||||
#define KEY_SEARCH_H
|
||||
#ifndef EOSIOKEYGEN_KEY_SEARCH_H
|
||||
#define EOSIOKEYGEN_KEY_SEARCH_H
|
||||
|
||||
#include "string.h"
|
||||
|
||||
|
|
@ -71,4 +71,4 @@ protected :
|
|||
|
||||
} // namespace eoskeygen
|
||||
|
||||
#endif /* KEY_SEARCH_H */
|
||||
#endif /* EOSIOKEYGEN_KEY_SEARCH_H */
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@
|
|||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
#ifndef KEY_SEARCH_HELPSER_H
|
||||
#define KEY_SEARCH_HELPERS_H
|
||||
#ifndef EOSIOKEYGEN_KEY_SEARCH_HELPSER_H
|
||||
#define EOSIOKEYGEN_KEY_SEARCH_HELPERS_H
|
||||
|
||||
#include "string.h"
|
||||
#include "ec/types.h"
|
||||
|
|
@ -42,4 +42,4 @@ bool key_contains_word(const struct ec_keypair* key, const strlist_t& word_list,
|
|||
|
||||
} // namespace eoskeygen
|
||||
|
||||
#endif /* KEY_SEARCH_HELPERS_H */
|
||||
#endif /* EOSIOKEYGEN_KEY_SEARCH_HELPERS_H */
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@
|
|||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
#ifndef STRING_H
|
||||
#define STRING_H
|
||||
#ifndef EOSIOKEYGEN_STRING_H
|
||||
#define EOSIOKEYGEN_STRING_H
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
|
@ -50,4 +50,4 @@ strlist_t l33twords(std::string str);
|
|||
|
||||
} // namespace eoskeygen
|
||||
|
||||
#endif /* STRING_H */
|
||||
#endif /* EOSIOKEYGEN_STRING_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue