Revert "Implementation of HTTPD protocol, gwbuf properties and a dmeo web application"

This reverts commit 6fd5dff34902051f38932947493280e1e62dbeb1.
This commit is contained in:
Mark Riddoch
2014-07-15 17:53:39 +01:00
parent 6fd5dff349
commit 87e66a0ea8
14 changed files with 178 additions and 908 deletions

View File

@ -1171,28 +1171,3 @@ serviceGetWeightingParameter(SERVICE *service)
{
return service->weightby;
}
/**
* Iterate over the services, calling a function per call
*
* @param fcn The function to call
* @param data The data to pass to each call
*/
void
serviceIterate(void (*fcn)(SERVICE *, void *), void *data)
{
SERVICE *service, *next;
spinlock_acquire(&service_spin);
service = allServices;
while (service)
{
next = service->next;
spinlock_release(&service_spin);
(*fcn)(service, data);
spinlock_acquire(&service_spin);
service = next;
}
spinlock_release(&service_spin);
}