1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- /*
- Software License
- Copyright (C) 2021-05-24 Xoronos
- 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, version 3.
- 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 <https://www.gnu.org/licenses/>.
- */
- /*
- Liabilities
- The software is provided "AS IS" without any warranty of any kind, either expressed,
- implied, or statutory, including, but not limited to, any warranty that the software
- will conform to specifications, any implied warranties of merchantability, fitness
- for a particular purpose, and freedom from infringement, and any warranty that the
- documentation will conform to the software, or any warranty that the software will
- be error free.
- In no event shall Xoronos be liable for any damages, including, but not limited to,
- direct, indirect, special or consequential damages, arising out of, resulting from,
- or in any way connected with this software, whether or not based upon warranty,
- contract, tort, or otherwise, whether or not injury was sustained by persons or
- property or otherwise, and whether or not loss was sustained from, or arose out of
- the results of, or use of, the software or services provided hereunder.
- To request the provided software under a different license you can contact us at
- support@xoronos.com
- */
- #ifndef CONFGEN_LIB_H
- #define CONFGEN_LIB_H
- #include <stdio.h>
- #include <stdint.h>
- #include <string.h>
- #include <stdlib.h>
- #include "xrn_settings.h"
- #include "xrn_common.h"
- #include "xrn_arithmetic.h"
- #include "xrn_core.h"
- #include "xrn_crypto.h"
- #include "xrn_encoder.h"
- #include "xgenesis_bases_init_confgen.h"
- #define XRN_MAX_BUFF_SIZE_CONFGEN 256
- int confgen( FILE * permutation_settings_fp, FILE * encoding_settings_fp
- );
- int permutation_compilation_settings( uint64_t permutation_rnd[4]
- );
- int encoding_compilation_settings( uint64_t encoding_rnd[4]
- );
- int print_permutation_compilation_settings( uint64_t permutation_rnd[4], FILE * permutation_settings_fp
- );
- int print_encoding_compilation_settings( uint64_t encoding_rnd[4], FILE * encoding_settings_fp
- );
- #endif
|