X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/644af6b41a9ecbefecb70ec4cca307974e1300c4..037ce545946a8bc2d482d24e3bbdb6174a93ca46:/include/minilib.h diff --git a/include/minilib.h b/include/minilib.h index 90abfc9..d743d5b 100644 --- a/include/minilib.h +++ b/include/minilib.h @@ -4,10 +4,13 @@ #include extern void memcpy(void *dest, const void *src, int bytes); +extern void memset(void *dest, int data, int bytes); extern void memmove(void *dest, void *src, int bytes); extern int memcmp(const char *a2, const char *a1, int bytes); extern int strcmp(const char *a2, const char *a1); +extern int strncmp(const char *a2, const char *a1, int n); extern int strlen(const char *c); +extern void strcat(char *dest, char *src); extern void strcpy(char *a2, const char *a1); extern void puts(const char *c); extern void tohex(char *s, unsigned long l); @@ -17,5 +20,6 @@ extern int vsnprintf(char *s, int size, const char *fmt, va_list args); extern int sprintf(char *s, const char *fmt, ...); extern int snprintf(char *s, int size, const char *fmt, ...); extern unsigned short htons(unsigned short in); +extern unsigned int htonl(unsigned int in); #endif