X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/3309f0f4c6885cc382fb6fa77493ae68bd4eb5b0..b59190783bd677264eab33017f6438d9de147e17:/include/minilib.h?ds=sidebyside diff --git a/include/minilib.h b/include/minilib.h index 90abfc9..ef4f302 100644 --- a/include/minilib.h +++ b/include/minilib.h @@ -4,6 +4,7 @@ #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); @@ -17,5 +18,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