* Acess2
* Common Library Functions
*/
-#include <common.h>
+#include <acess.h>
// === CONSTANTS ===
#define RANDOM_SEED 0xACE55052
}
/**
- * \fn int ByteSum(void *Ptr, int Size)
+ * \fn Uint8 ByteSum(void *Ptr, int Size)
* \brief Adds the bytes in a memory region and returns the sum
*/
-int ByteSum(void *Ptr, int Size)
+Uint8 ByteSum(void *Ptr, int Size)
{
- int sum = 0;
+ Uint8 sum = 0;
while(Size--) sum += *(Uint8*)Ptr++;
return sum;
}
return -1;
}
+EXPORT(strlen);
EXPORT(strdup);
EXPORT(strcmp);
+EXPORT(strncmp);
EXPORT(strcpy);
+//EXPORT(strncpy);
EXPORT(timestamp);
EXPORT(ReadUTF8);
EXPORT(CheckMem);
EXPORT(CheckString);
+EXPORT(LookupString);