summaryrefslogtreecommitdiff
path: root/nuttx/netutils/thttpd/libhttpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/netutils/thttpd/libhttpd.h')
-rw-r--r--nuttx/netutils/thttpd/libhttpd.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/nuttx/netutils/thttpd/libhttpd.h b/nuttx/netutils/thttpd/libhttpd.h
index a2f2e25f2..2a2afdaf0 100644
--- a/nuttx/netutils/thttpd/libhttpd.h
+++ b/nuttx/netutils/thttpd/libhttpd.h
@@ -65,9 +65,6 @@
# define MIN(a,b) ((a) < (b) ? (a) : (b))
#endif
-#define NEW(t,n) ((t*) malloc( sizeof(t) * (n) ))
-#define RENEW(o,t,n) ((t*) realloc( (void*) o, sizeof(t) * (n) ))
-
/* Enable special instrumentation to track down "400 Bad Request" problems */
#undef CONFIG_THTTPD_BADREQUEST /* Define to enable "Bad Request" instrumentation */
@@ -327,10 +324,6 @@ extern const char httpd_err408form[];
extern const char *httpd_method_str(int method);
-/* Reallocate a string. */
-
-extern void httpd_realloc_str(char **strP, size_t *maxsizeP, size_t size);
-
/* Format a network socket to a string representation. */
extern char *httpd_ntoa(httpd_sockaddr * saP);
@@ -343,14 +336,6 @@ extern void httpd_set_ndelay(int fd);
extern void httpd_clear_ndelay(int fd);
-/* Generate debugging statistics syslog message. */
-
-#if defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_NET)
-extern void httpd_logstats(long secs);
-#else
-# define httpd_logstats(secs)
-#endif
-
/* Read to requested buffer, accounting for interruptions and EOF */
extern int httpd_read(int fd, const void *buf, size_t nbytes);