summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-01-12 17:32:21 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-01-12 17:32:21 +0100
commit2c453343ba6b3d3e67478c2e4c43f58a25cfda77 (patch)
treebac2614be56059589b2af10f6f54b77924f6e339
parentda4b7944b72d753d6433976ee0d9869e27266f9a (diff)
downloadwolfbones-2c453343ba6b3d3e67478c2e4c43f58a25cfda77.tar.gz
wolfbones-2c453343ba6b3d3e67478c2e4c43f58a25cfda77.tar.bz2
added TODO file for libwolf_daemon.a
-rw-r--r--docs/daemon/TODOS6
-rw-r--r--include/wolf/errors.h2
-rw-r--r--include/wolf/port/string.h2
3 files changed, 9 insertions, 1 deletions
diff --git a/docs/daemon/TODOS b/docs/daemon/TODOS
new file mode 100644
index 0000000..5078f11
--- /dev/null
+++ b/docs/daemon/TODOS
@@ -0,0 +1,6 @@
+- Sanitize public header files
+ - Check how much of signals.h should really leak up to the testd.c
+ - What exactly should be in libwolf_port.a? strdup, stdbool, snprintf
+ for sure. What about lockf? The answer is: it depends :-)
+ - log.h must be cleaned heavily
+ - all header files must be documented properly
diff --git a/include/wolf/errors.h b/include/wolf/errors.h
index 282654b..6c42438 100644
--- a/include/wolf/errors.h
+++ b/include/wolf/errors.h
@@ -6,7 +6,7 @@ extern "C" {
#endif
/**
- * @brief Possible error codes of the various libwolf functions
+ * @brief Possible error codes of the various libwolf libraries.
*/
typedef enum {
WOLF_OK = 0, /**< no error, everything is fine */
diff --git a/include/wolf/port/string.h b/include/wolf/port/string.h
index 89b331d..a28e9b1 100644
--- a/include/wolf/port/string.h
+++ b/include/wolf/port/string.h
@@ -8,6 +8,8 @@
#ifdef HAVE_STRDUP
#else
#error Define a stub for strdup first!
+#define stdrup wolf_strdup
+extern char *wolf_strdup( const char * );
#endif
#include <strings.h>