diff options
author | norly <ny-git@enpas.org> | 2012-02-14 01:27:32 +0000 |
---|---|---|
committer | norly <ny-git@enpas.org> | 2012-02-14 01:27:32 +0000 |
commit | 504ab94abcd8209ce96bcb747db7536f9d49c083 (patch) | |
tree | d8ddffea203769f5460348f74ac85c63c33c3f7e /statuses/tools.h | |
parent | 38a130597b1f52028f7df79ab5f348dc306afa85 (diff) |
Cleaned up 'netif'.
Replaced 'netif' with 'netif_named'.
Fixed memory leak in new 'netif'.
Outsourced raw file reading to tools.c.
Diffstat (limited to 'statuses/tools.h')
-rw-r--r-- | statuses/tools.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/statuses/tools.h b/statuses/tools.h index 1b9f344..802b9f1 100644 --- a/statuses/tools.h +++ b/statuses/tools.h @@ -2,6 +2,8 @@ #ifndef __TOOLS_H__ #define __TOOLS_H__ -char powertochar(int power); +char powerToChar(int power); +void statusError(char *where, char *what, char *extra); +ssize_t fileRead(char *buf, size_t bufsize, char *file); #endif |