1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-15 20:39:17 +00:00
hashcat/include/memory.h
jsteube 3daf0af480 Added docs/credits.txt
Added docs/team.txt
2016-09-11 22:20:15 +02:00

21 lines
405 B
C

/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
#ifndef _MEMORY_H
#define _MEMORY_H
#include <string.h>
#include <stdlib.h>
#define MSG_ENOMEM "Insufficient memory available"
void *mycalloc (size_t nmemb, size_t size);
void myfree (void *ptr);
void *mymalloc (size_t size);
void *myrealloc (void *ptr, size_t oldsz, size_t add);
char *mystrdup (const char *s);
#endif // _MEMORY_H