diff -r 74babc0082b7 -r 50505dc3f8a6 src/server/public/nsapi.h --- a/src/server/public/nsapi.h Sun May 26 12:12:07 2013 +0200 +++ b/src/server/public/nsapi.h Sun May 26 22:05:41 2013 +0200 @@ -1350,8 +1350,6 @@ -/* new macro and function definitions begin */ - /* netbuf functions */ NSAPI_PUBLIC netbuf *netbuf_open(SYS_NETFD sd, int sz); @@ -1379,12 +1377,14 @@ NSAPI_PUBLIC off_t system_lseek(SYS_FILE fd, off_t offset, int whence); NSAPI_PUBLIC int system_fclose(SYS_FILE fd); +/* new macro and function definitions begin */ + NSAPI_PUBLIC int util_errno2status(int errno_value); // new #define util_errno2status util_errno2status // threadpool -threadpool_t* threadpool_new(int n); +threadpool_t* threadpool_new(int min, int max); void* threadpool_func(void *data); threadpool_job* threadpool_get_job(threadpool_t *pool); void threadpool_run(threadpool_t *pool, job_callback_f func, void *data);