25 lines
413 B
C
25 lines
413 B
C
|
#ifndef MD2_COMMON_H
|
||
|
#define MD2_COMMON_H
|
||
|
|
||
|
#include <stdbool.h>
|
||
|
#include <stdint.h>
|
||
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <string.h>
|
||
|
#include <sys/types.h>
|
||
|
|
||
|
/**
|
||
|
* @brief Some digits of pi
|
||
|
*
|
||
|
*/
|
||
|
extern unsigned char MD2_PI_SUBST[256];
|
||
|
|
||
|
/**
|
||
|
* @brief Print a buffer for debugging
|
||
|
*
|
||
|
* @param len length
|
||
|
* @param buf buffer
|
||
|
*/
|
||
|
void md2_print_buf(size_t len, uint8_t buf[len]);
|
||
|
|
||
|
#endif // MD2_COMMON_H
|