X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/36ce375d87e8dd0fdee14de4fbc35c1aef56d7e9..3c2c3b0dd358924410d12f8a71b5fee7a3f02e83:/include/minilib.h?ds=inline diff --git a/include/minilib.h b/include/minilib.h index 747b2aa..90abfc9 100644 --- a/include/minilib.h +++ b/include/minilib.h @@ -1,9 +1,21 @@ #ifndef MINILIB_H #define MINILIB_H -void memmove(void *dest, void *src, int bytes); -int strcmp(const char *a2, const char *a1); -void strcpy(char *a2, const char *a1); -void tohex(char *s, unsigned long l); +#include + +extern void memcpy(void *dest, const void *src, 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 strlen(const char *c); +extern void strcpy(char *a2, const char *a1); +extern void puts(const char *c); +extern void tohex(char *s, unsigned long l); +extern void puthex(unsigned long l); +extern int vsprintf(char *s, const char *fmt, va_list args); +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); #endif